Skip to content

feat(web-ui): model selector token usage and chat input shortcuts#391

Merged
GCWing merged 2 commits intomainfrom
gcwing/dev
Apr 12, 2026
Merged

feat(web-ui): model selector token usage and chat input shortcuts#391
GCWing merged 2 commits intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Apr 12, 2026

Summary

  • Model selector: context token usage % on trigger; tooltip merges provider and token counts; warning/critical styles.
  • Chat input: global keydown uses capture phase; token row passes counts into ModelSelector (removes separate TokenUsageIndicator).
  • Shortcuts: remove duplicate Space activateInput from container and registry; ChatPane sets data-shortcut-scope for chat.
  • App: block browser Ctrl/Cmd+F and Ctrl/Cmd+R in the web shell.
  • Settings: font sizes use theme tokens in SettingsNav.

Testing

  • Manual smoke recommended for model selector, chat focus, and shortcuts.

GCWing added 2 commits April 12, 2026 18:01
- Show context usage % in ModelSelector; inline token tooltip

- Use capture phase for global chat keydown; remove Space activateInput shortcut duplication

- Block browser Ctrl/Cmd+F and R; scope ChatPane for shortcuts

- Settings nav font-size tokens; remove separate TokenUsageIndicator
@GCWing GCWing merged commit 126f7f0 into main Apr 12, 2026
4 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.

1 participant