Skip to content

Conversation

@moczolaszlo
Copy link
Contributor

No description provided.

@bitrise-devs-bot
Copy link
Collaborator

@viktorbenei
Copy link
Contributor

viktorbenei commented Oct 15, 2025

Summary

This PR adds step bundle title display functionality. The changes extract logic into a new useStepBundleInstance hook and update StepBundleCard to display the step bundle's merged title or CVS ID fallback. A type safety issue and inconsistent null coalescing operators were identified.

@moczolaszlo moczolaszlo marked this pull request as ready for review October 20, 2025 11:13
Copy link
Collaborator

@AndrasEszes AndrasEszes left a comment

Choose a reason for hiding this comment

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

  • useStepBundleInstance should return only the stepBundleInstance.
  • prevent silent errors: if the instance isn't found based on the input parameters, the useStepBundleInstance hook should throw an error so DataDog can see it.
  • please rename the useStepBundleInstance hook parameters... it's confusing how they're used in StepBundleCard.
  • BONUS: I see some duplicated code in the hook. Maybe it can be simplified.

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.

4 participants