okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
2.9 KiB54 linesraw

T16 · Settings and Setup: remaining findings

Phase 3 · 7 findings (0 high, 2 medium, 5 low) · Depends on: T02, T09

Goal

Make the Settings index follow the visible section, and finish the Setup flow after T09.

Files to change

These are the likely files. Read them before editing, and change others only if the fix needs it.

  • src/screens/Settings.tsx
  • src/screens/Setup.tsx
  • server/setup.mjs

Findings to fix (high and medium)

#SeverityStateIssueSuggested fix
1Mediumsettings-searchWhile searching "motion", the index highlights "About" but the only result is under Reading & focus (same lag in Privacy state)highlight follows visible section; during search, highlight the result's section or none
2Mediumsetup-advanced"Advanced" opens a second modal on top of the setup modal, containing only the same context dial already on the page behind itinline disclosure, or drop — nothing new inside

Optional polish (low)

Do these only if the task is otherwise done and the budget allows.

#SeverityStateIssueSuggested fix
1Lowsettings-generalReading size value wraps to two lines ("16" / "px")nowrap, fixed width value
2Lowsettings-generalGeneral contains a single row (Keyboard shortcuts)fold into Reading & focus, or add Language/Startup here
3Lowsettings-reading-focusOption label "Standard / system" uses a slash"Follow system" (matches Motion)
4Lowsettings-storage"Manage models" (plural)"Manage model versions" → Model page
5Lowsetup-prepareFooter line "Global · all chats · A model operation is in progress. View requests"drop; progress already shown

How to check

Run these and fix anything that fails:

  • npm run typecheck
  • node --test tests/ (all existing tests stay green)
  • npm run check (typecheck, UI audit, contrast, measure, luminance)
  • npm run build

Task-specific checks:

  • The Settings index highlights the section under the sticky header while scrolling (IntersectionObserver with a top offset).
  • No scrollIntoView calls remain in Settings; use container.scrollTo with an offset.
  • Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.

Screens to re-capture and compare with the audit screenshots in docs/evidence/audit-2026-10-07/:

  • settings-search-light.png
  • settings-general-light.png
  • settings-reading-focus-light.png
  • settings-storage-light.png
  • setup-advanced-light.png
  • setup-prepare-light.png

Done when

  • All checks pass.
  • Commit on branch fix/t16-settings-setup with message T16: Settings and Setup: remaining findings.
  • Append a short entry to audit-fixes/PROGRESS.md: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.
1# T16 · Settings and Setup: remaining findings
2
3**Phase 3** · 7 findings (0 high, 2 medium, 5 low) · Depends on: T02, T09
4
5## Goal
6Make the Settings index follow the visible section, and finish the Setup flow after T09.
7
8## Files to change
9These are the likely files. Read them before editing, and change others only if the fix needs it.
10- `src/screens/Settings.tsx`
11- `src/screens/Setup.tsx`
12- `server/setup.mjs`
13
14## Findings to fix (high and medium)
15| # | Severity | State | Issue | Suggested fix |
16|---|---|---|---|---|
17| 1 | Medium | `settings-search` | While searching "motion", the index highlights "About" but the only result is under Reading & focus (same lag in Privacy state) | highlight follows visible section; during search, highlight the result's section or none |
18| 2 | Medium | `setup-advanced` | "Advanced" opens a second modal on top of the setup modal, containing only the same context dial already on the page behind it | inline disclosure, or drop — nothing new inside |
19
20## Optional polish (low)
21Do these only if the task is otherwise done and the budget allows.
22
23| # | Severity | State | Issue | Suggested fix |
24|---|---|---|---|---|
25| 1 | Low | `settings-general` | Reading size value wraps to two lines ("16" / "px") | nowrap, fixed width value |
26| 2 | Low | `settings-general` | General contains a single row (Keyboard shortcuts) | fold into Reading & focus, or add Language/Startup here |
27| 3 | Low | `settings-reading-focus` | Option label "Standard / system" uses a slash | "Follow system" (matches Motion) |
28| 4 | Low | `settings-storage` | "Manage models" (plural) | "Manage model versions" → Model page |
29| 5 | Low | `setup-prepare` | Footer line "Global · all chats · A model operation is in progress. View requests" | drop; progress already shown |
30
31## How to check
32Run these and fix anything that fails:
33- `npm run typecheck`
34- `node --test tests/` (all existing tests stay green)
35- `npm run check` (typecheck, UI audit, contrast, measure, luminance)
36- `npm run build`
37
38Task-specific checks:
39- [ ] The Settings index highlights the section under the sticky header while scrolling (IntersectionObserver with a top offset).
40- [ ] No scrollIntoView calls remain in Settings; use container.scrollTo with an offset.
41- [ ] Each finding above is resolved, or marked "already fixed by Txx" or "not reproducible" with a one-line reason.
42
43Screens to re-capture and compare with the audit screenshots in `docs/evidence/audit-2026-10-07/`:
44- `settings-search-light.png`
45- `settings-general-light.png`
46- `settings-reading-focus-light.png`
47- `settings-storage-light.png`
48- `setup-advanced-light.png`
49- `setup-prepare-light.png`
50
51## Done when
52- All checks pass.
53- Commit on branch `fix/t16-settings-setup` with message `T16: Settings and Setup: remaining findings`.
54- Append a short entry to `audit-fixes/PROGRESS.md`: what changed, which findings were fixed, skipped or not reproducible, and anything the reviewer should look at.