-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: device type display on survey, and spacing between filters #28581
fix: device type display on survey, and spacing between filters #28581
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR improves the visual presentation of device types and filter spacing in the survey display summary view.
- Modified
frontend/src/scenes/surveys/Survey.tsx
to render individualLemonTag
components for each device type instead of combining them into a single tag - Added wrapper div around targeting flag filters to fix inconsistent spacing between "User properties" section and filter components
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Size Change: 0 B Total Size: 1.18 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated12 snapshot changes in total. 0 added, 12 modified, 0 deleted:
Triggered by this commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Problem
Makes it so Device Types are shown similarly to how they're shown on the Survey form as well.
Fixes extra spacing between "User properties" and the actual component.
Changes
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
UI changes only. Checked if all tests are still passing, and manually tested survey form to see if it's still working as expected