Skip to content

refactor: rename /chat route to /app#7711

Merged
raunakab merged 12 commits intomainfrom
search
Jan 28, 2026
Merged

refactor: rename /chat route to /app#7711
raunakab merged 12 commits intomainfrom
search

Conversation

@raunakab
Copy link
Copy Markdown
Contributor

@raunakab raunakab commented Jan 23, 2026

Description

  • Rename /web/src/app/chat directory to /web/src/app/app
  • Update all route references from /chat to /app
  • Update all import paths from @/app/chat to @/app/app
  • Add backwards compatibility redirects in next.config.js

How Has This Been Tested?

Application still works after light QA. More to be done.

Additional Options

  • [Required] I have considered whether this PR needs to be cherry-picked to the latest beta branch.
  • [Optional] Override Linear Check

Summary by cubic

Renamed the primary app route from /chat to /app and migrated the codebase to the new path. Added permanent redirects so existing /chat links continue to work.

  • Refactors

    • Moved web/src/app/chat to web/src/app/app.
    • Updated all routes, links, and imports from /chat → /app and @/app/chat → @/app/app.
    • Adjusted admin pages, NRF flows, and tests to the new path.
    • Kept functionality unchanged.
  • Migration

    • No manual steps. /chat and /chat/:path* permanently redirect to /app and /app/:path*.

Written for commit f89baa4. Summary will update on new commits.

raunakab and others added 2 commits January 23, 2026 09:23
- Rename src/app/chat/ directory to src/app/app/
- Update all route references from /chat to /app
- Update all import paths from @/app/chat/ to @/app/app/
- Add backwards compatibility redirects in next.config.js

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@raunakab raunakab requested a review from a team as a code owner January 23, 2026 21:48
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Jan 23, 2026

Too many files changed for review. (174 files found, 100 file limit)

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 174 files

Note: This PR contains a large number of files. cubic only reviews up to 75 files per PR, so some files may not have been reviewed.

@raunakab raunakab changed the title refactor: rename /chat route to /app refactor: rename /chat route to /app Jan 23, 2026
@raunakab raunakab enabled auto-merge January 25, 2026 04:46
raunakab and others added 2 commits January 24, 2026 20:51
Update all e2e test files to use the new /app route instead of /chat.
This follows the route rename in commit b796c91.

Changes:
- Updated page.goto("/chat") to page.goto("/app")
- Updated waitForURL patterns for /app routes
- Updated URL assertions and includes() checks
- Preserved /api/chat/* API endpoint references (unchanged)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@raunakab raunakab added this pull request to the merge queue Jan 25, 2026
@raunakab raunakab removed this pull request from the merge queue due to a manual request Jan 25, 2026
@raunakab raunakab added this pull request to the merge queue Jan 28, 2026
Merged via the queue into main with commit e426ca6 Jan 28, 2026
82 of 85 checks passed
@raunakab raunakab deleted the search branch January 28, 2026 21:07
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.

2 participants