Filter/jump/inject a channel's issues from the palette (#37) #45
No reviewers
Labels
No labels
bug
docs
enhancement
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pedromcaraujo/forge!45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "palette-hash-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #37.
A leading
#in the Alt+K palette switches it to the active channel's open Forgejo issues, keeping issues out of the default channel/action list until asked for:#— list the channel's open issues#auth— filter by title#31— jump by numberActivation
look at issue #N: <title>into the terminal (the keyboard twin of clicking the number in the drawer).Plumbing
renderForgejo/refreshIssueswarm it, and the palette lazily fills it if the drawer was never opened, so typing#doesn't re-hit the sidecar on every keystroke.textContent, neverinnerHTML.Also fixes the shell losing focus when leaving the palette:
closePalette()now blurs the palette input beforefocusTerm(), which otherwise refused to steal focus resting on our own chrome and left the terminal dead after Esc.Verified with a syntax check plus 18 jsdom behaviour tests (list/filter/jump/inject/open/new-issue, the non-panel channel message, and that Esc blurs the input).