fix(widget-builder): Bring the title and description to the top#91652
Merged
narsaynorath merged 5 commits intoMay 14, 2025
Merged
Conversation
Brings the title and description field to the top and adjusts some styles to make sure it renders similarly to the other sections
Brings the title and description field to the top and adjusts some styles to make sure it renders similarly to the other sections
…f github.com:getsentry/sentry into narsaynorath/dain-430-bring-widget-title-back-to-top
nikkikapadia
left a comment
Member
There was a problem hiding this comment.
couple of comments mainly on the responsive views
| <FilterBarContainer {...animatedProps}> | ||
| <WidgetBuilderFilterBar releases={dashboard.filters?.release ?? []} /> | ||
| </FilterBarContainer> | ||
| )} |
Member
There was a problem hiding this comment.
On small responsive screens there needs to be a condition to keep the filter bar at the top of the slideout (like how it is now) because with this it's not present on the responsive view.
Member
Author
| animate={{opacity: 1, x: 0, y: 0}} | ||
| exit={{opacity: 0, x: '50%', y: 0}} | ||
| transition={animationTransitionSettings} | ||
| {...animatedProps} |
Member
nikkikapadia
approved these changes
May 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.


Brings the title and description field to the top and adjusts some
styles to make sure it renders similarly to the other sections
I also added an
idto the releases select control so I could override some of its styling with chonk UI. It's not the most robust but it works for now and maybe I'll look at pushing the change into filter bars generally. The issue was that each button gets translated to the left slightly to overlap the borders, but by the end of the widget there's now-n pxof space. I've just extended the last trigger by 3px to account for the difference.