Skip to content

feat(ui): rename Line/Lines to Call/Calls in calls page#620

Merged
Saelmala merged 8 commits intomainfrom
frontend/rename-lines-to-calls
Apr 7, 2026
Merged

feat(ui): rename Line/Lines to Call/Calls in calls page#620
Saelmala merged 8 commits intomainfrom
frontend/rename-lines-to-calls

Conversation

@LucasMaupin
Copy link
Copy Markdown
Contributor

Summary

  • Rename the /lines URL path to /calls in App.tsx and call-url.ts so the route is consistent with the "Calls" terminology used throughout the app
  • Update page title, confirmation modal copy, and header actions in calls-page.tsx to say "Calls" instead of "Lines"
  • Rename "Join Production" button label to "Join Call" in join-production.tsx
  • Update remaining UI strings in exit-call-button.tsx, settings-modal.tsx, and share-line-link-modal.tsx to use Call/Calls terminology
  • Update use-calls-navigation.test.ts and call-url.test.ts to reflect the new /calls path

Test plan

  • Tests pass (npm test in intercom-frontend/)
  • TypeScript compiles (npm run typecheck)
  • Lint clean (npm run lint)
  • Navigating to /lines no longer matches a route (falls through to error page or redirects)
  • Navigating to /calls loads the calls page correctly
  • Shared call links (built via buildCallsUrl) use /calls?lines=... path
  • Confirmation modal when leaving all calls shows updated "leave all calls" copy
  • "Join Call" button visible and functional on the landing page

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

@birme
Copy link
Copy Markdown
Contributor

birme commented Apr 1, 2026

I think we need to handle redirect for a while if there are some links being reused out there...

LucasMaupin and others added 6 commits April 1, 2026 17:46
…→ /calls rename

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Auto-fix two prettier formatting errors in App.tsx: import list
multi-line formatting and JSX attribute inline style.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- share-and-modals.spec.ts: getByText("Share Lines") to getByText("Share Calls")
- calls-page.spec.ts: test description "shows Lines header" to "shows Calls header"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment thread src/utils/call-url.ts
export function buildCallsUrl(calls: CallRef[], companionUrl?: string): string {
const base =
calls.length === 0 ? "/lines" : `/lines?lines=${encodeCallsParam(calls)}`;
calls.length === 0 ? "/calls" : `/calls?lines=${encodeCallsParam(calls)}`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it instead of /calls?lines=... be /calls?calls=... ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

@Saelmala Saelmala merged commit e7e385d into main Apr 7, 2026
6 checks passed
@Saelmala Saelmala deleted the frontend/rename-lines-to-calls branch April 7, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants