-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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: Overlay my calendar default behaviour #18155
base: main
Are you sure you want to change the base?
feat: Overlay my calendar default behaviour #18155
Conversation
Deployment failed with the following error:
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details:
|
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (12/13/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (12/13/24)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (12/13/24)1 label was added to this PR based on Keith Williams's automation. |
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.
LGTM!!
E2E results are ready! |
@@ -20,7 +20,7 @@ export function OverlayCalendarSwitch({ enabled, hasSession, onStateChange }: Ov | |||
(state) => state.setCalendarSettingsOverlayModal | |||
); | |||
const layout = useBookerStore((state) => state.layout); | |||
const switchEnabled = enabled; | |||
const switchEnabled = hasSession || enabled; |
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 is enabled, but does it overlay the calendar? Please share a Loom with the connected calendar
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.
Just a thought – by setting this as const switchEnabled = hasSession || enabled;, wouldn't it always return true for signed-in users, potentially causing the button to never close visually?
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 is enabled, but does it overlay the calendar? Please share a Loom with the connected calendar
did exactly that here:
#18191
What does this PR do?
Loom Video: https://www.loom.com/share/a54582be13ce46249a4f9bc70dc98af3?sid=3e25eb68-d2d1-48e0-b91a-06185f94710b
Mandatory Tasks (DO NOT REMOVE)
Checklist