Repository navigation
Conversation
fehmer
force-pushed
the
feature/ts-charts-s4-account-histogram
branch
from
November 26, 2026 02:02
b4dad76 to
ddca80b
Compare
…count histogram (@fehmer)
fehmer
force-pushed
the
feature/ts-charts-s4-account-histogram
branch
from
November 26, 2026 15:21
ddca80b to
80d8767
Compare
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.
Summary
S4 of
docs/specs/tanstack-charts: the account page histogram goes through the dev parity flag, following the S3 pattern.<HistogramChart> (src/ts/components/pages/account/HistogramChart.tsx) buckets() # groupIntoBuckets, now { label, count } rows + definition = buildHistogramChartDefinition(buckets(), getTheme) # pure, spec'd - <ChartJs name="Histogram" .../> # stepping stone; removed in S12 + <Show when={getUseTanstackCharts()}> + <Chart definition ariaLabel height=200 initialWidth=640 /> # the 200 px container, h-50Evidence
__tests__/components/pages/account/HistogramChart.spec.tsx), asserted throughcreateChartScene:133 passed (133),2011 passed (2011)— existing specs unchanged.pnpm oxlint --type-aware --type-checkclean;oxfmt/lint-stylesclean.Testsy axis matchTests: Nin both; the TanStack half adds the library's focus dot (same as S3)vendor-chart416.49 kB / 137.96 kB gzip — identical to S2/S3 (no new library imports); the component lands in the app chunk.subAltper the spec; after the S1 post-draft fixes, S3's about histogram does too.Merge Danger
Door: two-way.
A dev-only flag selects the renderer, default Chart.js; reverting deletes one half of one component plus one spec file.
Blast Radius: the account page histogram behind a dev-only switch — no production change until the S12 move. Stacked on #8624 (S2, on #8623).