Skip to content

feat: UI improvements for session list#8

Merged
hay-kot merged 3 commits into
mainfrom
feat/ui-improvements
Dec 4, 2025
Merged

feat: UI improvements for session list#8
hay-kot merged 3 commits into
mainfrom
feat/ui-improvements

Conversation

@hay-kot

@hay-kot hay-kot commented Dec 4, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • Add git branch icon (nerd font) before branch name
  • Add blue left border indicator for selected items
  • Improve visual hierarchy: title uses terminal default color, selected items use blue
  • Display session prompt (truncated with ellipsis) below title
  • Make directory path and prompt text subtle (gray)
  • Fix bug where prompt wasn't saved when recycling sessions

Test plan

  • Run TUI and verify selected item has blue left border
  • Verify git branch shows icon prefix
  • Verify prompt displays below session name
  • Create session with prompt, recycle it, create new session - verify prompt updates

- Add git branch icon before branch name
- Make directory path subtle (gray)
- Reorder title to: name [status]
- Add blue left border for selected items
- Selected title matches border color
- Normal title uses terminal default color
- Add prompt line below title (truncated to 60 chars with ellipsis)
- Show "(no prompt)" for sessions without a prompt
- Fix bug: save prompt when recycling sessions
@hay-kot hay-kot force-pushed the feat/ui-improvements branch from 52754a9 to 00d444f Compare December 4, 2025 20:57
- Use rune-based truncation for proper UTF-8 handling
- Extract maxPromptDisplayLen constant
- Remove commented-out color definitions
- Fix inaccurate comment describing title format
@hay-kot hay-kot merged commit 59237f4 into main Dec 4, 2025
2 checks passed
@hay-kot hay-kot deleted the feat/ui-improvements branch December 4, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant