Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 7, 2026

Summary

  • Add collapse/expand button to chat sidebar (like Claude's UI) for better space management
  • Fix iframe sandbox to allow external links to open in browser on desktop app
  • Add accessibility features: ARIA attributes, focus-visible styles
  • Persist collapsed state in localStorage

Changes

Chat sidebar (server/public/chat.html):

  • New collapse button positioned at sidebar edge
  • Collapsed state shows only icons (Home, New Chat buttons)
  • User preference persisted to localStorage
  • Proper ARIA attributes (aria-expanded, aria-controls, aria-label)
  • Focus-visible styles for keyboard navigation
  • Handles localStorage unavailability in private browsing

Desktop app (apps/desktop/dist/index.html):

  • Added allow-popups-to-escape-sandbox to iframe sandbox
  • External links now open in system browser

Test plan

  • Tested collapse/expand toggle functionality with Vibium browser
  • Verified collapsed state persists across page reloads
  • Tested responsive behavior at different viewport widths
  • All existing tests pass

🤖 Generated with Claude Code

- Add collapse/expand button to chat sidebar (like Claude's UI)
- Persist collapsed state in localStorage
- Fix iframe sandbox to allow external links to open in browser
- Add proper ARIA attributes for accessibility
- Add focus-visible styles for keyboard navigation
- Handle localStorage unavailability in private browsing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit a5998bb into main Jan 7, 2026
6 checks passed
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.

2 participants