Skip to content

Add the ability to bind commits to issues to the gitea UI #18449

Open
@cobber

Description

@cobber

Feature Description

Gitea version: 1.15.10

I think it would be better if gitea supported the connection of commits and issues with each other, after-the-fact.

e.g. the addition of

  • an "Issues" search/drop-down/panel in the commit view
  • a "Commits" search/drop-down/panel in the issue view

Practically, I envision something similar to the "Dependencies" panel that already exists at the bottom right of the issue view, but modified to refer to issues/commits depending on which view it is in.

or, a completely new view with a searchable list of issues and a searchable list of comments and the ability to make connections between then, focussing on the issue titles and commit comments and not so much on issue numbers and commit id's.

--

I am aware of, and use, the 'close|fix|reopen #n' commit messages to relate commits to issues.
It is also possible to refer to commits in an issue's comments by mentioning the commit's short hash.

However, commit messages cannot be changed after they have been pushed to gitea,
and the process of copying commit hashes into issue comments basically requires two browser windows, side-by-side if possible, one for the issues and one for the commits. Then the user has to manually copy the appropriate commit hash(es) into a new comment for each issue.

PS: I hope this isn't a duplicate feature request - I searched but either got no hits or thousands :-)

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions