chore(releases): fix releases tooltip width #103955
Merged
+3
−17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
problem described in feedback here.
TL;DR - releases cards can have the same subset of title displayed, but the tooltip was getting cut off
PR vs. current
PR

tooltips show full content (can see the bundle ids are different)
https://github.com/user-attachments/assets/af731c7c-a4cd-4e79-aec2-c87cc09862d4
current prod (releases indistinguishable)

518449345-cc83dc76-05e0-46ad-aa23-edcc9cdc4b97.mov
For a hash release
intent is to not change current behavior
Tooltip on prod for a "hash release"

Tooltip in PR for a "hash release" (same thing)

Notes
Issues w/ previous implementation:
versionthat's passed in. Theversionpassed in is actually the full release string, that often will start with something likefrontend@{hash}. Changed regex to be if there is a 40 or 64 character hash anywhere, which worked for the Sentry Javascript project