feat(sessions): redesign conversation history with markdown, filters & export#1568
Open
lzhgus wants to merge 3 commits intofarion1231:mainfrom
Open
feat(sessions): redesign conversation history with markdown, filters & export#1568lzhgus wants to merge 3 commits intofarion1231:mainfrom
lzhgus wants to merge 3 commits intofarion1231:mainfrom
Conversation
…, filters, and export - Add markdown rendering (react-markdown + remark-gfm) with code blocks, tables, links - Add per-code-block copy button with language label - Add role-based message categorization with distinct icons (User, AI, Tool, System) - Add color-coded message backgrounds per role - Add collapsible messages with Show more/less for long content - Tool and System messages auto-collapse by default - Add message search within conversation - Add role filter dropdown with message counts - Add collapse/expand all toggle - Add export dropdown (copy all messages, export as Markdown) - Add i18n translations for all new features (en, zh, ja) - Fix DropdownMenuCheckboxItem/RadioItem pl-2 → pl-8 to prevent text overlap with indicator - Fix message content overflow behind TOC sidebar - Format existing files with Prettier Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Use `w-0` + `flex-1` on ScrollArea to enforce width constraint in flex layout - Add `word-break: break-word` and `overflow-wrap: anywhere` to markdown prose - Add `break-all` on links to prevent long URLs from overflowing - Add CSS-level overflow protection for pre, a, p, li, blockquote Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…apping Radix ScrollArea's Viewport renders an inner div with `display: table; min-width: 100%` which prevents text from wrapping — content expands the table-layout div instead. Override this with `display: block` via a scoped CSS selector on the messages scroll area. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesigns the Session Manager conversation history view for better readability and usability:
react-markdown+remark-gfmBug fixes included
DropdownMenuCheckboxItem/DropdownMenuRadioItemtext overlapping with check indicator (pl-2→pl-8)Before
After
Raw text dump with line numbers, no markdown rendering, no categorization.
Dependencies added
react-markdown^10.1.0remark-gfm^4.0.1Test plan
pnpm typecheckpassespnpm format:checkpassespnpm test:unitpasses (2 pre-existing failures in skills panel, unrelated)🤖 Generated with Claude Code