aboutsummaryrefslogtreecommitdiff
path: root/menubar/hotkey.swift
AgeCommit message (Collapse)Author
2026-10-22agent search: spotlight-style fuzzy finder on ctrl+opt+cmd+shift+uIgor Soarez
a centered, non-activating key panel that lists every agent and jumps to the chosen one through the same dingger focus path as a row click. - fzf-style matching: each word must match one of name, session, window, harness, status, or directory, letters in order; the best alignment wins (word starts and consecutive runs score higher), matched title letters are highlighted. - empty query keeps the menu's order, so enter jumps to the top waiting agent. - the selection follows the agent, not the position, as states change; the list scrolls to keep it visible. - keys: arrows, ctrl+n/p, ctrl+j/k, enter, esc, ctrl+u; the shortcut again or clicking elsewhere closes it. - search_hotkey setting; an unedited config file is upgraded. menu item "Search Agents...". rows carry the pane's directory. - --print-search and --snapshot-search debug flags; the panel's background and snapshot code are shared. selftest covers matching, ranking, highlighting, and selection; e2e step 15 checks queries through the real binary (fails when search only looks at titles). e2e resolves relative binary paths, which tmux hooks need.
2026-10-20panel: readable everywhere, compact/full toggle, change-driven; jump shortcutIgor Soarez
- contrast: the summary used attributed-string colors (never vibrant) and the subtitles a vibrant system color, so they blended differently over light and dark desktops. the panel now uses herdr's mocha colors explicitly over a dark tint, identical on any background. - layout: compact in "when agents are waiting"; in "always" a show all / show less toggle switches to the full list (waiting, separator, rest). - rows are single-line with a trailing ellipsis instead of wrapping. - render only when the content changes, and log each render, instead of rebuilding every view every second. - --snapshot-panel renders the real panel offscreen over white and black after a different first render (stale content would show). - jump shortcut ctrl+opt+cmd+u (jump_hotkey) runs dingger focus; shortcuts are registered by id. an unedited first config file is upgraded. selftest covers the layout rules and content; e2e step 13 checks the full list, its separator, and the toggle labels.
2026-10-20floating panel: always-on-top agent HUD with a global shortcutIgor Soarez
a non-activating HUD panel (every Space, over full-screen apps, never takes focus) listing the agents waiting for you, with working and idle summarized on one line; rows jump to the agent, drag moves the panel and it remembers its place. modes: when agents are waiting (default), always, off; ctrl+opt+ cmd+e shows or hides it on top of the mode, and a manual hide lasts until another agent starts waiting. the shortcut is a carbon hotkey (no accessibility permission; clashes are reported in the menu) configured in ~/.config/dingger/config.toml, reloaded on save. the menu bar app is split into model, panel, hotkey and main. tested: --selftest checks the visibility rules (it fails if a newly waiting agent no longer re-shows a dismissed panel); e2e step 13 checks the panel content through the real binary.