fix(ui): change phone booking display from Organizer Phone Number to Phone Call (#27636)
* fix(ui): change phone booking display from Organizer Phone Number to Phone Call The label \"Organizer Phone Number\" was confusing for attendees on the booking page, as it exposed internal terminology. Replaced with the more user-friendly \"Phone Call\" label across the booking UI, companion app, and test assertions. Closes #13010 * fix: remove duplicate phone_call i18n key The phone_call key already existed in en/common.json (line 1685, Cal.ai Voice Agent section). Removed the duplicate entry we added. Found by ai-codex review.
This commit is contained in:
1 parent
a8ede7761f
commit
a71d62dc33
6 files changed
+9
-9
No files matched your search
@@ -47,7 +47,7 @@ vi.mock("@calcom/features/form/components/LocationSelect", () => {
|
||||
});
|
||||
|
||||
const AttendeePhoneNumberLabel = "Attendee phone number";
|
||||
const OrganizerPhoneLabel = "Organizer phone number";
|
||||
const OrganizerPhoneLabel = "Phone call";
|
||||
const CampfireLabel = "Campfire";
|
||||
const ZoomVideoLabel = "Zoom Video";
|
||||
const OrganizerDefaultConferencingAppLabel = "Organizer's default app";
|
||||
@@ -202,7 +202,7 @@ describe("EditLocationDialog", () => {
|
||||
});
|
||||
|
||||
describe("Team Booking Case", () => {
|
||||
it("should not show Attendee Phone Number but show Organizer Phone Number and dynamic link Conferencing apps", async () => {
|
||||
it("should not show Attendee Phone Number but show Phone Call option and dynamic link Conferencing apps", async () => {
|
||||
render(<EditLocationDialog {...mockProps} booking={{ location: "Office" }} teamId={1} />);
|
||||
|
||||
expect(screen.queryByText(AttendeePhoneNumberLabel)).not.toBeInTheDocument();
|
||||
|
||||
Reference in new issue
Block a user