improvement(chat): speed up conversation navigation - #7011
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Sidebar chat rows now use History fetch no longer falls through to the legacy copilot alias except on 404. Mark-as-read uses the conditional Reviewed by Cursor Bugbot for commit b7e2669. Configure here. |
Greptile SummaryThe PR accelerates conversation switching by retaining the current chat while deliberate navigation intent warms the destination route and its shared transcript query.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/chat-navigation-link/chat-navigation-link.tsx | Implements deliberate-intent route and transcript prefetching, including the quick-click and completed-touch paths requested by the prior review. |
| apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/chat-navigation-link/chat-navigation-link.test.tsx | Covers hover dwell, cancellation, keyboard focus, quick pointer activation, nested controls, current-route suppression, and route-role changes. |
| apps/sim/hooks/queries/mothership-chats.ts | Centralizes transcript query options and restricts the legacy alias fallback to canonical endpoint 404 responses. |
| apps/sim/app/workspace/[workspaceId]/home/hooks/use-chat.ts | Exposes history pending state from the same query consumed by the chat lifecycle. |
| apps/sim/app/workspace/[workspaceId]/chat/[chatId]/loading.tsx | Removes the route-level loading boundary so the existing conversation remains visible while an intent-prefetched peer destination resolves. |
Reviews (3): Last reviewed commit: "fix(chat): preserve quick-click prefetch..." | Re-trigger Greptile
|
@cursor review |
bdb0a2f to
b7e2669
Compare
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b7e2669. Configure here.
Summary
Type of Change
Testing
bun run type-checkbun run lintbun run lint:checkbun run check:auditsbun run check:api-validation:strictNotes