-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
fix: broken ui in edit location dialog issue #16013
Conversation
@anikdhabal is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add community label" took an action on this PR • (07/31/24)1 label was added to this PR based on Keith Williams's automation. "Add consumer team as reviewer" took an action on this PR • (07/31/24)1 reviewer 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.
The code looks fine but in handleNewBooking we have this complex logic to set videoCallUrl
videoCallUrl =
metadata.hangoutLink ||
createdOrUpdatedEvent?.url ||
organizerOrFirstDynamicGroupMemberDefaultLocationUrl ||
getVideoCallUrlFromCalEvent(evt) ||
videoCallUrl;
we are updating metadata
in L131 in packages/trpc/server/routers/viewer/bookings/editLocation.handler.ts but not updating in booking table.
and we are not updating calendar event (evt) after
const updatedResult = await eventManager.updateLocation(evt, booking);
So I am not sure if
metadata: {
...(typeof booking.metadata === "object" ? booking.metadata : {}),
...(location.startsWith("http") ? { videoCallUrl: location } : {}),
},
would handle all the cases
This PR is being marked as stale due to inactivity. |
This PR is being marked as stale due to inactivity. |
Looks like the location change issue has been fixed, so we only need to fix the broken UI |
E2E results are ready! |
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist