feat: Go to the agent from keybars Pro's action keys #8

Open
jwarykowski wants to merge 3 commits from feat/go-to-agent into main
Owner

keybars Pro alert rules can now Go to the agent when pressed (keybars-pro #145, #146). This makes herdr do it.

  • bin/presses runs for the session and listens to keybars-pro watch -only pressed. It listens again after keybars Pro restarts, and stops when herdr goes.
  • A press whose action is agent focuses the agent in the workspace the event's repo names. bin/watch already sends the workspace label there. With no match it does what next-agent does.
  • It starts with herdr and is in the restart action. tests/presses_test.sh covers both paths.

Hold this with #7 until the keybars Pro release that has action keys.

keybars Pro alert rules can now Go to the agent when pressed (keybars-pro #145, #146). This makes herdr do it. - `bin/presses` runs for the session and listens to `keybars-pro watch -only pressed`. It listens again after keybars Pro restarts, and stops when herdr goes. - A press whose action is `agent` focuses the agent in the workspace the event's `repo` names. bin/watch already sends the workspace label there. With no match it does what `next-agent` does. - It starts with herdr and is in the restart action. `tests/presses_test.sh` covers both paths. Hold this with #7 until the keybars Pro release that has action keys.
bin/presses listens to keybars-pro watch for presses whose action is Go
to the agent, and focuses the agent in the workspace the event names,
else the one next-agent picks. It starts with the session and restarts
with the restart action.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/go-to-agent:feat/go-to-agent
git switch feat/go-to-agent

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/go-to-agent
git switch feat/go-to-agent
git rebase main
git switch main
git merge --ff-only feat/go-to-agent
git switch feat/go-to-agent
git rebase main
git switch main
git merge --no-ff feat/go-to-agent
git switch main
git merge --squash feat/go-to-agent
git switch main
git merge --ff-only feat/go-to-agent
git switch main
git merge feat/go-to-agent
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jwarykowski/keybars-herdr!8
No description provided.