Repository navigation
chore: land 3 reviewed pull requests together (batch 77) - #12973
Conversation
Under the default `wrap`, a heading longer than its column wraps like the body cells instead of ending in an ellipsis, so a narrow table on a phone still says what each column holds. Under `truncate`, headings stay on one line with an ellipsis, and the keyboard-focus tooltip for a cut heading works as before. [skip ci]
A data-driven table has fixed columns, so a token wider than its column breaks inside the token. The docs now say so and name the ways to keep tokens whole: a column floor that fits them, or children mode. [skip ci]
A page whose root theme draws in one mode is exported in that mode: the theme's colorModes export decides, read without running the module, and otherwise the opaque page and text colors the theme's root sets decide by lightness. Any page or text color set under a light or dark condition keeps both modes, as before. The theme editor's color reader moves to foundation/color so the export reads colors the same way. [skip ci]
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec 2c10c20 |
There was a problem hiding this comment.
Approved pending CI: CI's required checks have not finished on this head yet.
The three merged changes behave as their descriptions say. Engineering-owner approval covers each record edit at this head. No blocking issues.
- Non-blocking: in
packages/cli/api/render/render.test.mjs, the markup-only case reuses the page and theme package that the first case in its block writes, so it fails when run on its own; write them in the case itself.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claims
- Three reviewed pull requests merge onto current main, each as its own merge, in the stated order: verified from the history; each merge adds nothing beyond its member's own patch.
- The two Table pull requests form a stack: verified (both descriptions declare it, and the docs change sits on the heading change).
- Each record edit has an engineering owner's spec approval on its member and at this head: verified.
- Data-driven Table headings follow
textOverflow: underwrapa long heading wraps; children-mode headings stay on one line; undertruncateheadings keep an ellipsis: verified in code, unit tests and 390 px and 1280 px browser frames. - The Table docs say how long tokens wrap and how to keep them whole: verified against the fixed column layout.
- The export keeps a built one-mode theme in its mode, reads
colorModeswithout running the theme module, follows the theme stylesheet through@importwith each import's conditions, and narrows the claims for unbuilt themes: verified in code, docs and the export tests. - The export guide's column-floor advice says a heading wraps like its cells: verified.
- Two-mode themes and pages with no theme are written as before: verified (the old scheme rules are kept whenever no single mode is found).
- Each member pull request is closed with a note after this one merges: a post-merge step, not checkable in review.
- Files
packages/cli/api/render/render.test.mjs: non-blocking test-order note.- The other 37 changed files (four changesets, the Table component, styles, story and tests, the export, color reader and discovery modules and their tests, the CLI docs, and three spec records): clear.
|
|
||
| it('keeps both schemes in a markup-only render, where the theme editor shows each mode itself', async () => { | ||
| const {renderPage} = await import('../../foundation/render/render-page.mjs'); | ||
| const page = await renderPage(path.join(dir, 'retro/page.tsx'), {cwd: dir, markupOnly: true}); |
There was a problem hiding this comment.
Non-blocking: this case reads retro/page.tsx and the @acme/retro package that the first case of the block writes (line 996). Run on its own (-t "markup-only"), it fails for a missing file. Writing the theme package and page here keeps the case independent.
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| Table | 123.4 kB (+28 B) · 20.9 kB CSS (+41 B) | — | ✗ · ✓ · — |
| TableHeaderCell | 105.4 kB (+27 B) · 19.7 kB CSS (+18 B) | — | ✗ · ✓ · ✓ |
| TableCell | 105.6 kB (0) · 19.9 kB CSS (+38 B) | — | ✗ · ✓ · ✓ |
8 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| TableRow | 7.2 kB (0) · 4.1 kB CSS (+21 B) | — | ✗ · ✓ · ✗ |
| TableBody | 6.6 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableFooter | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableHeader | 3.5 kB (0) · 3.3 kB CSS (0) | — | ✗ · ✓ · ✗ |
| TableSelectionToolbar | 77.4 kB (0) · 14.3 kB CSS (0) | — | ✗ · ✓ · ✓ |
| Markdown | 207.6 kB (+33 B) · 23.0 kB CSS (+50 B) | — | — · — · — |
| lab/CommentThread | 376.7 kB (+36 B) · 2.4 kB CSS (0) | — | — · — · — |
| lab/Comments | 383.7 kB (+18 B) · 2.5 kB CSS (0) | — | — · — · — |
Visual changes: 2 snapshots in 1 component
A change is a question for the reviewer, not a failure.
Inheritance checked against the 2 newest reports of other pull requests.
Package size:
- @astryxdesign/cli 5.67 MB packed (+7.2 kB); no new dependencies
- @astryxdesign/core 7.82 MB packed (+626 B); no new dependencies
Touched components checked; for the full suites, add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
CI impact: 0 job-min per update · pool 0% · time to green −1.8 min · standard runners · 1 CI action or script file changed (not measured)
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 173.5 | 173.5 | 0 |
| Runner pool, runner-minutes a day | 51,781 | 51,781 | 0 (0%) |
| Average concurrent jobs | 36 | 36 | 0 |
| Time to green (median → this run) | 63 min | 61.1 min | −1.8 min |
| Runs a day | 298 | 298 | 0 |
Not measured (the jobs that use these keep their recent minutes above): .github/scripts/render-interaction-parity.browser.test.mjs.
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report






Merges three reviewed pull requests onto current main, each as its own
--no-ffmerge, in this order. #12843 → #12924 form a stack. Each member keeps its own description, tests and review history, and each record edit below has an engineering owner's/approve-specon its member and at this branch's head.Scope
Components: Table (column headings follow the Table's
textOverflow; the docs say how long tokens wrap in a data-driven table) (#12843, #12924).CLI experimental export: a built one-mode theme keeps its mode in any viewer; the theme stylesheet is followed through
@import, carrying each import's conditions; the claims for unbuilt themes are narrowed (#12683).Records
component:TableHeaderCellFR2: a heading follows the Table'stextOverflow(feat(Table): column headings follow the Table's textOverflow #12843, HQ ruling).Writing rubric results
Each member's record lines are scored in its own description: present tense, no change references, research or project status; verification rows name tests.
When this merges, each pull request above is closed with a note that names this one.