Skip to content

Show branches and tags containing a commit #25152

Closed
@delvh

Description

@delvh

Feature Description

It is nice to see which branches and tags contain a commit.
That way, you can easily see which versions are affected, i.e. if they have a given feature or bug.
To reduce the load, I recommend calculating these values dynamically only when the user specifically requested them.
That also minimizes the visual space for users that don't need it as well.
I recommend doing a similar approach as GitHub UI-wise (except perhaps that we don't show anything until the user clicked on the corresponding button as we can either show everything or nothing and nothing in between).
In the backend, we need a route that takes a commit and returns the following response:

{
  "branches": [{"name": "", "webLink": "", "APILink": ""}],
  "tags": [{"name": "", "webLink": "", "APILink": ""}],
}

Screenshots

Unexpanded on GitHub:
grafik
Expanded on GitHub:
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions