eb6f73ff40fee95d8079d30c251f2afac8388c33
Two faults, and the visible symptom of both was the same: type a new title, press enter, watch it snap back unchanged. The rename 404'd. `useClaudeSessions()` was called with no cwd, so the PATCH went without `?cwd=` and the server searched the default group — `findTranscript(email, cwd, id)` scopes by directory, so every conversation living in a project was unfindable. Only chats in the default group could ever have been renamed. The pane now passes the session's own cwd, as the list already did. And the title it displayed could not have changed even on success. It came from `selected.title`, which rides the `chat:selected-session` channel — published once when a row is clicked and never updated — so the invalidation refreshed the row underneath while the header kept the old name. The title is now resolved once in `ChatDetailPanel` from the sessions query and passed down, so the pane, the page title and the row are one source. Renaming from the list's pencil retitles an open pane too, which it never did before. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
42 MiB
Languages
TypeScript
90.9%
Shell
4.7%
JavaScript
4.1%
CSS
0.2%
HTML
0.1%