Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

fix(ui): display branch a commit belongs to #1835

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

geigerzaehler
Copy link
Contributor

The API now provides the branch a commit belongs to. This partially reverts #1717.

The issue was not discovered because of disabled type checking due to #1798. We address this by not using the Remote component

The motivation for #1717 was to gracefully handle commits without branches and not panic. We accomplish this by returning the (possibly empty) list of all branches and only showing the first branch (if present) in the UI.

Fixes #1793

The API now provides the branch a commit belongs to. This partially
reverts #1717.

The issue was not discovered because of disabled type checking due
to #1798. We address this by not using the `Remote` component

The motivation for #1717 was to gracefully handle commits without
branches and not panic. We accomplish this by returning the (possibly
empty) list of all branches and only showing the first branch (if
present) in the UI.

Fixes #1793

Signed-off-by: Thomas Scholtes <thomas@monadic.xyz>
@geigerzaehler geigerzaehler requested a review from a team as a code owner April 28, 2021 15:38
@geigerzaehler geigerzaehler merged commit 0141921 into master Apr 28, 2021
@geigerzaehler geigerzaehler deleted the thomas/optional-branch branch April 28, 2021 16:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Branch name is undefined in commit view
2 participants