2
0
Fork 0

feat: use esc instead of alt in the mobile toolbar #29

Merged
aleksei merged 3 commits from feat/esc-shortcut into main 2026-11-03 23:39:56 +00:00
Owner

Summary

Replaces the mobile toolbar's Alt slot with Esc.

  • New order: Esc, Ctrl, Tab, Backspace, Enter, arrow pad, keyboard,
    compose, sessions.
  • Esc sends \x1b.
  • Removed the unused Alt state, latch handling and input prefixing.
  • Updated README and the UI ADR.

Verification

  • npm run build
  • npm run typecheck
  • dprint check
  • git diff --check

The portal was not rebuilt or restarted.

## Summary Replaces the mobile toolbar's `Alt` slot with `Esc`. - New order: `Esc`, `Ctrl`, `Tab`, `Backspace`, `Enter`, arrow pad, keyboard, compose, sessions. - `Esc` sends `\x1b`. - Removed the unused `Alt` state, latch handling and input prefixing. - Updated README and the UI ADR. ## Verification - `npm run build` - `npm run typecheck` - `dprint check` - `git diff --check` The portal was not rebuilt or restarted.
Author
Owner

cd8010f fixes the size mismatch: Esc was plain button text using the SlotButton default, while Ctrl was explicitly wrapped in <Text fontSize="2xs">. Esc now uses the same 2xs label as Ctrl.

`cd8010f` fixes the size mismatch: `Esc` was plain button text using the `SlotButton` default, while `Ctrl` was explicitly wrapped in `<Text fontSize="2xs">`. `Esc` now uses the same `2xs` label as `Ctrl`.
Author
Owner

8c731e9 adjusts the mobile toolbar glyphs:

  • Tab, Enter and the arrow-pad glyph now use fontSize="lg" instead of the default button size.
  • The compose pencil is replaced by a new TextInputIcon — a rounded input field with two text lines.
`8c731e9` adjusts the mobile toolbar glyphs: - `Tab`, `Enter` and the arrow-pad glyph now use `fontSize="lg"` instead of the default button size. - The compose pencil is replaced by a new `TextInputIcon` — a rounded input field with two text lines.
aleksei deleted branch feat/esc-shortcut 2026-11-03 23:39:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/mux-portal!29
No description provided.