Repository navigation
chore: land 9 reviewed pull requests together (batch fe-theme-4) - #13315
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
/approve-spec 879936b |
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
Reviewed pull request #13167, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13248, merged into the theme working branch. It reaches main with the branch's next landing.
Reviewed pull request #13285, merged into the theme working branch. It reaches main with the branch's next landing.
879936b to
e2e9f3b
Compare
|
/approve-spec e2e9f3b |
There was a problem hiding this comment.
Changes requested for one description fix; the code itself has no blocking finding.
- The description's "Shared files" and "Records" sections do not match this branch's nine commits: 35 of the 62 listed files are not changed here, 22 of the other 27 credit members whose commits do not touch them, and #13248 is listed as changing
docs/specs/AST-050-app-themes/spec.mdthough its commit changes one line of.changeset/how-first-ask-compiles-less.md, so rebuild both sections from this branch (12 files are shared, and only #13039 and #13040 change AST-050).
The control-height, badge, corner, text-size, held-mood and lexicon changes match their release notes and the AST-050 DEC-16 and DEC-17 records approved at this head, and the changed and related theme-editor tests pass. Two optional suggestions are inline.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Release note, controls share one height per size,
--onlykeeps one apart, non-length heights and a lone top or bottom padding on a growing control are refused, andshowlists a split height: verified (control-height tests and command runs). - Release note, the
badgesdial styles the status and category badges with readable fallbacks, keeps what the theme sets on a badge, colours badges inside buttons and gives them the element corners below pill: verified (badge-dial tests and built CSS). - Release note, a mood said beside an ask is named as not used: verified ("bigger buttons, spooky vibes").
- Release note, "no rounding anywhere" adds
--radius-full 0pxto square corners: verified (thehowanswer on the base and the head). - Release note, the scope word counts only in the corner ask: verified ("square corners, and bigger text too" keeps the circles).
- Release note, a text size goes to a part's main text token, saved as typed and undone by name: verified (the top nav heading writes
--text-large-size; undo test). - Release note, a part that holds other parts is still refused: verified (popover is refused on the base and the head).
- Release note, the first
howask is about 0.8 s sooner with unchanged answers: verified in direction (about 0.5 s sooner on the review machine; identical answers). - Description, nine pull requests merged in the listed order, all reaching main: verified (commit order).
- Description, six approved on their own heads and three reviewed here: verified.
- Description, the shared-files list: false (see the finding above).
- Description, three members change knowledge records, #13248 among them: false (only #13039 and #13040).
- Description, no decision number is defined twice and one spec approval for this head covers the record edits: verified.
- Description, the per-member scope lines: verified.
- Files: all 33 visited; the eight release notes, the AST-050 record, the nine theme-editor modules, the eleven test files, the three command docs and the test-duration data are clear (the two optional suggestions sit on
_how-question.mjsand the lexicon release note).
| '@astryxdesign/cli': patch | ||
| --- | ||
|
|
||
| [experimental] `astryx experimental theme editor how` answers its first question in a process about 0.8 s sooner. An ask runs the patterns of the editor's part lexicon, and the first run of a pattern compiles it, so the first ask compiled every one of them. A pattern made from a part, group or piece name now answers at once for a text without its word, without being compiled, as its match must hold that word. Answers do not change. |
There was a problem hiding this comment.
Optional: on this review's machine the first how ask went from about 1.2 s to 0.68 s (about 0.5 s sooner), with identical answers. A relative figure, or none, holds on any machine.
| */ | ||
|
|
||
| /** The words a badge style ask is made of when the style is all it asks. */ | ||
| const BADGE_STYLE_WORDS = new Set( |
There was a problem hiding this comment.
Optional: "make the badges soft please" is not read as the badges dial (it answers "what badge reads"), because please is not in this set. Adding courtesy words such as please and thanks would cover the common phrasing.
|
/approve-spec 8cb6d0c |
There was a problem hiding this comment.
Approved pending CI: the build and test jobs have not finished on this head yet.
The description's file and record map now matches the nine commits, which was the one blocking point last time, and no blocking finding remains. The control-height, badge, corner, text-size, held-mood and lexicon changes match their release notes and the app-themes spec decisions approved at this head, and the changed theme-editor tests and the rest of the theme-editor suite pass. Two optional suggestions from the last review still stand inline.
Claims and files checked
Review mode: incremental; reason: none
- Release note, a
badgessetting styles status and category badges in the theme's colours, names a fallback pair, keeps what the theme sets on a badge, is offered byhow, gives badges the element corners below pill, and colours badges inside primary, destructive and secondary buttons: verified (badge-dial tests; badge looks and compile rules in_settings.mjs). - Release note, controls share one height per size on a new
controlsgroup,--onlykeeps one apart, a size-token height must be a length, growing controls keep Core's top and bottom padding while a file input's drop zone keeps its own, andshowlists a split height: verified (control-height tests). - Release note, a mood said beside an ask is named as not used: verified (every-clause test).
- Release note, "no rounding anywhere" adds
--radius-full 0pxand a radio's mark keeps its circle: verified (how and rounding tests; the radio case runs only on a Core that draws it with the pill token). - Release note, the scope word counts only in the corner ask itself: verified (rounding test with "too" and a pill part elsewhere).
- Release note, a text size on a part that holds other parts is still refused: verified (main-text test, popover and calendar).
- Release note, a text size on a part with several text pieces goes to its largest token, saved as typed, undone by name, built as the token alone, refused on a tie: verified (main-text and set-takes-text tests;
mainTextSizeToken). - Release note, the first
howask compiles only the patterns a text can match and answers do not change: verified (lexicon-pattern test); the "about 0.8 s" figure depends on the machine (optional suggestion inline). - Description, nine pull requests land together, applied in the order listed: verified (nine linear commits in that order).
- Description, six were approved on their own heads and three are reviewed here: verified (their review histories).
- Description, the 12 shared files and the members that change each: verified (per-commit file lists).
- Description, two members change the app-themes record, each with its decider, no decision number is defined twice, and one approval at this head covers the record edits: verified (only those two commits touch it; 16 distinct decisions; the approval comment names this head).
- Description, each member's scope line: verified against its commit's files.
- Files: the eight release notes, clear, except the speed figure in
how-first-ask-compiles-less.md(optional). - Files:
docs/specs/AST-050-app-themes/spec.md, clear. - Files:
_check.mjs,_edit.mjs,_how.mjs,_missed.mjs,_parts.mjs,_picture-traits.mjs,_settings.mjs,_tables.mjs, clear. - Files:
_how-question.mjs, clear apart from the optional courtesy-words suggestion. - Files: the eleven theme-editor test files, clear (all pass).
- Files:
themeEditSet.doc.mjs,experimental-theme-editor-set.doc.mjs,experimental-theme-editor-undo.doc.mjs, clear. - Files:
scripts/vitest-node-durations.json, clear (timing data for test sharding only).
…entries, main's values)
|
/approve-spec de6e196 |
There was a problem hiding this comment.
Approved pending CI: the build and test jobs have not finished on this head yet.
Since the last review the head only merges main, which leaves the theme-editor code, release notes and app-themes spec decisions unchanged; the theme-editor tests still pass on the merged tree, and no blocking finding remains. Optional: the merge re-adds three test-duration entries for codemod tests that main moved to its v0.7.17 folder (inline), and the two earlier optional suggestions still stand inline.
Claims and files checked
Review mode: incremental; reason: none
- Release note, a
badgessetting styles the status and category badges in the theme's colours, names a fallback pair, keeps what the theme sets on a badge, is offered byhow, gives badges the element corners below pill, and colours badges inside primary, destructive and secondary buttons: verified (badge-dial tests; badge looks and compile rules in_settings.mjs). - Release note, controls share one height per size on a new
controlsgroup,--onlykeeps one apart, a size-token height must be a length, growing controls keep Core's top and bottom padding while a file input's drop zone keeps its own, andshowlists a split height: verified (control-height tests). - Release note, a mood said beside an ask is named as not used: verified (every-clause test).
- Release note, "no rounding anywhere" adds
--radius-full 0pxand a radio's mark keeps its circle: verified (how and rounding tests; the radio case runs only on a Core that draws it with the pill token). - Release note, the scope word counts only in the corner ask itself: verified (rounding test with "too" and a pill part elsewhere).
- Release note, a text size on a part that holds other parts is still refused: verified (main-text test, popover and calendar).
- Release note, a text size on a part with several text pieces goes to its largest token, saved as typed, undone by name, built as the token alone, refused on a tie: verified (main-text and set-takes-text tests;
mainTextSizeToken). - Release note, the first
howask compiles only the patterns a text can match and answers do not change: verified (lexicon-pattern test); the "about 0.8 s" figure depends on the machine (optional suggestion inline). - Description, nine pull requests land together, applied in the order listed: verified (nine linear commits in that order, followed by a merge of
main). - Description, six were approved on their own heads and three are reviewed here: verified (their review histories).
- Description, the 12 shared files and the members that change each: verified (per-commit file lists).
- Description, two members change the app-themes record, each with its decider, no decision number is defined twice, and one approval at this head covers the record edits: verified (only those two commits touch it; 16 distinct decisions; the approval comment names this head).
- Description, each member's scope line and that every listed pull request is on
mainonce this merges: verified (each commit's files; all nine commits are in this head's history). - Files: the eight release notes, clear, except the speed figure in
how-first-ask-compiles-less.md(optional). - Files:
docs/specs/AST-050-app-themes/spec.md, clear. - Files:
_check.mjs,_edit.mjs,_how.mjs,_missed.mjs,_parts.mjs,_picture-traits.mjs,_settings.mjs,_tables.mjs, clear. - Files:
_how-question.mjs, clear apart from the optional courtesy-words suggestion. - Files: the eleven theme-editor test files, clear (all pass on the merged tree).
- Files:
themeEditSet.doc.mjs,experimental-theme-editor-set.doc.mjs,experimental-theme-editor-undo.doc.mjs, clear. - Files:
scripts/vitest-node-durations.json, three stale entries left by the merge (optional).
| "packages/cli/assets/codemods/transforms/next/__tests__/migrate-item-swipe-actions-to-swipe.test.mjs": 25.6, | ||
| "packages/cli/assets/codemods/transforms/next/__tests__/migrate-item-swipe-actions-to-swipe.tsc.test.mjs": 3, | ||
| "packages/cli/assets/codemods/transforms/next/__tests__/preserve-chat-radius.test.mjs": 0.4 |
There was a problem hiding this comment.
Optional: these three entries name codemod tests under transforms/next/__tests__/, which main moved to transforms/v0.7.17/__tests__/ (its record was renamed to match). The merge kept both sides' keys, so the old names came back for files that no longer exist here. Leg balance ignores them, but dropping these three lines and the comma added on line 1903 leaves the record as main has it.
This pull request lands 9 pull requests from the theme editor working branch in one CI run. 6 of them were reviewed and approved on their own heads; #13190, #13167, #13234 are reviewed as part of this pull request. Each was merged into the branch in the order listed.
Some of them change the same files; each merge into the branch was clean, and the combined result at this head is what is reviewed and tested here. Shared files:
.changeset/experimental-theme-rounding-anywhere-pills.md(how: no rounding anywhere squares the pill radius too #13167, how: no rounding anywhere reads its scope word on the corner ask alone #13260).changeset/how-first-ask-compiles-less.md(perf(cli): the first how ask compiles only the lexicon patterns it can match #13190, docs(changeset): #13190's release note states no pattern count #13248)docs/specs/AST-050-app-themes/spec.md(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040)packages/cli/api/theme-edit/_check.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040, set: a text size for a part with several text pieces goes to its largest #13234)packages/cli/api/theme-edit/_how-question.mjs(experimental theme how: a mood said beside an ask is named as not used, never dropped #12723, fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040, how: no rounding anywhere squares the pill radius too #13167, perf(cli): the first how ask compiles only the lexicon patterns it can match #13190, how: no rounding anywhere reads its scope word on the corner ask alone #13260)packages/cli/api/theme-edit/_missed.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040)packages/cli/api/theme-edit/_settings.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040, set: a text size for a part with several text pieces goes to its largest #13234, set: a part that holds other parts has no main text for a size #13285)packages/cli/api/theme-edit/_tables.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040)packages/cli/api/theme-edit/theme-edit-text-size-main-piece.test.mjs(set: a text size for a part with several text pieces goes to its largest #13234, set: a part that holds other parts has no main text for a size #13285)packages/cli/api/theme-edit/theme-together-rounding-anywhere-reaches.test.mjs(how: no rounding anywhere squares the pill radius too #13167, how: no rounding anywhere reads its scope word on the corner ask alone #13260)packages/cli/api/theme-edit/themeEditSet.doc.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040, set: a text size for a part with several text pieces goes to its largest #13234)packages/cli/clients/cli/commands/experimental-theme-editor-set.doc.mjs(fix(cli): experimental theme editor - controls share one height at each size #13039, feat(cli): experimental theme editor - a badges setting styles the status and category badges in the theme's colors #13040, set: a text size for a part with several text pieces goes to its largest #13234)2 of them change knowledge records; each member's record change is listed under Records with its decider.
Some members change the same record:
docs/specs/AST-050-app-themes/spec.md(#13039, #13040) — they merged cleanly, no requirement or decision number is defined twice, and the one /approve-spec on this head covers every record edit.Scope
api/theme-edit/_settings.mjs,_parts.mjs,_tables.mjs,_edit.mjs,_missed.mjs,_check.mjs,_how.mjs,_picture-traits.mjs; docsapi/theme-edit/themeEditSet.doc.mjs,clients/cli/commands/experimental-theme-editor-set.doc.mjs,experimental-theme-editor-undo.doc.mjs),docs/specs/AST-050-app-themes/spec.md(DEC-16, and the DEC-11 exception line)api/theme-edit/_settings.mjs,_tables.mjs,_check.mjs,_how-question.mjs,_missed.mjs, thesetdocs),docs/specs/AST-050-app-themes/spec.md(DEC-17)Records
docs/specs/AST-050-app-themes/spec.md— Decider: josephfarina (engineering owner decision on the pull request)docs/specs/AST-050-app-themes/spec.md— Decider: josephfarina (engineering owner decision on the pull request)When this merges, every pull request above is on main.