Repository navigation
Git: tag management (list / create / delete / push / checkout) #35
wsldl123292
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What are you proposing?
Tag management in the Git panel. Right now tags are rendered as read-only chips in the commit history, and there is no way to list, create, delete, push, or check one out.
Concretely:
Why does this matter?
Tagging is the usual release workflow: tag the commit, push the tag, cut the release. Today each of those steps means dropping into the terminal, which cuts against the "one workspace" idea the editor is built around.
The confusing part is that Wu already displays tags in the commit history, so they look supported, but nothing on them is actionable.
Are there any examples or context?
Current behavior, from the source:
crates/git_ui/src/git_panel.rs:109—const MAX_HISTORY_TAG_CHIPS: usize = 3;crates/git_ui/src/git_panel.rs:6848-6896— tags render asChips after the commit subject; overflow collapses into+Nwith a tooltip listing the restcrates/git/src/repository.rs:118-131—InitialGraphCommitData::tag_names(), which filtersref_namesby thetag:prefixNot present anywhere:
crates/git_ui/src/branch_picker.rs— no tag referencescrates/git_ui/src/git_picker.rs— no tag referencescrates/git/src/git.rs— no tag-related actions in the action enumFor comparison, GitKraken, Fork and GitButler all expose a tags list in the sidebar.
Possible approach
The read path already exists (
tag_names()), so this is mostly a UI + actions gap:references()filtered byrefs/tags/(orgit tag -l)CreateTag/DeleteTag/PushTag/CheckoutTagto the git actionsbranch_picker.rsso the existing fuzzy picker also lists tags, turning "switch branch" into "checkout ref"All reactions