diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
| commit | 5c160bd5f33b0e27ecac32af99f650ea50d844fe (patch) | |
| tree | 4370bd67c5ef524acc351edd39d1fa2d43048cc8 /scripts/setup-telega.sh | |
| parent | da5f5d9470657eeffef64afad5e60c3224e481c8 (diff) | |
| download | dotemacs-5c160bd5f33b0e27ecac32af99f650ea50d844fe.tar.gz dotemacs-5c160bd5f33b0e27ecac32af99f650ea50d844fe.zip | |
refactor(dashboard): derive the navigator and keybindings from one launcher table
The 12 dashboard launchers were inlined twice (once as navigator icon buttons, once as dashboard-mode-map keybindings), so adding or reordering one meant editing both lists, and the icon-row order could drift from the key order.
I pulled them into a single cj/dashboard--launchers table of (KEY ICON-FN ICON-NAME LABEL TOOLTIP ACTION) tuples. cj/dashboard--navigator-rows chunks it four per row into the navigator buttons, and cj/dashboard--bind-launchers binds each key to its action. The icons and the keys now come from one place, with no behavior change: same icons, labels, order, and keys, locked by tests.
Diffstat (limited to 'scripts/setup-telega.sh')
0 files changed, 0 insertions, 0 deletions
