Skip to content

Conversation

@hurracrane
Copy link
Contributor

@hurracrane hurracrane commented Sep 24, 2025

#1414 introduced changes to be explicit about the partial to render. However, commit.status can also be a group, which in those instances would render the group partial. In the current state, we cannot view a set of build status's when hovering. This fix hopes to correct this.

🎩 screenshots

Screenshot 2025-09-26 at 9 16 08 AM Screenshot 2025-09-26 at 8 44 14 AM

@hurracrane hurracrane requested a review from k0kubun September 24, 2025 18:39
Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@hurracrane hurracrane mentioned this pull request Sep 25, 2025
Comment on lines +7 to +11
<% if commit.status.group? %>
<%= render 'shipit/statuses/group', group: commit.status %>
<% else %>
<%= render 'shipit/statuses/status', status: commit.status %>
<% end %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we still need to_partial_path on Shipit::Status::Group|Missing|Unknown since we are explicitly calling out the partials now? (Not blocking)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I may opt to follow up with a change to address this.

@hurracrane hurracrane merged commit d5f5b8e into main Sep 26, 2025
15 checks passed
@hurracrane hurracrane deleted the fix-commit-status branch September 26, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants