chore: preserve non-org dashboard for platform users#16181
Conversation
Graphite Automations"Add foundation team as reviewer" took an action on this PR • (08/13/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add platform team as reviewer" took an action on this PR • (08/13/24)1 reviewer was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
Looks like a clean solution but it will need some more work to ensure all links are working fine. Because we use other endpoints too to identify the organization, we will have to handle there as well.
I am not sure of a clean approach to handle it but it would be messy to make things behave like not an org when it is an org technically.
EventType Booking page isn't working: https://www.loom.com/share/62183473398f4027a2d1d49b60490634
I am fine merging it and taking care of other things in a followup though.
Hey Hariom, I have a new commit that I will push soon hopinh to fix all the links at once |
981b9d3
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
…m into fix-dashboard-for-platform
…/cal.com into fix-dashboard-for-platform
…m into fix-dashboard-for-platform
E2E results are ready! |
zomars
left a comment
There was a problem hiding this comment.
LGTM. left a non blocking change
| "x", | ||
| "zap", | ||
| "blocks", | ||
| ]); |
There was a problem hiding this comment.
@ThyMinimalDev lets sort this alphabetically as well 🙏
| select: publicEventSelect, | ||
| }); | ||
|
|
||
| // If no event was found, check for platform org user event |
There was a problem hiding this comment.
// If no event was found, check for platform org's unmanaged user 's events
What does this PR do?
Preserve regular dashboard for platform users since they don't have custom domains
Screen.Recording.2024-08-13.at.13.08.10.mov
In order to preserve the dashboard with minimal change, we try to exclude the platform org profiles when it's not necessary
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?