Skip to content

feat(emoji): toggle beside the alphabet picker — both surfaces - #67

Merged
willwade merged 1 commit into
mainfrom
feat/emoji-toggle-placement
Sep 19, 2026
Merged

willwade merged 1 commit into
mainfrom
feat/emoji-toggle-placement

Conversation

@willwade

Copy link
Copy Markdown
Contributor

What

Moves the emoji toggle out of the IME editing strip and adds it to app mode:

  • IME: 😀 now sits in the Float/Hide top bar (Float | 😀 | Hide) — the editing strip goes back to being a pure edit-action row (←/→/⌫/Sel/Cp/Ps)
  • App mode: 😀 toggle in the bottom StatusBar, immediately left of the alphabet picker — the placement Heide's feedback pointed at. Shown only when the engine ships the Emoji alphabet (DasherCore b00a4c8a, bumped in chore: bump DasherCore to b00a4c8a — Emoji alphabet #66)

Behaviour (shared)

Toggle → Emoji alphabet, remember the previous one; toggle again → restore. The return alphabet lives in the shared dasher_ime prefs, so toggling in the app and restoring in the IME (or vice versa) works. App-mode toggles pin the alphabet choice like any explicit picker selection.

Testing

  • compileDebugKotlin, unit tests, lint — clean
  • Manual: IME top bar shows Float/😀/Hide; 😀 switches tree, Abc restores + re-anchors; app bottom bar shows 😀 left of picker

Refs #61.

Placement feedback: the 😀 toggle was IME-only and crowding the editing
strip (7 buttons). Mode switches belong with mode controls:

- IME: 😀 moves from the editing strip into the Float/Hide top bar
  (Float | 😀 | Hide). EditingToolbar reverts to a pure edit-action row
  (its onToggleEmoji param and emoji state helpers are removed).
- App mode: new toggle in the StatusBar bottom row, immediately left of
  the alphabet picker (Windows-style bar convention) — shown only when
  the engine reports the Emoji alphabet. Same remember/restore logic as
  the IME, sharing the return alphabet via dasher_ime prefs so toggling
  in one surface restores correctly in the other. Explicit choice pins
  the alphabet (same as a picker selection).

Refs #61.

Signed-off-by: will wade <willwade@gmail.com>
@willwade
willwade merged commit fd9cb3a into main Sep 19, 2026
2 checks passed
@willwade
willwade deleted the feat/emoji-toggle-placement branch September 19, 2026 08:00
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