-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[scheduler]Add an option to show/hide the weekends #19053
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
[scheduler]Add an option to show/hide the weekends #19053
Conversation
…whide-the-week-end
Deploy preview: https://deploy-preview-19053--material-ui-x.netlify.app/ Bundle size report
|
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.
Looking good 🎉 Left a small styling suggestion and raised a point that we could discuss 👌
.../x-scheduler/src/material/internals/components/header-toolbar/settings-menu/SettingsMenu.tsx
Outdated
Show resolved
Hide resolved
…whide-the-week-end
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.
Sorry, I meant to update this icon as well, but I forgot 🙈
.../x-scheduler/src/material/internals/components/header-toolbar/settings-menu/SettingsMenu.tsx
Outdated
Show resolved
Hide resolved
…toolbar/settings-menu/SettingsMenu.tsx Co-authored-by: Nora <[email protected]> Signed-off-by: Rita <[email protected]>
…whide-the-week-end
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…yled-add-an-option-to-showhide-the-week-end
…whide-the-week-end
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.
Looking good to me 💙 Thanks for your great work on this!
Issue #18367
In this PR:
HeaderToolbar
. Adjust the styles to account for cases where the middle buttons are centered, and when they are aligned to the end (when theViewSwitcher
is not present).ViewSwitcher
styles, but this can be adjusted based on @noraleonte 's inputBonus: 🧹
AgendaView
accessibilityNot in this PR:
Demo with middle buttons centered
https://github.com/user-attachments/assets/98517ffd-6c7c-4a93-a588-809a64de0f54
Demo with the buttons aligned to the end
https://github.com/user-attachments/assets/2a0b98ef-c0de-4a2b-b68c-e39dfc0d592f