Skip to content

F4: assemble the Flows comparison with exact missingness and cell warnings (#24) - #71

Merged
DavidVFitzGerald merged 4 commits into
mainfrom
feat/f4-flows-composition
Nov 15, 2026
Merged

DavidVFitzGerald merged 4 commits into
mainfrom
feat/f4-flows-composition

Conversation

@DavidVFitzGerald

Copy link
Copy Markdown
Owner

Refs #24

Based on main after #68 merged (merge commit e88733a; this branch starts at its parent dc1f06e, whose tree equals main).

Behaviour

  • Union and removal (AC1). The mock fixture now uses Alpha's reference flow as a present Technosphere input of Gamma, so the same flow ID appears under two types as two rows, each with its own key and cells. If you deselect a row's last contributor, through the tree or the Selected list, that row goes away. Other selections and the column order stay the same.

  • Order (AC2). The upper-atmosphere subcategory is now Upper atmosphere. Case-insensitive order puts it after lower atmosphere, and a code-point order would reverse them. The grid renders rows exactly as the service orders them.

  • Identifying fields and values (AC3/AC4). Flows-level assertions cover: technosphere Location and Process Name from the service, — for ecosphere rows, present zero shown as 0, absence shown as a blank, and full lexemes in tooltips.

  • Cell warnings (AC5). FlowCell.warnings render generically on the affected cell only:

    • a bordered ! badge in the top-right padding, which does not rely on colour alone;
    • a tooltip on hover and keyboard focus that shows the value and then each warning;
    • … . Warning: <messages>. in the accessible name.

    Geometry, row height and labels do not change. The provisional mock code UNRESOLVED_REFERENCE_FALLBACK sits on Beta's recovered-material cell and is documented in src/services/README.md.

  • Empty and single-process states (AC6) and empty-selection transitions (AC8). The grid stays unmounted when nothing is selected, as before. Tests cover:

    • the empty state on first visit and after the last removal;
    • going from N to 0 to 1 with no stale "Updating…" message or row count;
    • a single-process union;
    • the comparability warning above unnormalized values.

    useFlowGrid is unchanged, so the Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 hold, error and retry path is untouched.

  • Readability and fixed headers (AC7, O2/O3).

    • Type values use compact labels (Ref/Tech/Eco in/Eco out), with the full type in title and in the rowheader's accessible name.
    • Header labels can wrap to two lines.
    • Each inner column has a pixel minimum. The Flows block minimum is 410 px, and it stays bounded at 36%, up to 560 px.
    • The page is exactly viewport-tall. The sidebars scroll internally and are position: relative, so visually hidden descendants no longer extend the page.

Checks (workspace container)

See the Engineering handoff on #24 for exact commands and results: format:check, lint, typecheck, test:unit (twice), build, test:e2e (Chromium).

Limitations

  • UNRESOLVED_REFERENCE_FALLBACK is a provisional mock code. I1 reconciles it with the ETL's public warning codes.
  • Mock checks do not prove real authentication, authorization or data security.
  • The flows-grid.test.tsx and new composition suites now run with a 20 s budget. Under a full parallel run, the first large-workload mount took 4.6–5.9 s, against the 5 s default (about 2.5 s on its own). No assertions changed.
  • Firefox e2e was not run (only --project=chromium, per the plan).

🤖 Generated with Claude Code

DavidVFitzGerald and others added 4 commits November 15, 2026 07:31
…(Refs #24)

Alpha's reference flow is also Gamma's Technosphere input, the upper
atmosphere subcategory is mixed case, and Beta's recovered-material cell
carries a provisional UNRESOLVED_REFERENCE_FALLBACK warning. Service tests
cover distinct rows, case-insensitive order and single-cell placement.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#24)

Cells show service-supplied warnings with a non-colour badge, tooltip and
accessible name, without changing geometry. Type values use compact labels
with the full type in title and name; header labels wrap; inner columns
have minimums. The page is viewport-tall with internally scrolling sidebars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jsdom App tests and a Chromium scenario cover the row union and its
removal, service order, identifying fields, exact values, per-cell
warnings, empty and single-process states, empty-selection transitions and
the readable, fixed-header layout at 1440x900 and 1280x800.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Under a full parallel unit run the first 220-process mount took 4.6-5.9 s
against the 5 s default (about 2.5 s alone). No assertions change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DavidVFitzGerald

Copy link
Copy Markdown
Owner Author

Coordinator: QA PASS at 3561927 (#24 (comment)), quality check passes, PR #71 is mergeable against main. State → ready for maintainer review. #24 closes after the maintainer merges PR #71.

QA observations carried forward: O1 (unit suite ~73 s, several large-grid tests near their time limits) noted on #26; O4 (≈2.6 process columns at the 960 px minimum width with the sidebar open) is for visual UAT; O5 UNRESOLVED_REFERENCE_FALLBACK stays provisional until I1.

🤖 Generated with Claude Code

@DavidVFitzGerald
DavidVFitzGerald merged commit deb4f29 into main Nov 15, 2026
1 check passed
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