Repository navigation
F4: windowed comparison grid with the Flows mount and large mock workload (#23) - #68
Merged
Merged
Conversation
…efs #22) Row geometry comes from whole-selection P/N extrema (spec §6.6): positive-only and negative-only rows keep H, mixed rows grow to H × (P + N) / M with the axis H × P / M below the top, and M = 0 rows keep a thin near-top baseline. Floats are derived only for pixels via an exponent-aware ratio. One SignedValueCell serves Flows and Scores with adaptive value-only labels, full-lexeme hover/focus tooltips, blank absence, N/A and no bar for zero. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
QA D1: in lopsided mixed rows with under 1 px on the smaller side, the 1 px minimum bar was clamped across the axis. Bars are now always anchored at zero, capped by the room on their own side, with the hairline extending into the cell padding instead. QA D2: M is chosen by exact magnitude comparison rather than a float ratio. Also announce absent cells via visually-hidden text and correct the decimalRatio doc. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…23) One scroll container virtualizes both flow rows and process columns. Row heights come from whole-row summaries via resizeItem (scroll anchored). A bounded sticky block shows the seven Flows identifying fields, stripes follow the row index, the header strip is kept in horizontal sync, and one roving cell is the tab stop. Cells are read as fixed row x column tiles, so windows that leave the viewport are cancelled. Adds the validated mock-only ?mock-scenario=large workload (220 processes, 2,000 generated mixed-sign rows). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…0 workload (Refs #23) - Report the viewport-plus-overscan range, not the always-mounted active cell, so a far tab stop never widens the summary/cell window. - Render loading cells through SignedValueCell and key rows by index within a comparison token, so focus survives data arrival; reset measured heights when the token changes. - Round row heights to whole px so virtualized row starts never drift. - Hide present-value tooltips from assistive technology (the accessible name already holds the full lexeme). - Add grid-model, Flows grid component and composition tests plus the Chromium flows-grid spec for the large mock scenario. Co-Authored-By: Claude Opus 5.5 <[email protected]>
6 tasks
…s (Refs #23) QA D1: any add, remove or reorder emptied the grid, reset scroll to the top and dropped focus. Rows and summaries are now read for the canonical sorted process set, so a reorder re-reads nothing; a changed selection keeps the previous comparison shown (busy, with an updating status) and reads nothing with its token; and measured heights are no longer reset per token but corrected, scroll-anchored, as summaries arrive. Co-Authored-By: Claude Opus 5.5 <[email protected]>
QA D2: a selection change that added or removed rows above the viewport kept the pixel offset but showed different flows. The grid now records the flow at the viewport top and the offset into it; when a new row set is shown it loads row pages until that flow is located and restores it at the same offset. The active cell follows its flow by key, and keyboard focus returns to it if its node changed. Tests now check which flow is visible, and that nothing is read while the previous comparison is shown (O6). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#23) QA round 3: D3, the restored position was overwritten as row heights were corrected; D4, a scroll made during an update was undone; and adding processes or removing one above the view still shifted the visible flows. The grid now anchors the view itself (the virtualizer's size adjustment is off): after every scroll it records the loaded rows from the viewport top with their layout starts, and after any layout change it scrolls by exactly how far the first surviving recorded flow moved. It reports the anchor flows to useFlowGrid, which keeps the previous comparison shown until one is loaded in the new comparison, so new rows never appear at a stale position. When every recorded flow is gone, the grid re-anchors on the rows in view, and focus follows the active cell whenever its node changes meaning (O8, O9). Tests check the flow identity and offset after heights settle. The large-scenario composition test gets an explicit timeout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closed
5 tasks
Owner
Author
# Conflicts: # apps/frontend/src/components/comparison/SignedValueCell.tsx # apps/frontend/src/components/comparison/geometry.ts # apps/frontend/src/services/README.md
Owner
Author
|
Coordinator: #67 merged (rebase, 84643b2). Retargeted this PR to 🤖 Generated with Claude Code |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #23 (F4-04). Phase 1, mock services only.
Stacked on #67 (#22): this PR's base is
feat/f4-signed-bars. Merge #67 first; this PR is then retargeted tomain.Behavior
Windowed grid.
ComparisonGridis the grid shared by Flows now and Scores later (#28).resizeItem, so content stays put when rows load.Bounded reads (
useFlowGrid):Large mock scenario.
?mock-scenario=largegives 220 processes and 2,000 generated mixed-sign rows.Smaller changes:
rowGeometry().rowHeightis now rounded up to whole px; chart geometry is unchanged.Checks (workspace container)
e2e/flows-grid.spec.ts.Limitations
🤖 Generated with Claude Code