Skip to content

Enhanement: Create groups for setting#958

Merged
hhubert6 merged 3 commits intomainfrom
774-create-groups-for-settings
Mar 23, 2026
Merged

Enhanement: Create groups for setting#958
hhubert6 merged 3 commits intomainfrom
774-create-groups-for-settings

Conversation

@hhubert6
Copy link
Copy Markdown
Contributor

No description provided.

@hhubert6 hhubert6 requested a review from Copilot March 20, 2026 15:46
@hhubert6 hhubert6 linked an issue Mar 20, 2026 that may be closed by this pull request
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reorganizes the Settings LiveView UI into clearer grouped sections, while adjusting toggle/spacing behavior and updating warning color tokens used for the new “High impact” badge.

Changes:

  • Make toggle_switch label optional (no empty label span when omitted).
  • Restructure settings page into grouped sections (Display, Debugging behavior, Performance & memory) and add a “High impact” warning pill.
  • Tune settings switch alignment/padding and adjust light theme warning colors (introduce --swm-yellow-30).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lib/live_debugger/app/web/components.ex Makes toggle_switch label optional and conditionally rendered.
lib/live_debugger/app/settings/web/settings_live.ex Re-groups settings into sections and adds a warning badge for performance-impacting settings.
lib/live_debugger/app/settings/web/components.ex Updates settings switch layout and wrapper padding.
assets/app/styles/themes/light.css Tweaks warning background/border tokens for light theme.
assets/app/styles/colors.css Adds --swm-yellow-30 color token used by the updated warning background.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hhubert6 hhubert6 requested review from kraleppa and srzeszut March 23, 2026 10:05
Copy link
Copy Markdown
Contributor

@srzeszut srzeszut left a comment

Choose a reason for hiding this comment

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

Great job!

@hhubert6 hhubert6 merged commit 4c689dd into main Mar 23, 2026
4 checks passed
@hhubert6 hhubert6 deleted the 774-create-groups-for-settings branch March 23, 2026 16:07
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.

Create groups for settings

4 participants