Skip to content

Put every setting on the page instead of in folds and drop-downs - #169

Merged
rndaom merged 1 commit into
mainfrom
rndaom/pane-sections
Oct 2, 2026
Merged

rndaom merged 1 commit into
mainfrom
rndaom/pane-sections

Conversation

@rndaom

@rndaom rndaom commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Settings were spread across caret folds ("Fine-tune modules", "HUD options", "Customize weapons", "Pitch and repeat timing", Mods' file check and Casual lists, credits) and a few <select> menus. Folds made the panes look unfinished and hid settings people need to find. This replaces each fold with a layout that shows everything.

What changes

  • Comfig gets two tabs: Preset and addons, and Modules. Modules lists all 40 modules grouped by category, with search and All / Changed / category filters. The tab shows how many modules differ from the preset.
  • HUD: an installed HUD's options are always shown, in columns by schema section. Combos with more than four choices and HUD crosshair glyphs are chip pickers instead of <select> menus.
  • Viewmodels: each class is one Shown / Hidden / Hands only table, with every weapon group under its slot. This replaces Customize weapons and its per-weapon menus. Discard choices moves into the toolbar.
  • Sounds: pitch and repeat delay sit in each sound's own column.
  • Mods: File check, Casual addons and particles, and each pack's Casual note are plain sections. The "About these results" note only appears with an empty page, which is the one time it matters.
  • App settings credits, Inventory history item IDs, and the mod and profile import reviews show their details directly.

There are two new shared controls: ChoiceChips, a wrapping version of the segmented pill, and ChoiceMatrix, rows of one choice under shared columns. Disclosure and the fold caret are removed. The HUD, Mods and Comfig tab strips now share one hairline, where the old markup drew two.

The design rules in docs/ARCHITECTURE.md, the pane guides and the changelog are updated.

Overlaps with #168 in ViewmodelBuilder.tsx. Whichever lands second keeps #168's out-of-date notice and "stays partly visible" lines in the new table.

Checks

  • pnpm test: 1,417 desktop, 172 cfglint and all script tests pass.
  • pnpm check and pnpm build pass.
  • Checked in the browser preview at 1280×800 and 960×640: Comfig, HUD, Viewmodels, Sounds, Mods and App settings.

Panes no longer hide settings behind caret folds:

- Comfig splits into Preset and addons, and Modules. Modules lists all
  40 modules grouped by category, with search and a Changed filter.
- HUD options are always shown, in columns by schema section. Combos
  with more than four choices and HUD crosshair glyphs are chip pickers
  instead of <select> menus.
- Viewmodels shows each class as one Shown / Hidden / Hands only table,
  with every weapon group under its slot, replacing Customize weapons
  and its per-weapon menus. Discard choices moves into the toolbar.
- Sounds puts pitch and repeat delay in each sound's column.
- Mods: File check, Casual addons and particles, and each pack's Casual
  note are plain sections; the "About these results" fold is gone.
- App settings credits, Inventory history item IDs and the mod and
  profile import reviews show their details directly.

New shared controls: ChoiceChips (a wrapping segmented pill) and
ChoiceMatrix (rows of one choice under shared columns). Disclosure and
the fold caret are removed; HUD, Mods and Comfig tab strips share one
hairline. Spec, guide pages and changelog are updated.
@rndaom
rndaom merged commit 49c8b28 into main Oct 2, 2026
12 checks passed
@rndaom
rndaom deleted the rndaom/pane-sections branch October 2, 2026 23:53
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.

1 participant