Skip to content

fix: keep chat history actions visible - #62

Merged
klioen merged 1 commit into
mainfrom
fix/chat-history-actions
Oct 17, 2026
Merged

klioen merged 1 commit into
mainfrom
fix/chat-history-actions

Conversation

@klioen

@klioen klioen commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Give Chat history more room and keep its delete action visible when a session title is too long for the popover row.

Changes

  • Increase the responsive popover width from 360px to 420px.
  • Let the primary history item flex into the row's remaining width instead of claiming width: 100% beside the delete button.
  • Keep the item shrinkable with min-width: 0, preserving the existing ellipsis behavior for long titles.
  • Keep the delete action non-shrinking and add a CSS contract regression test.
  • Document the user-visible fix in CHANGELOG.md.

Risk and boundaries

  • Regression risk: Low. This is a localized CSS flex-layout correction with no behavior, persistence, IPC, or security-boundary changes.
  • Rollback: Revert this PR.

Verification

pnpm vitest run src/styles/themeTokens.test.ts src/features/chat/ChatHistory.test.tsx
# 2 files, 15 tests passed

pnpm check
# 68 files, 454 tests passed; release tests passed

git diff --check HEAD
# passed
  • Tests cover the layout contract.
  • No dependency or generated artifact changes.
  • No credential, privacy, filesystem, Git, or IPC boundary changes.

@klioen
klioen force-pushed the fix/chat-history-actions branch from 23cdc5e to bc770e8 Compare October 17, 2026 09:18
@klioen
klioen merged commit dd7c29f into main Oct 17, 2026
7 of 8 checks passed
@klioen
klioen deleted the fix/chat-history-actions branch October 17, 2026 09:31
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