Feat/3334 show times in timezones for bookingpage#4971
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@JeroenReumkens I just tested it and it shows +1, even when it is the same day: |
|
@CarinaWolli Thanks for testing!! Very weird, I will check it! 🙏 |
|
@JeroenReumkens I was testing it in https://cal-auu1mnfp0-cal.vercel.app/bookings/upcoming and clicking in the popover was actually sending me to the booking success page 🤔 |
|
@JeroenReumkens let's also do a self-review from now. |
| const location = booking.location || ""; | ||
|
|
||
| const onClick = () => { | ||
| const onClickTableData = (ev: React.MouseEvent<HTMLDivElement>) => { |
There was a problem hiding this comment.
@JeroenReumkens Renamed to better understanding and don't collide with onClick.
There was a problem hiding this comment.
@alannnc Cool! Main reason I added it in here instead of the default behavior of the Popover is because the click behavior is actually something the BookingListItem tries to control, and not something the Popover should know about. But I sticked with your suggestion and added it to the tooltip button as well. Abstracted it to a function to so I could add a comment as to why this is needed 👍
…-show-times-in-timezones-for-bookingpage
Co-authored-by: alannnc <alannnc@gmail.com>
…click bubbling to row click.
…as per their own instructions.
… compared agains a date instead of time. Also improved sortbytimezone util by making use of utcoffset helper from dayjs.
|
Fixes mentioned in PR are done. Also make the @CarinaWolli There indeed was a bug in comparing prev / next day 🙏 Thanks so much for discovering this. This is fixed now. Could you please retest it? @leog Clicking the popup content now doesn't redirect you to the detail page anymore 😄 Thanks for spotting that, I actually only tested clicking the button, not the content I realised! Could you please retest? @alannnc I reverted your date format change for #5050 as you told me to. I did NOT revert all the other changes in that PR, was that actually the plan? Thanks all! |
Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Alan <alannnc@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Alan <alannnc@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>



What does this PR do?
Adds a popup/tooltip to view the meeting time in the different timezones of all attendees.
Behaviour:
Fixes #3334
https://www.loom.com/share/2caee7c38aa74a588f83ccec9af5672b
Environment: Staging(main branch)
Type of change
How should this be tested?