Skip to content

W-436: Trigger picker fixes — Quick Access ?, glyph-only labels, custom field#151

Merged
wr merged 3 commits into
mainfrom
wells/w-436-trigger-picker-fixes-quick-access-marker-glyph-only-labels
Jun 26, 2026
Merged

W-436: Trigger picker fixes — Quick Access ?, glyph-only labels, custom field#151
wr merged 3 commits into
mainfrom
wells/w-436-trigger-picker-fixes-quick-access-marker-glyph-only-labels

Conversation

@wr

@wr wr commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Three fixes to the shared trigger picker (Settings ▸ General).

What's in it

  • Quick Access ? marker — Quick Access opens are <char>? (the trailing ? is what the state machine's pill / escape-restore keys off, via quickAccessRestoreChar = qa.open.last). The picker now shows/sets presets as <char>? (##?), and normalize() appends ? to any non-follow Quick Access open — migrating existing bare configs (##?).
  • Glyph-only labels — dropped the "Colon"/"Semicolon"/etc. names; the trigger dropdowns show just the glyph. The Quick Access menu also hides the preset that would duplicate the "follow emoji" row (::?).
  • Recorder-style custom field — the "Custom…" trigger input is restyled to match the global-shortcut recorder box (rounded field, native input look, clear button, accent border while editing) while staying free-text.

Test plan

  • Quick Access dropdown shows :? (follow), ;?, /?, !?, #?; no human names; no duplicate :?.
  • Picking a Quick Access preset stores <char>?; existing bare configs migrate on load.
  • Emoji / Symbols / GIF dropdowns unchanged (bare glyph, no ?).
  • "Custom…" opens a recorder-styled field that accepts free text, clears via ✗, highlights while editing.
  • Unit suite green (added a normalize() non-follow test).

Review

Independent code review: no high-confidence issues. Confirmed ?-suffix consistency across normalize(), the matcher, the state machine, the picker (value/label/disabled/customMode seeding), and the Esc-restore path; no regression for the non-Quick-Access modes.

Refs W-436

…om field

- Quick Access opens carry the `?` marker everywhere: the picker shows/sets
  presets as `<char>?` (`#` → `#?`), and normalize() appends `?` to any
  non-follow Quick Access open (migrating existing bare configs). The `?` is
  what the state machine's pill / escape-restore keys off.
- Drop the "Colon"/"Semicolon"/… names from the trigger dropdowns; options
  show just the glyph. The Quick Access menu also hides the preset that would
  duplicate the "follow emoji" row (`:` → `:?`).
- Restyle the "Custom…" trigger field to match the global-shortcut recorder
  box (rounded field, native input look, clear button, accent border while
  editing) while keeping free-text entry.

Refs: W-436
@linear-code

linear-code Bot commented Jun 26, 2026

Copy link
Copy Markdown

W-436

wr added 2 commits June 26, 2026 09:29
- "<X> shortcut" → "<X> trigger" on the trigger rows.
- "Emoji Browser" → "Emoji Browser shortcut".
- Globe toggle: "Open with the 🌐 key" → "Press 🌐 key to open Mojito".
- Drop the "Easter eggs still play on screen…" footer.

Refs: W-436
fzy (the fuzzy-match scoring algorithm FzyScorer ports) and GIPHY (GIF
search; their API terms require attribution).

Refs: W-436
@wr wr merged commit e273060 into main Jun 26, 2026
4 of 5 checks passed
@wr wr deleted the wells/w-436-trigger-picker-fixes-quick-access-marker-glyph-only-labels branch June 26, 2026 14:10
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