Skip to content

Preserve chat sessions per story - #7

Merged
brianlovin merged 1 commit into
mainfrom
brianlovin/preserve-chat-session
Jan 26, 2026
Merged

Preserve chat sessions per story#7
brianlovin merged 1 commit into
mainfrom
brianlovin/preserve-chat-session

Conversation

@brianlovin

Copy link
Copy Markdown
Owner

Summary

  • Saves and restores chat messages, suggestions, and follow-up count when switching between stories
  • Extracts StoryHeader component to reduce duplication between ChatPanel and StoryDetail
  • Updates settings shortcut from comma to Cmd+period for macOS convention

Features

  • Users can now maintain separate chat conversations for each story
  • Sessions persist when navigating to settings and back
  • Follow-up question counts are preserved per story

🤖 Generated with Claude Code

Save and restore chat messages, suggestions, and follow-up count when switching between stories or navigating to settings. This allows users to maintain multiple conversations with context per story.

- Add SavedChatSession interface to persist chat state
- Implement session save/restore in showChat() and hideChat()
- Save sessions before switching to settings view
- Extract StoryHeader component to reduce duplication between ChatPanel and StoryDetail
- Update settings shortcut from comma to Cmd+period for macOS convention

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@brianlovin
brianlovin merged commit 18e0235 into main Jan 26, 2026
1 check passed
@brianlovin
brianlovin deleted the brianlovin/preserve-chat-session branch January 26, 2026 02:58
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.

1 participant