-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add milestone command #23
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…command * origin/main: feat(label): reload list after edit keybinds
…command * origin/main: style: add/cleanup vim fold comments
Check if `GH_FZF_OPEN_CMD` is set, and if so, use the environment variable's value to open a milestone's URL in the browser. Defaults to the `BROWSER` environment variable if set, otherwise it uses the operating system's open command. Any future commands that fetch the list with `gh api` will use this environment variable too.
benelan
added a commit
that referenced
this pull request
Jun 4, 2024
🤖 I have created a release *beep* *boop* --- ## [0.12.0](v0.11.0...v0.12.0) (2024-06-03) ### Features * **milestone, issue:** Add `milestone` command and an `alt-M` keybinding for the `issue` command, which filters by the selected milestone ([#23](#23)) ([86cb9da](86cb9da)), closes [#21](#21) * **issue, pr:** Support fzf multi-selection when adding or removing labels via `alt-l` or `alt-L` keybindings, respectively ([cac5f20](cac5f20)) * **label:** Include the selected label's name in the prompt for editing the name via `alt-n`, description via `alt-d`, and color via `alt-c` ([d45ea06](d45ea06)) * **label:** Reload list after the edit keybindings (`alt-n`, `alt-d`, `alt-c`) to ensure info is up to date ([b76453a](b76453a)) * **run:** Prompt to rerun (if failed) after viewing logs via the `dunstify` notification action ([ff14747](ff14747)) ### Bug Fixes * **issue, pr:** Exit with code 0 after checking out a branch via the `alt-o` keybindings ([2dbea75](2dbea75)) * **label:** Fix regression where `enter` keybinding printed the whole row of the selected item(s), rather than only the name ([44bd0af](44bd0af)) * **run:** Fix the message/format of notifications when the watcher's process is killed before completion ([b419d35](b419d35)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ben Elan <no-reply@benelan.dev>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
milestone
command to find/select milestones usinggh api
milestone
command:enter
: Print the milestone title; useful for scriptingalt-t
: Edit the title of the selected milestonealt-d
Edit the description of the selected milestonealt-X
: Close the selected milestonealt-O
: Reopen the selected milestonealt-i
: Executegh fzf issue
filtered for the selected milestonealt-s
: Show both open and closed milestones (default is open)alt-c
: Sort list by completeness (default is by due date)alt-D
: Display list in descending order (default is ascending)issue
command:alt-M
: Executegh fzf milestone
and filter the list of issues by the selected itemGH_FZF_OPEN_CMD
environment variable to set the command used to open the milestone in the browser. The default value should suffice in most cases.ref: https://docs.github.com/en/rest/issues/milestones
resolves #21