Skip to content

feat(titlebar): group the most-run custom commands on top of the popover - #584

Merged
umputun merged 1 commit into
masterfrom
most-used-commands
Sep 10, 2026
Merged

feat(titlebar): group the most-run custom commands on top of the popover#584
umputun merged 1 commit into
masterfrom
most-used-commands

Conversation

@umputun

@umputun umputun commented Sep 10, 2026

Copy link
Copy Markdown
Owner

follow-up to #582. Once keymap.conf holds more than five commands, up to five previously run commands with the highest all-time counts lead the popover above a separator, the rest below. Counts decide only membership: both groups keep file order, so use changes which commands sit on top and nothing else. Every run counts, chord, palette or popover; the runner records it in custom-command-usage.json in the state directory. A second command line with a name already taken is now skipped with a diagnostic, since the name is the count's key.

once keymap.conf holds more than five commands, up to five previously run commands with the highest all-time counts lead the popover above a separator, the rest below. Counts decide only membership: both groups keep file order, so use changes which commands sit on top and nothing else. Every run counts, chord, palette or popover, recorded by the runner into custom-command-usage.json in the state directory. A second command line with a name already taken is skipped with a diagnostic, since the name is the count's key.

Related to #570
Copilot AI lite review requested due to automatic review settings September 10, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2134119
Status: ✅  Deploy successful!
Preview URL: https://8d08dd07.agterm.pages.dev
Branch Preview URL: https://most-used-commands.agterm.pages.dev

View logs

@umputun
umputun merged commit 68e1793 into master Sep 10, 2026
8 checks passed
@umputun
umputun deleted the most-used-commands branch September 10, 2026 19:43
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.

2 participants