Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(DocPage): Add updatedAt meta #198

Merged
merged 11 commits into from
Jan 17, 2024
Merged

Conversation

Feverqwe
Copy link
Contributor

@Feverqwe Feverqwe commented Jan 15, 2024

Add support updateAt field from meta

@Feverqwe Feverqwe requested a review from 3y3 January 15, 2024 17:55
}

const UpdatedAtDate: React.FC<UpdatedAtDateProps> = (props) => {
const {updatedAt, translationName = 'updated-at-date'} = props;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем давать возможность переопределять этот ключ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему то тоже самое мы позволяем делать в Contributors
https://github.com/diplodoc-platform/components/blob/master/src/components/Contributors/Contributors.tsx
Уберу

@@ -0,0 +1,10 @@
@import '../../styles/mixins';

.updated-at-date {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.updated-at-date {
.dc-updated-at-date {

@Feverqwe Feverqwe force-pushed the rndnm/CLOUDFRONT-16635/updatedAt branch from bde8e24 to 241360e Compare January 16, 2024 17:17
@Feverqwe Feverqwe requested a review from 3y3 January 17, 2024 03:50
@Feverqwe Feverqwe requested a review from yndx-birman January 17, 2024 14:23
@Feverqwe Feverqwe merged commit ee421ab into master Jan 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants