-
Notifications
You must be signed in to change notification settings - Fork 432
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(structure): update TimelineItem to match new UI, prepare for chunks #7449
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Sep 2, 2024 8:20 AM (UTC) ✅ All Tests Passed -- expand for details
|
|
||
/** The aria label for the menu button in the timeline item */ | ||
'timeline-item.menu-button.aria-label': 'Open action menu', | ||
/** The text for the tooltip in menu button the timeline item */ | ||
'timeline-item.menu-button.tooltip': 'Actions', | ||
/** The text for the expand action in the timeline item menu */ | ||
'timeline-item.menu.action-expand': 'Expand', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This are placeholder, text value is not definitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might worth adding a todo
in the code so it's easier to find :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks so much nicer!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's goooo, fantastic work!
I left a comment because removing a lot of props from a element make me a bit nervous but everything worked as intended
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
…nks (#7449) * feat(structure): update TimelineItem to match new UI, prepare for chunks * chore(core): export getCalendarLabels to support DateTimeInput reusability
Description
Updates the TimelineItem component to match the new UI.
It also adds placeholders for chunks , collaborators and menu.
A story has been added showing the changes for easier review and testing, you can find it here https://test-studio-git-corel-144.sanity.dev/test/workshop/structure;panes;documentTimelineMenu;timelineItem?scheme=light
What to review
Open a document history, does it looks as expected?
Testing
No new testing has been added, existing tests cover this functionality, when moving further, e2e tests will be included to validate the history squash
Notes for release
n/a