-
Notifications
You must be signed in to change notification settings - Fork 0
[CLEAN] Synthetic Benchmark PR #5886 - Update goal settings design #81
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
base: base_pr_5886_20251204_8433
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
Benchmark PR plausible#5886
Type: Clean (correct implementation)
Original PR Title: Update goal settings design
Original PR Description: ### Changes
Add goalbutton in goal settings with a dropdown button to directly select the goal type. This way, a modal opens with the correct form for the selected goal type. The tabs in the modal have been removed.pillcomponent to show the goal type in the table in a more distinct way. Thesettings_badgecomponent is replaced with thepillcomponent. Thepillcomponent that was used inplan_box.exis renamed tohighlight_pill.Belongs to funneltext with a funnel icon in the goal settings list.Tests
Dark mode
Original PR URL: Update goal settings design plausible/analytics#5886
PR Type
Enhancement
Description
Replace "Add goal" button with dropdown to select goal type directly
Remove modal tabs and auto-select form based on dropdown choice
Replace
settings_badgecomponent with newpillcomponent supporting multiple colorsUpdate goal settings table with pill badges for goal types and funnel icon
Increase search bar width and adjust table cell padding for better UX
Diagram Walkthrough
File Walkthrough
1 files
Rename pill component to highlight_pill6 files
Add pill component with color variantsReplace settings_badge with pill componentAdd goal_type state and pass to formRemove tabs and use goal_type parameterReplace button with dropdown and update goal type displayUse pill component for pending invitation badge2 files
Adjust dropdown item padding and widthAdd flex gap wrapper for consistent spacing2 files
Update tests to use goal type dropdown instead of tabsUpdate tests for dropdown-based goal type selection