# Atlas iteration 13 — find a metric and adjust the overview

**Status:** deployed to [Training Atlas](https://app.training-atlas.workers.dev). This scoped refinement addresses the remaining Today-header, metric-catalog and adjustment-affordance observations in [daily review 8](../../../../../reviews/v08/daily-products-cold-8/score-ledger.md). The review's **82/100** remains attached to iteration 11 and its operated scope.

[Source patch](source.patch) · [Matched measurements](comparison.json) · [Actual flows](verification.json) · [Public verification](public-verification.json)

## The retained direction

The pale workout block gives Today one dominant action. Dark, open recovery readings and the lavender sleep ribbon give the adjacent health context a clear identity. The saved composition is useful during editing. This change retains the six primary cards' exact rectangles in both ordinary and editing states at 1440 × 900, 390 × 640 and 320 × 568.

The next task is to choose a metric and arrange it without scanning a long catalog or interpreting a drag-only-looking symbol.

## What changed

- **Search the existing metric catalog.** Search appears only inside the existing “選擇總覽指標” disclosure. It matches the displayed label or metric code; clearing and an empty result preserve every selection. The regular and native overview use the same control. Reset remains beside the disclosure when the search expands.
- **Recognize the adjustment menu.** The existing 44 px block control now uses the app's three-dot menu icon. Its position, drag behavior, move commands, width and Hide controls remain. No extra row or repeated block title is introduced.
- **Keep the 320 px Today header quiet.** The occasional device shortcut yields its place below 351 px. Edit and Coach remain. The existing Health device control opens the same device/sync dialog; More still opens Galaxy Watch settings. Record sync remains in the existing shell status.

Search stays within the current visual system: 16 px input text, a clear focus outline, 24 px checkbox paint and the existing minimum 44 px clickable labels. Escape first clears a query, then closes the disclosure and returns focus to its summary.

## Matched observations

The complete previous deployed build and the final build were loaded in isolated contexts using the same fresh synthetic account, fixed clock, locale, six selected metrics and viewport. Both contain the same 31 available metric choices. Catalog captures wait for the existing disclosure transition to finish.

| Observation | Before | After |
|---|---:|---:|
| Today header actions, 320 × 568 | 3 | 2 |
| Open catalog height, 390 × 640 | 582 px | 411 px |
| Open catalog height, 320 × 568 | 738 px | 378.59 px |
| Six primary card rectangles, ordinary view, all three sizes | Recorded | Identical |
| Six primary card rectangles, editing, all three sizes | Recorded | Identical |
| Horizontal page overflow, all three sizes | None | None |

Searching for 握力 reduces the displayed choices from **31 to 1**. At 390 px, the target moves from y = 385 to y = 180; at 320 px, from y = 489 to y = 180. These are task comparisons: the after state includes the entered search query; the before catalog has no search control. The matched unfiltered catalog pairs remain available separately.

### Pairs for the case viewer

| Pair | Before | After |
|---|---|---|
| Quiet Today header · 320 × 568 | [Before](before/overview-320.png) | [After](after/overview-320.png) |
| Recognizable controls, same preview · 1440 × 900 | [Before](before/editing-1440.png) | [After](after/editing-1440.png) |
| Same 31-choice catalog · 390 × 640 | [Before](before/catalog-390.png) | [After](after/catalog-390.png) |
| Same 31-choice catalog · 320 × 568 | [Before](before/catalog-320.png) | [After](after/catalog-320.png) |

The [filtered phone result](after/filtered-390.png) and [filtered narrow result](after/filtered-320.png) show the new search task. [Move controls](after/move-390.png), [saved custom layout](flows/saved-layout-390.png), [short search](flows/search-short-390x360.png) and [actual device sync](flows/device-sync-320.png) show adjacent working states.

### Tradeoffs

The bounded catalog initially exposes fewer choices; remaining choices stay in its native scroll region. Search gives a direct path to a known metric. On desktop, opening the catalog grows from 218 to 267 px because the search occupies 49 px; the closed disclosure and daily workspace keep their height. At 320 px, opening the device/sync dialog through Health takes two activations instead of the removed one-activation Today shortcut. Both device paths and an actual sync were exercised.

A new persistent utility row, a second settings menu and a separately redesigned dashboard were rejected. The current control footprint and existing navigation provide the needed routes.

## Actual verification

Nine affected-flow groups completed:

1. Enter the disclosure from the keyboard, Tab into search, type 握力, then Tab/Space to select the exact result.
2. Clear the query, inspect a zero-result query and use Escape; retain all selected metrics and restore focus.
3. Complete editing and immediately reload; retain the selected metric.
4. Use the adjustment summary and keyboard Move earlier; choose half-width and hide VO₂max; immediately reload and retain the exact layout.
5. Change order again, then Cancel; retain the saved order and widths.
6. At 320 px, open Galaxy Watch through More and the same device dialog through Health; complete actual Sync.
7. Search at 320 px with no horizontal overflow and a readable result.
8. Reduce the active search viewport to 390 × 360; retain focus and reach the result.
9. Open the existing applied HRV custom range; retain the selected **71.3 ms** reading and collapsed range controls.

The eight changed-flow groups completed in [probe 2](verification-probe-2.json). Its final HRV selector incorrectly required the value without its adjacent unit; the corrected selector completed in [the HRV check](hrv-check.json). [The combined result](verification.json) keeps these sources explicit. [The replay](verify.py) includes that corrected selector for future runs.

Two interface audits, the ordinary 390 px overview and the 320 px filtered catalog, record **zero findings**. All operated sessions record **zero page errors**. Typecheck and the final normal Vite build return exit 0. The scoped source whitespace check returns exit 0. Earlier animation captures, the first candidate's separate Reset row, changed-fixture captures and failed harness probes remain in [probe notes](probe-notes.md) with their original files.

The synthetic fixture was returned to its original metric selection and default visible composition through the actual UI. The final matched captures assert the complete six-label selection equals the before selection; fixture mutations from the workflow replay are excluded from those pairs.

## Source and runtime

Eight production files changed:

- `apps/web/src/components/TodayOverview.tsx` and `TodayOverview.css`
- `apps/web/src/components/OverviewBlocks.tsx` and `OverviewBlocks.css`
- `apps/web/src/components/OverviewMetricSettings.tsx` and `OverviewMetricSettings.css`
- `apps/web/src/pages/Overview.tsx` and `NativeOverview.tsx`

The [before source](source-before/) and [after source](source-after/) accompany the narrow patch. Recording, algorithms, routing, storage schema and saved-layout mutation logic are unchanged. No Atlas file was staged, committed or reset.

[Registration](registration.json) records the task before source changes, the complete 22-file shipping skill capture, the actual chapters read, the working-tree context and elapsed work. This is a feedback-led implementation with inherited context, followed by direct actual-flow verification; no new independent score is assigned here.

| Runtime | Entry JavaScript | Entry stylesheet |
|---|---|---|
| Before | `/assets/index-FK5VV3cQ.js` | `/assets/index-BZbRL8tg.css` |
| Deployed | `/assets/index-DazEWXD-.js` | `/assets/index-BZbRL8tg.css` |

The final build was copied to the existing main and preview roots, assets first and index last, with older assets retained. Both service PIDs remain unchanged. The public page, current entry JavaScript and stylesheet return HTTP 200. [Deployment receipt](deployment.json) · [Actual main/preview browser check](deployment-browser.json).

## Repeatability

The matched fixture is private at `/home/nvidia/ping/training-atlas/.artifacts/v08/iteration-13/fresh-verified/`. The complete previous and final build directories are `baseline-dist` and `after-dist` under that iteration directory.

Run `capture.py before <absolute-baseline-dist>` and `capture.py after <absolute-after-dist>` with the installed Python Playwright runtime. `verify.py` operates the changed workflow on that private synthetic account; `deployment-browser.py` checks the actual deployed services without request interception.

For a fresh reviewer, run [fresh-fixture.py](fresh-fixture.py) with a **new private output directory**. It creates the missing fixture subdirectory before invoking the established seed. This helper was executed successfully; its generated credentials and browser state remain private. It contains setup only, with no score or diagnosis. It reuses the existing preview service.
