[PR #7175] [MERGED] fix(settings): give every Settings button one consistent style #7611

Closed
opened 2026-10-24 04:05:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7175
Author: @SpicyMarinara
Created: 10/6/2026
Status: ✅ Merged
Merged: 10/6/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/save-timeouts-button-7174


📝 Commits (6)

  • abf5694 fix(settings): match the Save timeouts button to Advanced Settings (#7174)
  • 4e1df82 fix(settings): give every Settings button one consistent style (#7174)
  • ec218c4 fix(settings): keep maintainer sizes, inline chips, clear selection and steady delete colour (#7174)
  • a5b330a Merge branch 'staging' into fix/save-timeouts-button-7174
  • 14616b9 Merge remote-tracking branch 'origin/staging' into fix/save-timeouts-button-7174
  • 1c3b95b Merge remote-tracking branch 'origin/staging' into fix/save-timeouts-button-7174

📊 Changes

18 files changed (+518 additions, -581 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 docs/appearance/chat-backgrounds.md (+6 -4)
📝 docs/roleplay/hud-and-trackers.md (+1 -1)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+235 -314)
📝 packages/client/src/components/panels/settings/BackgroundPicker.tsx (+92 -127)
📝 packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx (+14 -14)
📝 packages/client/src/components/panels/settings/PersonalExtensionsSettings.tsx (+23 -25)
📝 packages/client/src/components/panels/settings/PromptOverridesEditor.tsx (+12 -11)
📝 packages/client/src/components/panels/settings/RequestTimeoutSettings.tsx (+4 -1)
📝 packages/client/src/components/panels/settings/SettingControls.tsx (+20 -14)
📝 packages/client/src/components/panels/settings/TrackerCardColorSettings.tsx (+6 -13)
📝 packages/client/src/components/panels/settings/UILanguageSetting.tsx (+5 -4)
📝 packages/client/src/components/ui/ColorPicker.tsx (+9 -15)
📝 packages/client/src/components/ui/ExportFormatDialog.tsx (+3 -6)
📝 packages/client/src/components/ui/TrackerCardColorControls.tsx (+12 -23)
📝 packages/client/src/features/multiplayer/MultiplayerSettings.tsx (+16 -9)
📝 packages/client/src/localization/locales/en.json (+3 -0)
📝 packages/client/src/styles/globals.css (+56 -0)

📄 Description

Linked issue

Closes #7174

Why this change

The Save timeouts button in Advanced Settings used the selected-toggle style, so it looked like a pressed toggle instead of an action. An audit of every Settings button found the same kind of drift across the panel: about a dozen hand-made styles, actions painted as "selected", resets styled as text links, delete buttons that were not tinted, icon buttons without accessible names, and Tailwind overrides that never applied because the .mari-chrome-control* rules sit outside the CSS layers. Mari asked that every Settings button follow the same formatting classes.

What changed

One rule per role, using shared constants exported from settings/SettingControls.tsx:

  • Primary (the one main action of a section or sub-form, on its own line): SETTINGS_PRIMARY_FULL_BUTTON_CLASS, full width with a leading 0.8125rem icon, like Copy support diagnostics and Save timeouts.
  • Secondary (buttons in a row, a header, next to a field or on a list item, and resets): SETTINGS_BUTTON_CLASS, 0.75rem icons.
  • Compact primary (the main action inside a dense row, e.g. theme Save): SETTINGS_COMPACT_PRIMARY_BUTTON_CLASS, now primary emphasis at the small size without the baked-in --selected.
  • Toggles, segmented controls and multi-select chips: SETTINGS_BUTTON_CLASS items in a plain gap-1 flex/grid with type="button" and aria-pressed. The selected look comes only from aria-pressed. Groups whose labels did not fit (tracker Desktop size, tracker card Source / Stage / Finish) now wrap instead of truncating.
  • Choice cards (Visual Style, Chat widget style, Chat Layout, Roleplay avatar style, Game dialogue display, Quote style, Quick reply actions): new SETTINGS_CHOICE_CARD_CLASS (.mari-chrome-control--card), selected via aria-pressed. The selected card gets a solid 2px accent ring (plus the focus ring outside it when focused). Idle titles keep the body text colour so they stay readable in light mode.
  • Icon-only (edit, delete, move, close, clear search, reset size): new SETTINGS_ICON_BUTTON_CLASS (.mari-chrome-control--icon, a 1.75rem square) with an aria-label. New keys: Close theme editor, Delete backup, Remove color stop. The custom generation parameter edit/delete icons keep the 16px (1rem) size chosen in #4125 inside that square.
  • Inline token chips (prompt override variables): SETTINGS_BUTTON_CLASS plus a new .mari-chrome-control--chip modifier (tighter sides) and regular-weight 0.6rem mono text, so they wrap two to a row as before.
  • Destructive: the role's class plus mari-chrome-control--danger (theme --destructive). While Accent Pulse or RGB Mode animates the accent, --danger uses --marinara-app-accent-static, the steady accent the editor shells and Decision warnings already use, so delete buttons and their icons do not pulse. This applies to every --danger button in the app (Characters, Personas, Lorebooks, sidebar and bulk actions too), not only Settings.
  • Dead utility overrides (padding, gap, radius, min-height, text colour, opacity, disabled:*, !) are removed, and the hard-coded emerald/amber button colours are gone.

Also touched because they render inside Settings: BackgroundPicker (also used in the Chat Settings drawer and setup wizard), ColorPicker Reset / Add stop / Remove stop and ExportFormatDialog Cancel (also used by the Character, Persona and Lorebook editors), TrackerCardColorControls, MultiplayerSettings, PersonalExtensionsSettings, PromptOverridesEditor, CustomGenerationParametersSettings, UILanguageSetting and the notification sound controls.

Notable visible changes:

  • The tracker temperature unit is a °C / °F segmented pair instead of a sliding switch.
  • Create Theme / Import File are standard buttons instead of dashed tiles.
  • Open Android launcher, Restart Server, Open Console, Check Avatar Storage, Fix documentation and Download Illustrator Agent are full-width primaries.
  • In the Background Library card toolbar, Default is now a pin icon toggle, so the hover toolbar stays on one row and no longer covers the thumbnail you click to select. The "Default" badge on the thumbnail now also shows on phones.

Left unchanged (out of scope): switches, <details> and disclosure headers, tab bars and the Appearance group switcher, colour swatches, navigation rows, HelpTooltip glyphs, the shared Modal close X, TouchDragHandle, the ChatResourceActionButton component itself, and TTSConfigCard (not rendered in Settings).

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Agent-run checks on ec218c4cb (these do not replace the boxes above):

  • pnpm check: passed.
  • Restored core-flows.e2e.ts "custom generation parameters become reusable chat controls" (original 16px assertion, unchanged from staging): passed on desktop-chromium (the test skips mobile by design).
  • core-flows.e2e.ts Settings switches, custom theme live preview, gradient Accent Pulse, Danger Zone gate for external Agent imports, and the three Background card / library / re-import tests, desktop-chromium + mobile-webkit: 12 passed, 4 skipped (project-specific skips).
  • accent-pulse.e2e.ts, chat-widget-style.e2e.ts, background-download.e2e.ts, desktop-chromium + mobile-webkit: 43 passed, 5 skipped.
  • A throwaway Accent Pulse probe (not committed) sampled the Danger Zone Clear All Data button 8 times over 3 seconds in dark and light, desktop-chromium and mobile-webkit: --primary took 7 values, the button text, border and icon colour took 1. With the new rules disabled, the same probe saw 8 different colours.
  • Close-ups recaptured in light and dark, desktop and phone: prompt override variable chips (two per row again), Visual Style / Chat widget style / Quote style / Chat Layout / Roleplay avatar / Game dialogue cards (2px accent ring on the selected card).
  • prettier --check on the changed files: clean except a pre-existing issue in globals.css around line 6550 that is also on staging.
  • Local CodeRabbit: rate limited (3 reviews used, 26-minute wait), so it did not run on ec218c4cb.

Earlier checks on 4e1df8223:

  • pnpm check: passed.
  • pnpm smoke:ui: 7 passed.
  • pnpm regression:ui on desktop-chromium and mobile-webkit for accent-pulse, afternoon-sweep, assigned-chat-sweep, assigned-sept27, background-download, conversation-background-opacity, game-experience-setup, multiplayer-controls, multiplayer-guest-isolation, roleplay-vn, topbar-accessibility, ux-feedback-sweep, chat-widget-style, ios-export-save and chat-position: 256 passed, 18 skipped, 4 failed under 3 workers. All 4 passed when rerun serially. One of them ("Roleplay omits Reply…") failed once more and then passed 4 of 4 with --repeat-each=2; it times out waiting for the chat composer before Settings opens.
  • core-flows.e2e.ts cases that use these controls (Settings switches, theme live preview, Personal Extensions and Danger Zone gates, custom generation parameters, profile import, Updates, Background cards / selection / organization), desktop-chromium and mobile-webkit: passed.
  • Before/after screenshots of every Settings tab and 53 button groups, light and dark, desktop and phone, were compared.

Manual verification notes

Check each tab in light and dark mode, on desktop and at phone width:

  • Settings shell: Manually verify that the search clear X sits inside the search field and that Quick Access chips wrap without cutting off long names.
  • General: Manually verify that the Send on Enter chips show which modes are on and the Quote style cards show the selected style. Check the custom quick reply Add, emoji and Remove buttons, and the notification sound Preview, Choose and Remove buttons (Remove tinted as delete).
  • Appearance > App: Manually verify the Visual Style and Chat widget style cards: the selected card should be obvious and idle titles readable. Check Reset width, Reset button size, Google Fonts Add (not shown as selected), the text outline Reset to default, and Browse library / Clear selection.
  • Appearance > App, Background Library: Manually verify the source, folder and tag chips and New Folder. The card hover toolbar should sit on one row with the pin toggle, and clicking the thumbnail should still select it. Check the remove-tag chips while editing tags, and Import Backgrounds next to the search field.
  • Appearance > App, gradient colour picker: Manually verify the Add stop and Remove stop buttons.
  • Appearance > Conversation: Manually verify the Chat Layout cards, the Avatar shape toggles, the Dark / Light gradient scheme toggle and its reset button.
  • Appearance > Roleplay: Manually verify Chat position, Reset opacity, the Roleplay avatar style cards and the tracker card order buttons. Check tracker Desktop size (it wraps rather than truncating), Thought and Stat display, °C / °F, and Card colors Source / Stage / Finish plus Revert / Save.
  • Appearance > Game: Manually verify the Game dialogue display cards.
  • Generations: Manually verify image style profile Clone / Reset / Delete (Delete tinted), the prompt override variable chips and Save / Reset to Default, and the Download Illustrator Agent empty state.
  • Add-ons: Manually verify Create Theme / Import File, the edit / export / remove icons on a theme row, and the theme editor close X, Preview toggle and Save.
  • Imports: Manually verify Import Profile, Import from SillyTavern Folder, the four SillyTavern import buttons, Asset Browser / Rescan and the folder shortcuts. Upload to Server should not be highlighted before files are chosen.
  • Advanced: Manually verify admin Save / Restart Server, Check for Updates / Apply / Download / Refresh App, Copy Support Diagnostics, Save timeouts and Open Console. Check the backup frequency toggles, Download Backup / Export Profile, the Delete backup icon, and Check Avatar Storage / Delete Abandoned Avatars. Also check the Danger Zone buttons and confirm, the custom parameter edit / delete / Cancel / Save / Add buttons, and Multiplayer Enable / Create / Join / Review / Request to join.
  • Personal / External Extensions (needs ENABLE_EXTERNAL_EXTENSIONS=true and the Danger Zone opt-in): Manually verify Import file / folder, the power and delete icons on list rows, and the editor's Back / Enable / Export / Save / Restore Draft.
  • Other editors: Manually verify that the Export dialog Cancel and a colour picker inside the Character or Persona editor still look right.
  • Accent Pulse: With Accent Pulse on, manually verify that delete buttons (Danger Zone Clear All Data, a theme row's trash icon, a background's trash icon) stay one steady colour while other accent buttons pulse, in light and dark.
  • Selected cards: Manually verify that the selected Visual Style, Chat widget style and Quote style card has an obvious accent ring in light and dark, and that keyboard focus on it is still visible.

Follow-ups noticed, not changed here

  • No confirm before deleting: style profile Delete, Remove custom quick reply, Delete backup (which also has no error toast), the custom notification sound Remove, and Multiplayer disable. Reset Appearance clears every appearance preference without a confirm.
  • Keyboard: the SillyTavern ImportButton is a <label> around a hidden input, so keyboard users cannot reach it.
  • Hard-coded colours outside buttons: amber, green and emerald remain on the docs Fix and update warnings, the "latest version" and prompt override saved checks, and the CSS editor.
  • Delete colour with custom themes: while Accent Pulse runs, a theme that sets its own --destructive shows the steady accent on --danger buttons (marked with a ponytail: comment). A --marinara-danger-* theme hook is the upgrade path.
  • Reset Roleplay default in the background library still uses a star icon, which is also the favourites icon.
  • Unused keys: the old temperature switch's three en.json keys are no longer used.

Review concerns addressed in ec218c4cb

  • Custom parameter icon size (maintainer decision in #4125): back to 16px (1rem). The core-flows assertion that 4e1df8223 rewrote is restored exactly as on staging. No other test was edited in this PR.
  • Prompt override variable chips were one per row on desktop. They wrap two to a row again.
  • Selected choice cards were less visible than before. They now have a solid 2px accent ring in light and dark.
  • Delete buttons pulsed under Accent Pulse because --destructive defaults to the accent. They now hold the steady accent, the approach used for the Decision warnings and editor shells.
  • Docs now describe the new controls (below).

Docs changed

  • docs/appearance/chat-backgrounds.md: the default Roleplay background is set with the pin icon, and a Default label marks it. The star is for favorites. Reset Roleplay default is a button. Tags are removed by clicking the tag while tag editing is open.
  • docs/roleplay/hud-and-trackers.md: Temperature unit is a °C / °F choice.

These need a docs-i18n follow-up. It has not been opened yet.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Summary by CodeRabbit

  • New Features
    • Settings controls now have consistent styling, clearer selected-choice outlines, and improved screen-reader labels for icon-only buttons.
    • Added a pin control to set the default Roleplay background, distinct from favoriting a background.
    • Tracker temperature choices now appear as °C and °F, with °C as the default.
  • Bug Fixes
    • Delete buttons keep their theme color without pulsing when Accent Pulse is enabled.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7175 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/6/2026 **Status:** ✅ Merged **Merged:** 10/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/save-timeouts-button-7174` --- ### 📝 Commits (6) - [`abf5694`](https://github.com/Pasta-Devs/Marinara-Engine/commit/abf5694485489ec6bba17abac29911222f5d986b) fix(settings): match the Save timeouts button to Advanced Settings (#7174) - [`4e1df82`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4e1df8223495aa001d93ac3f94cfdc87bbd6af1a) fix(settings): give every Settings button one consistent style (#7174) - [`ec218c4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ec218c4cbb02ed2941a4c86be2a38ae21d83bf93) fix(settings): keep maintainer sizes, inline chips, clear selection and steady delete colour (#7174) - [`a5b330a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a5b330afe64c2c7a66eefa668d8f5fc7e7160852) Merge branch 'staging' into fix/save-timeouts-button-7174 - [`14616b9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/14616b9ae8b81687e19417c71ee2acf783f8ffd1) Merge remote-tracking branch 'origin/staging' into fix/save-timeouts-button-7174 - [`1c3b95b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1c3b95b529a968bd3507b2760c7457769bb89861) Merge remote-tracking branch 'origin/staging' into fix/save-timeouts-button-7174 ### 📊 Changes **18 files changed** (+518 additions, -581 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `docs/appearance/chat-backgrounds.md` (+6 -4) 📝 `docs/roleplay/hud-and-trackers.md` (+1 -1) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+235 -314) 📝 `packages/client/src/components/panels/settings/BackgroundPicker.tsx` (+92 -127) 📝 `packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx` (+14 -14) 📝 `packages/client/src/components/panels/settings/PersonalExtensionsSettings.tsx` (+23 -25) 📝 `packages/client/src/components/panels/settings/PromptOverridesEditor.tsx` (+12 -11) 📝 `packages/client/src/components/panels/settings/RequestTimeoutSettings.tsx` (+4 -1) 📝 `packages/client/src/components/panels/settings/SettingControls.tsx` (+20 -14) 📝 `packages/client/src/components/panels/settings/TrackerCardColorSettings.tsx` (+6 -13) 📝 `packages/client/src/components/panels/settings/UILanguageSetting.tsx` (+5 -4) 📝 `packages/client/src/components/ui/ColorPicker.tsx` (+9 -15) 📝 `packages/client/src/components/ui/ExportFormatDialog.tsx` (+3 -6) 📝 `packages/client/src/components/ui/TrackerCardColorControls.tsx` (+12 -23) 📝 `packages/client/src/features/multiplayer/MultiplayerSettings.tsx` (+16 -9) 📝 `packages/client/src/localization/locales/en.json` (+3 -0) 📝 `packages/client/src/styles/globals.css` (+56 -0) </details> ### 📄 Description ## Linked issue Closes #7174 ## Why this change The **Save timeouts** button in **Advanced Settings** used the selected-toggle style, so it looked like a pressed toggle instead of an action. An audit of every Settings button found the same kind of drift across the panel: about a dozen hand-made styles, actions painted as "selected", resets styled as text links, delete buttons that were not tinted, icon buttons without accessible names, and Tailwind overrides that never applied because the `.mari-chrome-control*` rules sit outside the CSS layers. Mari asked that every Settings button follow the same formatting classes. ## What changed One rule per role, using shared constants exported from `settings/SettingControls.tsx`: - **Primary** (the one main action of a section or sub-form, on its own line): `SETTINGS_PRIMARY_FULL_BUTTON_CLASS`, full width with a leading 0.8125rem icon, like **Copy support diagnostics** and **Save timeouts**. - **Secondary** (buttons in a row, a header, next to a field or on a list item, and resets): `SETTINGS_BUTTON_CLASS`, 0.75rem icons. - **Compact primary** (the main action inside a dense row, e.g. theme **Save**): `SETTINGS_COMPACT_PRIMARY_BUTTON_CLASS`, now primary emphasis at the small size without the baked-in `--selected`. - **Toggles, segmented controls and multi-select chips**: `SETTINGS_BUTTON_CLASS` items in a plain `gap-1` flex/grid with `type="button"` and `aria-pressed`. The selected look comes only from `aria-pressed`. Groups whose labels did not fit (tracker **Desktop size**, tracker card **Source / Stage / Finish**) now wrap instead of truncating. - **Choice cards** (Visual Style, Chat widget style, Chat Layout, Roleplay avatar style, Game dialogue display, Quote style, Quick reply actions): new `SETTINGS_CHOICE_CARD_CLASS` (`.mari-chrome-control--card`), selected via `aria-pressed`. The selected card gets a solid 2px accent ring (plus the focus ring outside it when focused). Idle titles keep the body text colour so they stay readable in light mode. - **Icon-only** (edit, delete, move, close, clear search, reset size): new `SETTINGS_ICON_BUTTON_CLASS` (`.mari-chrome-control--icon`, a 1.75rem square) with an `aria-label`. New keys: **Close theme editor**, **Delete backup**, **Remove color stop**. The custom generation parameter edit/delete icons keep the 16px (1rem) size chosen in #4125 inside that square. - **Inline token chips** (prompt override variables): `SETTINGS_BUTTON_CLASS` plus a new `.mari-chrome-control--chip` modifier (tighter sides) and regular-weight 0.6rem mono text, so they wrap two to a row as before. - **Destructive**: the role's class plus `mari-chrome-control--danger` (theme `--destructive`). While Accent Pulse or RGB Mode animates the accent, `--danger` uses `--marinara-app-accent-static`, the steady accent the editor shells and Decision warnings already use, so delete buttons and their icons do not pulse. This applies to every `--danger` button in the app (Characters, Personas, Lorebooks, sidebar and bulk actions too), not only Settings. - Dead utility overrides (padding, gap, radius, min-height, text colour, opacity, `disabled:*`, `!`) are removed, and the hard-coded emerald/amber button colours are gone. Also touched because they render inside Settings: `BackgroundPicker` (also used in the Chat Settings drawer and setup wizard), `ColorPicker` Reset / Add stop / Remove stop and `ExportFormatDialog` Cancel (also used by the Character, Persona and Lorebook editors), `TrackerCardColorControls`, `MultiplayerSettings`, `PersonalExtensionsSettings`, `PromptOverridesEditor`, `CustomGenerationParametersSettings`, `UILanguageSetting` and the notification sound controls. Notable visible changes: - The tracker temperature unit is a °C / °F segmented pair instead of a sliding switch. - **Create Theme** / **Import File** are standard buttons instead of dashed tiles. - **Open Android launcher**, **Restart Server**, **Open Console**, **Check Avatar Storage**, **Fix documentation** and **Download Illustrator Agent** are full-width primaries. - In the Background Library card toolbar, **Default** is now a pin icon toggle, so the hover toolbar stays on one row and no longer covers the thumbnail you click to select. The "Default" badge on the thumbnail now also shows on phones. Left unchanged (out of scope): switches, `<details>` and disclosure headers, tab bars and the Appearance group switcher, colour swatches, navigation rows, HelpTooltip glyphs, the shared Modal close X, `TouchDragHandle`, the `ChatResourceActionButton` component itself, and `TTSConfigCard` (not rendered in Settings). ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Agent-run checks on `ec218c4cb` (these do not replace the boxes above): - `pnpm check`: passed. - Restored `core-flows.e2e.ts` "custom generation parameters become reusable chat controls" (original 16px assertion, unchanged from staging): passed on desktop-chromium (the test skips mobile by design). - `core-flows.e2e.ts` Settings switches, custom theme live preview, gradient Accent Pulse, Danger Zone gate for external Agent imports, and the three Background card / library / re-import tests, desktop-chromium + mobile-webkit: 12 passed, 4 skipped (project-specific skips). - `accent-pulse.e2e.ts`, `chat-widget-style.e2e.ts`, `background-download.e2e.ts`, desktop-chromium + mobile-webkit: 43 passed, 5 skipped. - A throwaway Accent Pulse probe (not committed) sampled the Danger Zone **Clear All Data** button 8 times over 3 seconds in dark and light, desktop-chromium and mobile-webkit: `--primary` took 7 values, the button text, border and icon colour took 1. With the new rules disabled, the same probe saw 8 different colours. - Close-ups recaptured in light and dark, desktop and phone: prompt override variable chips (two per row again), Visual Style / Chat widget style / Quote style / Chat Layout / Roleplay avatar / Game dialogue cards (2px accent ring on the selected card). - `prettier --check` on the changed files: clean except a pre-existing issue in `globals.css` around line 6550 that is also on staging. - Local CodeRabbit: rate limited (3 reviews used, 26-minute wait), so it did not run on `ec218c4cb`. Earlier checks on `4e1df8223`: - `pnpm check`: passed. - `pnpm smoke:ui`: 7 passed. - `pnpm regression:ui` on desktop-chromium and mobile-webkit for `accent-pulse`, `afternoon-sweep`, `assigned-chat-sweep`, `assigned-sept27`, `background-download`, `conversation-background-opacity`, `game-experience-setup`, `multiplayer-controls`, `multiplayer-guest-isolation`, `roleplay-vn`, `topbar-accessibility`, `ux-feedback-sweep`, `chat-widget-style`, `ios-export-save` and `chat-position`: 256 passed, 18 skipped, 4 failed under 3 workers. All 4 passed when rerun serially. One of them ("Roleplay omits Reply…") failed once more and then passed 4 of 4 with `--repeat-each=2`; it times out waiting for the chat composer before Settings opens. - `core-flows.e2e.ts` cases that use these controls (Settings switches, theme live preview, Personal Extensions and Danger Zone gates, custom generation parameters, profile import, Updates, Background cards / selection / organization), desktop-chromium and mobile-webkit: passed. - Before/after screenshots of every Settings tab and 53 button groups, light and dark, desktop and phone, were compared. ### Manual verification notes Check each tab in light and dark mode, on desktop and at phone width: - **Settings shell:** Manually verify that the search clear X sits inside the search field and that Quick Access chips wrap without cutting off long names. - **General:** Manually verify that the Send on Enter chips show which modes are on and the Quote style cards show the selected style. Check the custom quick reply Add, emoji and Remove buttons, and the notification sound Preview, Choose and Remove buttons (Remove tinted as delete). - **Appearance > App:** Manually verify the Visual Style and Chat widget style cards: the selected card should be obvious and idle titles readable. Check Reset width, Reset button size, Google Fonts Add (not shown as selected), the text outline **Reset to default**, and Browse library / Clear selection. - **Appearance > App, Background Library:** Manually verify the source, folder and tag chips and New Folder. The card hover toolbar should sit on one row with the pin toggle, and clicking the thumbnail should still select it. Check the remove-tag chips while editing tags, and Import Backgrounds next to the search field. - **Appearance > App, gradient colour picker:** Manually verify the Add stop and Remove stop buttons. - **Appearance > Conversation:** Manually verify the Chat Layout cards, the Avatar shape toggles, the Dark / Light gradient scheme toggle and its reset button. - **Appearance > Roleplay:** Manually verify Chat position, Reset opacity, the Roleplay avatar style cards and the tracker card order buttons. Check tracker Desktop size (it wraps rather than truncating), Thought and Stat display, °C / °F, and Card colors Source / Stage / Finish plus Revert / Save. - **Appearance > Game:** Manually verify the Game dialogue display cards. - **Generations:** Manually verify image style profile Clone / Reset / Delete (Delete tinted), the prompt override variable chips and Save / Reset to Default, and the Download Illustrator Agent empty state. - **Add-ons:** Manually verify Create Theme / Import File, the edit / export / remove icons on a theme row, and the theme editor close X, Preview toggle and Save. - **Imports:** Manually verify Import Profile, Import from SillyTavern Folder, the four SillyTavern import buttons, Asset Browser / Rescan and the folder shortcuts. Upload to Server should not be highlighted before files are chosen. - **Advanced:** Manually verify admin Save / Restart Server, Check for Updates / Apply / Download / Refresh App, Copy Support Diagnostics, Save timeouts and Open Console. Check the backup frequency toggles, Download Backup / Export Profile, the Delete backup icon, and Check Avatar Storage / Delete Abandoned Avatars. Also check the Danger Zone buttons and confirm, the custom parameter edit / delete / Cancel / Save / Add buttons, and Multiplayer Enable / Create / Join / Review / Request to join. - **Personal / External Extensions** (needs `ENABLE_EXTERNAL_EXTENSIONS=true` and the Danger Zone opt-in): Manually verify Import file / folder, the power and delete icons on list rows, and the editor's Back / Enable / Export / Save / Restore Draft. - **Other editors:** Manually verify that the Export dialog Cancel and a colour picker inside the Character or Persona editor still look right. - **Accent Pulse:** With Accent Pulse on, manually verify that delete buttons (Danger Zone **Clear All Data**, a theme row's trash icon, a background's trash icon) stay one steady colour while other accent buttons pulse, in light and dark. - **Selected cards:** Manually verify that the selected Visual Style, Chat widget style and Quote style card has an obvious accent ring in light and dark, and that keyboard focus on it is still visible. ### Follow-ups noticed, not changed here - **No confirm before deleting:** style profile Delete, Remove custom quick reply, Delete backup (which also has no error toast), the custom notification sound Remove, and Multiplayer disable. **Reset Appearance** clears every appearance preference without a confirm. - **Keyboard:** the SillyTavern `ImportButton` is a `<label>` around a hidden input, so keyboard users cannot reach it. - **Hard-coded colours outside buttons:** amber, green and emerald remain on the docs Fix and update warnings, the "latest version" and prompt override saved checks, and the CSS editor. - **Delete colour with custom themes:** while Accent Pulse runs, a theme that sets its own `--destructive` shows the steady accent on `--danger` buttons (marked with a `ponytail:` comment). A `--marinara-danger-*` theme hook is the upgrade path. - **Reset Roleplay default** in the background library still uses a star icon, which is also the favourites icon. - **Unused keys:** the old temperature switch's three `en.json` keys are no longer used. ### Review concerns addressed in `ec218c4cb` - **Custom parameter icon size (maintainer decision in #4125):** back to 16px (1rem). The core-flows assertion that `4e1df8223` rewrote is restored exactly as on staging. No other test was edited in this PR. - **Prompt override variable chips** were one per row on desktop. They wrap two to a row again. - **Selected choice cards** were less visible than before. They now have a solid 2px accent ring in light and dark. - **Delete buttons pulsed** under Accent Pulse because `--destructive` defaults to the accent. They now hold the steady accent, the approach used for the Decision warnings and editor shells. - **Docs** now describe the new controls (below). ### Docs changed - `docs/appearance/chat-backgrounds.md`: the default Roleplay background is set with the pin icon, and a **Default** label marks it. The star is for favorites. **Reset Roleplay default** is a button. Tags are removed by clicking the tag while tag editing is open. - `docs/roleplay/hud-and-trackers.md`: **Temperature unit** is a **°C** / **°F** choice. These need a `docs-i18n` follow-up. It has not been opened yet. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Settings controls now have consistent styling, clearer selected-choice outlines, and improved screen-reader labels for icon-only buttons. * Added a pin control to set the default Roleplay background, distinct from favoriting a background. * Tracker temperature choices now appear as °C and °F, with °C as the default. * **Bug Fixes** * Delete buttons keep their theme color without pulsing when Accent Pulse is enabled. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:05:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7611
No description provided.