7 Commits

Author SHA1 Message Date
Jiayuan
bd20699c90 fix: allow scrolling in chatview during agent generation
Prevent auto-scroll from blocking user scroll interactions by only
scrolling when user is already near the bottom. Track scroll position
to detect if user has manually scrolled away from the bottom.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-16 00:09:09 +08:00
Jiayuan
5da94070e7 feat: prevent folder modification after session creation
Once a session is created and bound to a working directory, users should not be able to modify the folder. Removed the folder indicator button from MessageInput component that previously allowed changing folders. Users who want a different folder should create a new session via ChatView's "Browse folder" button.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 18:56:10 +08:00
Jiang Bohan
a29ef8530a chore: update package-lock.json
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 16:41:36 +08:00
Jiayuan
3fdd38a3a9 feat: add DropdownMenu UI component
Add Radix UI based dropdown menu component for use in AgentSelector.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:32:13 +08:00
Jiayuan
536d588448 fix: preserve newlines in user messages
Add whitespace-pre-wrap CSS class to user message bubble so that multi-line input is correctly rendered with preserved line breaks instead of collapsed to single space.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 12:12:01 +08:00
Jiayuan
48db31df3d refactor(ui): improve typography and spacing in chat interface
- Increase main message content font size to 15px for better readability
- Remove prose-sm constraint for larger markdown rendering
- Change input textarea default to 2 rows with text-sm font
- Remove divider line between textarea and toolbar
- Add hover tooltips to folder and send buttons
- Increase horizontal padding (px-6) for better spacing around messages
2026-01-15 02:39:14 +08:00
Jiayuan
b5b8e66698 refactor(sidebar): improve session list UX and organization
- Add two-line session display with title on line 1 and agent/timestamp on line 2
- Include short session ID in title to distinguish sessions in same folder
- Remove status indicator dot for cleaner visual hierarchy
- Show agent name and last updated time as plain text (no badge)
- Update Settings button to ghost variant with better hover state
- Show working directory path in tooltip instead of redundant info

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 02:18:43 +08:00