Repository navigation
fix(templates): page templates keep their text on a 320 px phone - #12104
josephfarina wants to merge 10 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
ba1d407 to
8137354
Compare
|
/approve-spec 8137354 |
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Changes requested: the template fixes work at 320 px, but the description and changeset claim one fix that this change does not make.
- The canvas-editor "Export" button is described as cut off and now fixed, but this change only touches the document tab label and the base already shows "Export" in full at 320 px, so please drop it from the canvas-editor row and make the changeset's "buttons in eight templates" count the six templates whose button labels do change (documentation-technical, form-wizard-vertical, form-wizard, checkout-wizard, editor, dashboard-composition).
Two inline notes point at comments this change made stale; they do not block. Everything else holds: four pages stop scrolling sideways at 320 px, the cut labels come back, and wide layouts match the base.
Claims and files checked
Review mode: full; reason: no-earlier-review
Claims (description and changeset):
- contact-form no longer widens the page to 347 px: verified, 347 px to 320 px in a 320 px browser (contact-form/page.tsx:112-117).
- form-two-column no longer widens the page to 360 px: verified, 360 px to 320 px (form-two-column/page.tsx:97).
- The scorecard's Export button returns to the screen under the period switch and the trend cards fit: verified, 332 px to 320 px (dashboard-scorecard/page.tsx:790, :857).
- table-filter no longer widens the page to 372 px, and its folded filters take a second line on a narrow toolbar: verified, 372 px to 320 px (table-filter/page.tsx:1322-1328).
- "Copy prompt" shows in full: verified (documentation-technical/page.tsx:99-111).
- form-wizard-vertical's Cancel, Save & exit and Preview on device show in full, the title wraps between words, and the cover's buttons move under the cover: verified (form-wizard-vertical/page.tsx:322-325, :729-761).
- form-wizard's Cancel, Back and Next show in full: verified (form-wizard/page.tsx:176, :401-413).
- checkout-wizard's Continue shopping, Continue and Apply show in full, and Continue takes its own line when needed: verified (checkout-wizard/page.tsx:230, :648-656, :840-846).
- "View All" and "View more" show in full: verified (editor/page.tsx:554-556, dashboard-composition/page.tsx:747-760).
- canvas-editor's "Export" was cut off and now shows in full: false; the base already shows it in full and the head renders identically at 320 px and 1280 px.
- A cut canvas tab name shows in full in a tooltip: verified from the source, on hover and touch (canvas-editor/page.tsx:1268-1274).
- The work item's success criteria wrap: verified (work-item-detail/page.tsx:505-524).
- The report wizard's option descriptions wrap: verified from the source (form-wizard-dialog/page.tsx:385-387).
- Wide layouts are unchanged at 1280 px, and the canvas tabs look the same at rest: verified for the five templates rendered at 1280 px, and for the canvas at 320 px and 1280 px.
- The fixes use existing props, with no media-query defaults and no Core change: verified; only template files change, and table-filter uses a container query.
- Grid's max lets one column shrink to the container: verified.
- A string list label or description truncates and a node wraps: verified.
- table-filter looks the same at 390 px and wider: verified at 390 px and 1280 px.
- Single-line data rows still truncate on purpose: consistent with the 320 px renders.
- The build recommendation and doc text are unchanged: consistent; no template doc file or docs change.
- Lint and type checks are clean: verified; lint and typecheck pass in CI.
- Buttons in eight templates keep their full labels: false; six templates change, and eight holds only by counting canvas-editor's Export.
- Four pages no longer scroll sideways, and wide screens look the same: verified.
Files:
- .changeset/phone-320-text-overflow.md: finding (button count).
- packages/cli/assets/templates/pages/canvas-editor/page.tsx: finding (Export claim); stale comments at :841 and :1239 (non-blocking).
- packages/cli/assets/templates/pages/checkout-wizard/page.tsx: clear.
- packages/cli/assets/templates/pages/contact-form/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-composition/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-scorecard/page.tsx: clear.
- packages/cli/assets/templates/pages/documentation-technical/page.tsx: clear.
- packages/cli/assets/templates/pages/editor/page.tsx: clear.
- packages/cli/assets/templates/pages/form-two-column/page.tsx: clear.
- packages/cli/assets/templates/pages/form-wizard-dialog/page.tsx: clear.
- packages/cli/assets/templates/pages/form-wizard-vertical/page.tsx: stale comment at :321 (non-blocking).
- packages/cli/assets/templates/pages/form-wizard/page.tsx: clear.
- packages/cli/assets/templates/pages/table-filter/page.tsx: clear.
- packages/cli/assets/templates/pages/work-item-detail/page.tsx: clear.
|
/approve-spec 9f748f6 |
There was a problem hiding this comment.
Changes requested: the template fixes hold at 320, 390 and 1280 px, but two sentences in the description's Evidence section claim more than this head shows.
- Miss: "every row above goes from overflowing or cut text to none" overstates the 320 px result, because dashboard-composition's content area is still 344 px wide and scrolls sideways and the contact-form and form-two-column Selector placeholders now end in an ellipsis, so please say that each row's listed defect is fixed and name what remains.
- Miss: "390 changes only where text was cut there too" leaves out form-two-column, whose hero text and form card ran 10 px past their column at 390 px on the base and now fit, so please add it to that sentence.
The earlier Export claim, the button count and the stale comments are fixed. Rewording the two sentences is all that approval needs.
Claims and files checked
Review mode: incremental; reason: none
Claims (description and changeset):
- contact-form no longer widens the page at 320 px: verified, 347 px to 320 px (contact-form/page.tsx:112-117).
- form-two-column's hero column fits at 320 px: verified, 360 px to 320 px (form-two-column/page.tsx:97).
- The scorecard's Export moves under the period switch and the trend cards fit: verified, 332 px to 320 px (dashboard-scorecard/page.tsx:790, :857).
- table-filter's folded filters take a line under the search box and the page fits: verified, 372 px to 320 px (table-filter/page.tsx:1322-1328).
- "Copy prompt" shows in full: verified (documentation-technical/page.tsx:99-111).
- form-wizard-vertical's Cancel, Save & exit and Preview on device show in full, the title wraps between words, and the cover's buttons move under the cover: verified at 320 px, the cover wrap from the source (form-wizard-vertical/page.tsx:322, :325, :729-761, :903-914).
- form-wizard's Cancel, Back and Next show in full: verified (form-wizard/page.tsx:176, :401-413).
- checkout-wizard's Continue shopping, Continue and Apply show in full, and Continue takes its own line when both cannot fit: verified (checkout-wizard/page.tsx:230, :648-656, :840-846).
- "View All" and "View more" show in full: verified (editor/page.tsx:554-556, dashboard-composition/page.tsx:747-760).
- A cut canvas tab name shows in full in a tooltip: verified by hovering a cut tab (canvas-editor/page.tsx:1269-1275).
- The work item's success criteria and the report wizard's four section descriptions wrap: verified (work-item-detail/page.tsx:505-524, form-wizard-dialog/page.tsx:385-387).
- Every template is pixel-identical at 1280 px, and the canvas tabs look the same at rest: verified at 1280 px for all thirteen, apart from table-filter's clock-based sample times, and for the canvas tabs at 320, 390 and 1280 px.
- The fixes use existing props, with no media-query defaults and no Core change: verified; only template files change, and table-filter uses a container query.
- A static StackItem keeps a button at its label width, and Grid's max clamps a track to the container: verified in the Stack and Grid source.
- contact-form's section keeps within the screen with width 100% and its max width: verified.
- The scorecard's header controls and the checkout buttons wrap, and form-wizard's footer zones keep a floor: verified.
- A string list label or description truncates and a node wraps; the canvas tab's one-line Text shows its tooltip only when cut: verified in the Item and Text source.
- table-filter wraps only below the width its two floors need, and looks the same at 390 px and wider: verified (wrap at 355 px and below; identical at 390 and 1280 px).
- Single-line data rows still truncate on purpose: consistent.
- Every row goes from overflowing or cut text to none at 320 px: false; dashboard-composition's content is 344 px wide and Selector placeholders in contact-form and form-two-column ellipsize.
- At 390 px only spots with cut text change: false; form-two-column's hero text and form card narrow by 10 px.
- The build suggestions and doc text are unchanged: consistent; no template doc, registry or docs file changes.
- Formatting, lint and type checks are clean: lint and typecheck pass in CI at this head.
- Changeset: four pages stop scrolling sideways, buttons in six templates keep their labels, list text wraps, the canvas tabs gain a tooltip and wide screens look the same: verified.
Files:
- .changeset/phone-320-text-overflow.md: clear.
- packages/cli/assets/templates/pages/canvas-editor/page.tsx: rubric score below 75, not lowered here, and page size (non-blocking).
- packages/cli/assets/templates/pages/checkout-wizard/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/contact-form/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-composition/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-scorecard/page.tsx: rubric score below 75, not lowered here (non-blocking).
- packages/cli/assets/templates/pages/documentation-technical/page.tsx: clear.
- packages/cli/assets/templates/pages/editor/page.tsx: clear.
- packages/cli/assets/templates/pages/form-two-column/page.tsx: finding (the 390 px claim).
- packages/cli/assets/templates/pages/form-wizard-dialog/page.tsx: clear.
- packages/cli/assets/templates/pages/form-wizard-vertical/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/form-wizard/page.tsx: clear.
- packages/cli/assets/templates/pages/table-filter/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/work-item-detail/page.tsx: clear.
|
/approve-spec 3fdb1d8 |
There was a problem hiding this comment.
Approved pending CI: lint and the CLI smoke test passed, but the CI workflow did not run on this head because it found no room under the CI ceiling, so it needs a re-run.
The description now matches the head (each row's listed defect is fixed, what stays at 320 px is named, and form-two-column is in the 390 px sentence), so both earlier findings are fixed and the template fixes hold at 320, 390 and 1280 px. Two non-blocking notes stay: canvas-editor and dashboard-scorecard remain below the template rubric's bar without getting worse here, and table-filter, canvas-editor, form-wizard-vertical and checkout-wizard are each over about 1,000 lines.
Claims and files checked
Review mode: incremental; reason: none
Claims (description and changeset):
- contact-form no longer widens the page at 320 px: verified, 347 px to 320 px (contact-form/page.tsx:112-117).
- form-two-column's hero column fits at 320 px: verified, 360 px to 320 px (form-two-column/page.tsx:97).
- The scorecard's Export moves under the period switch and the trend cards fit: verified, 332 px to 320 px (dashboard-scorecard/page.tsx:790, :857).
- table-filter's folded filters take a line under the search box on a narrow toolbar and the page fits: verified, 372 px to 320 px (table-filter/page.tsx:1322-1328).
- "Copy prompt" shows in full: verified (documentation-technical/page.tsx:99-111).
- form-wizard-vertical's Cancel, Save & exit and Preview on device show in full, the title wraps between words, and the cover's buttons move under the cover: verified (form-wizard-vertical/page.tsx:322, :325, :729-761, :914).
- form-wizard's Cancel, Back and Next show in full: verified (form-wizard/page.tsx:176, :401-413).
- checkout-wizard's Continue shopping, Continue and Apply show in full, and Continue takes its own line when both cannot fit: verified (checkout-wizard/page.tsx:230, :648-656, :840-846).
- "View All" and "View more" show in full: verified (editor/page.tsx:554-556, dashboard-composition/page.tsx:747-760).
- A cut canvas tab name shows in full in a tooltip: verified by hovering a cut tab (canvas-editor/page.tsx:1269-1275).
- The work item's success criteria and the report wizard's section descriptions wrap: verified (work-item-detail/page.tsx:505-524, form-wizard-dialog/page.tsx:385-387).
- Every template looks the same at 1280 px, and the canvas tabs look the same at rest at every width: verified at 1280 px for all thirteen (table-filter differs only in clock-based sample times), and for the canvas tabs at 320, 390 and 1280 px.
- The fixes use existing props, with no media-query defaults and no Core change: verified; only template files change, and table-filter uses a container query.
- A static StackItem keeps a button at its label width, and Grid's max clamps a track to the container: verified in the Stack and Grid source.
- contact-form's section stays within the screen with width 100% and its max width: verified.
- The scorecard's header controls and the checkout buttons wrap, and form-wizard's footer zones keep a floor so the step counter gives up the centre line: verified.
- A string list label or description truncates and a node wraps; the canvas tab's one-line Text shows its tooltip only when cut: verified in the Item and Text source.
- table-filter wraps only below the width its two floors need, on the toolbar container it already measures, and looks the same at 390 px and wider: verified (wrap at 355 px and below; toolbar container at table-filter/page.tsx:1380-1381; identical at 390 and 1280 px).
- Single-line data rows still truncate on purpose: consistent.
- Each row's listed defect is fixed at 320 px: verified.
- dashboard-composition's 344 px content area and the contact-form and form-two-column Selector placeholders remain at 320 px, outside this change: verified; the content area is 344 px on base and head, and the placeholders end in an ellipsis once those pages fit 320 px.
- At 390 px only spots with cut text change, plus form-two-column's hero text and form card: verified.
- Build suggestions and doc text are unchanged: consistent; no template doc, registry or docs file changes.
- Formatting, lint and type checks are clean: consistent; lint passes on this head, and typecheck passed on the identical previous revision but has not run on this head.
- Changeset: four pages stop scrolling sideways, buttons in six templates keep their labels, list text wraps, the canvas tabs gain a tooltip and wide screens look the same: verified.
Files:
- .changeset/phone-320-text-overflow.md: clear.
- packages/cli/assets/templates/pages/canvas-editor/page.tsx: rubric score below 75, not lowered here, and page size (non-blocking).
- packages/cli/assets/templates/pages/checkout-wizard/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/contact-form/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-composition/page.tsx: clear.
- packages/cli/assets/templates/pages/dashboard-scorecard/page.tsx: rubric score below 75, not lowered here (non-blocking).
- packages/cli/assets/templates/pages/documentation-technical/page.tsx: clear.
- packages/cli/assets/templates/pages/editor/page.tsx: clear.
- packages/cli/assets/templates/pages/form-two-column/page.tsx: clear; the 390 px claim is fixed.
- packages/cli/assets/templates/pages/form-wizard-dialog/page.tsx: clear.
- packages/cli/assets/templates/pages/form-wizard-vertical/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/form-wizard/page.tsx: clear.
- packages/cli/assets/templates/pages/table-filter/page.tsx: page size (non-blocking).
- packages/cli/assets/templates/pages/work-item-detail/page.tsx: clear.
3fdb1d8 to
afbbb8c
Compare
afbbb8c to
628f2d3
Compare
There was a problem hiding this comment.
Changes requested: the template fixes hold at 320, 390 and 1280 px, but after the rebase two claims no longer match main.
- Regression: the description's checkout-wizard row and the changeset's "buttons in six templates" describe cut labels that
mainno longer cuts, because the narrow checkout column now wraps (checkout-wizard/page.tsx:701) and this change renders checkout-wizard identically at 320, 390 and 1280 px, so please drop that row and say five templates (or drop the checkout change with them). - The Evidence's "Still present at 320 px" sentence names only the Selector placeholders, but on this head checkout-wizard's main region is 354 px wide, dashboard-composition's is 328 px and canvas-editor shows "Exp…", all the same as on
main, so please add those three.
Non-blocking: canvas-editor still scores below 75 on the template rubric (unchanged here), and table-filter, canvas-editor, form-wizard-vertical and checkout-wizard are each over about 1,000 lines.
Claims and files checked
Review mode: full; reason: rebase
Claims (description and changeset):
- contact-form fits a 320 px screen (was 347 px): verified, base and head captures.
- form-two-column fits 320 px (was 360 px): verified.
- table-filter fits 320 px (was 372 px) and the folded filters take a line under the search box: verified.
- documentation-technical shows "Copy prompt" in full: verified.
- form-wizard-vertical shows "Cancel", "Save & exit" and "Preview on device" in full, the title wraps and the cover's buttons move under the cover: verified.
- form-wizard shows "Cancel", "Back" and "Next" in full: verified.
- checkout-wizard's "Continue shopping", "Continue" and "Apply" were cut and are now whole: false, they are already whole on
mainand the frames are identical. - editor's "View All" and dashboard-composition's "View more" show in full: verified.
- canvas-editor's cut tab name shows in full in a tooltip: verified, hover at 600 px.
- work-item-detail's success criteria wrap: verified.
- form-wizard-dialog's section descriptions wrap: verified.
- 1280 px looks the same and the canvas tabs are the same at rest at every width: verified, table-filter differs only in its clock-derived sample times.
- 390 px changes only where text was cut, and in form-two-column: verified.
- The fixes use existing props, with no media-query defaults and no Core change: verified, template files only and one container query on table-filter's toolbar.
- Each named mechanism (static StackItem, Grid
max, Section width, wrapping rows, footer floors, node labels, one-line Text): verified against Core source. - Still present at 320 px are only the Selector placeholders: false, three more defects remain (see above).
- The build suggestion replay is unchanged: not reproduced, consistent with no template metadata change.
- Prettier, eslint and a strict TypeScript check are clean: prettier and eslint verified locally, TypeScript left to CI.
- Changeset, three pages stop scrolling sideways: verified.
- Changeset, buttons in six templates keep their labels: false, five on
main. - Changeset, criteria, descriptions, tab tooltip and unchanged wide screens: verified.
- No new public API or hidden behaviour change: verified.
Files:
.changeset/phone-320-text-overflow.md: the six-template count (finding above).canvas-editor/page.tsx: clear (rubric note, page size).checkout-wizard/page.tsx: no visible effect onmain(finding above; page size).contact-form/page.tsx: clear.dashboard-composition/page.tsx: clear.documentation-technical/page.tsx: clear.editor/page.tsx: clear.form-two-column/page.tsx: clear.form-wizard-dialog/page.tsx: clear.form-wizard-vertical/page.tsx: clear (page size).form-wizard/page.tsx: clear.table-filter/page.tsx: clear (page size).work-item-detail/page.tsx: clear.
|
/approve-spec 5ac7076 |
There was a problem hiding this comment.
Changes requested: the checkout and wording fixes from the last review are in and the templates fit at 320 px, but table-filter still scrolls sideways on slightly wider phones.
- Miss: table-filter's filter row wraps only on toolbars of 355 px or less (
table-filter/page.tsx:1327), but that container is the toolbar Section's outer box, 32 px wider than the row inside its padding, so from 356 to 371 px (360 px included) the page is still 372 px wide and "Clear all" runs off the screen; add the 32 px to the threshold (387 px by the comment's own arithmetic) or query the row itself.
Non-blocking: main has since landed the same contact-form change (#12530) and a Grid fix (#12383) that makes form-two-column's max: 2 unnecessary, so after merging main the changeset should claim only what this change still adds. canvas-editor still scores below 75 on the template rubric (unchanged here), and table-filter, canvas-editor and form-wizard-vertical are each over about 1,000 lines.
Claims and files checked
Review mode: incremental; reason: none
Claims (description and changeset):
- contact-form fits a 320 px screen (was 347 px): verified, base and head captures.
- form-two-column fits 320 px (was 360 px): verified.
- table-filter fits 320 px (was 372 px) and the folded filters take a line under the search box on a toolbar too narrow for both: verified at 320 and 340 px; false from 356 to 371 px (finding above).
- documentation-technical shows "Copy prompt" in full: verified.
- form-wizard-vertical shows "Cancel", "Save & exit" and "Preview on device" in full, the title wraps and the cover's buttons move under the cover: verified.
- form-wizard shows "Cancel", "Back" and "Next" in full: verified, and "Create workspace" on the last step.
- editor's "View All" and dashboard-composition's "View more" show in full: verified.
- canvas-editor's cut tab name shows in full in a tooltip: verified, hover at 600 px.
- work-item-detail's success criteria wrap: verified.
- form-wizard-dialog's section descriptions wrap: verified.
- 1280 px looks the same and the canvas tabs are the same at rest at every width: verified; table-filter differs only in its clock-derived sample times.
- The fixes use existing props, with no media-query defaults and no Core change: verified.
- Each named mechanism (static StackItem, Grid
max, Section width, footer floors, node labels, one-line Text, the toolbar container query): verified against Core source at this base; the Grid floor no longer holds onmain(non-blocking note above). - Still present at 320 px: checkout-wizard 354 px, dashboard-composition 328 px, canvas-editor "Exp…" and the Selector placeholders: verified.
- 390 px changes only where text was cut, and in form-two-column: verified.
- The build suggestion replay is unchanged: not reproduced, consistent with no template metadata change.
- No doc text changes, no new public API, no internal context: verified.
- Prettier, eslint and a strict TypeScript check are clean: prettier and eslint verified locally, TypeScript left to CI.
- Changeset, three pages no longer scroll sideways: verified at 320 px; false for table-filter from 356 to 371 px.
- Changeset, buttons in five templates keep their labels: verified.
- Changeset, criteria, descriptions, tab tooltip and unchanged wide screens: verified.
Files:
.changeset/phone-320-text-overflow.md: the table-filter claim (finding above).canvas-editor/page.tsx: clear (rubric note, page size).contact-form/page.tsx: clear (now identical tomain's).dashboard-composition/page.tsx: clear.documentation-technical/page.tsx: clear.editor/page.tsx: clear.form-two-column/page.tsx: clear.form-wizard-dialog/page.tsx: clear.form-wizard-vertical/page.tsx: clear (page size).form-wizard/page.tsx: clear.table-filter/page.tsx: the wrap threshold (finding above; page size).work-item-detail/page.tsx: clear.
…osition templates
…ing off a 320 px screen
…ps their labels [skip ci]
…h; leave the two-column form to main [skip ci]
5ac7076 to
4506975
Compare
There was a problem hiding this comment.
Changes requested: the template fixes hold at 320 px and table-filter now fits at every width from 320 to 1920 px, but one sentence in the description overstates the bug on main.
- The table-filter row says that before this change 360 px scrolled sideways by 13 px and "Clear all" ran past the screen edge up to 387 px, but the page on
mainis 372 px wide at every narrower width, so 360 px scrolls by 12 px and "Clear all" stays on screen from 372 px (it only runs past the row's end up to 387 px); please correct that sentence.
Smaller, non-blocking: at exactly 388 px the filter row is 356 px wide, the floor sum the comment computes, so it keeps one line and the "+6" chip still reads "+.." as on main; max-width: 356px would wrap that width too.
Claims and files checked
Review mode: full; reason: rebase
- Release note: the filtered table no longer scrolls sideways on a phone. Verified: the page is as wide as the viewport at every width from 320 to 1920 px (
table-filter/page.tsx:1323-1329,:1393-1397). - Release note: buttons in the vertical wizard's cover, the editor and the composition dashboard keep their full labels. Verified at 320 px for "Preview on device", "View All" and "View more".
- Release note: the work item's success criteria and the report wizard's option descriptions wrap. Verified at 320 and 390 px.
- Release note: a cut canvas tab name shows in full in a tooltip. Verified by hovering a cut tab at 600 px.
- Release note: wide screens look the same. Verified: 1280 px frames match
main, apart from table-filter's clock-derived times. - Description: before the change, 52, 16 and 13 px of sideways scroll at 320, 356 and 360 px, and "Clear all" past the screen edge up to 387 px. False: 52 and 16 match, but 360 px scrolls by 12 px and "Clear all" is on screen from 372 px.
- Description: table-filter fits at every width and the folded filters take their own line when the row cannot seat them. Verified from 320 to 387 px; at exactly 388 px the chip is still cut (non-blocking).
- Description: full labels in the vertical wizard, editor and composition dashboard; wrapping success criteria and report-section descriptions; tab tooltip. Verified.
- Description: 1280 px pixel-identical; canvas tabs identical at rest. Verified at 320, 390 and 1280 px.
- Description: no media-query defaults and no Core change. Verified: only seven page templates and a release note change.
- Description: a static StackItem, the cover column's floor, a node label and a one-line Text restore the text. Verified in the Stack, Item and Text source.
- Description: the query reads the row's own box because the toolbar's padding makes the row 32 px narrower. Verified (16 px padding each side).
- Description: 390 px and wider look the same. Verified at 390, 414 and 768 px.
- Description: still present on
mainat 320 px: checkout main region 354 px, dashboard 328 px, cut Selector placeholders. Verified; the canvas Export label rendered whole here, so that item was not reproduced. - Description: no build-suggestion changes and no doc text changes. Consistent: no template metadata or docs change.
- Description: prettier, eslint and TypeScript clean. Prettier and eslint verified; TypeScript not rerun.
.changeset/phone-320-text-overflow.md: clear.canvas-editor/page.tsx: clear (rubric score 48, unchanged, noted).dashboard-composition/page.tsx: clear.editor/page.tsx: clear.form-wizard-dialog/page.tsx: clear.form-wizard-vertical/page.tsx: clear (long page, noted).table-filter/page.tsx: non-blocking 388 px boundary; long page, noted.work-item-detail/page.tsx: clear.
| rowGap: 6, | ||
| flexWrap: { | ||
| default: null, | ||
| '@container filter-row (max-width: 355px)': 'wrap', |
There was a problem hiding this comment.
Non-blocking: at exactly 388 px the filter row is 356 px, the floor sum the comment above computes (120 + 8 + 44 + 184), so this query keeps one line and the "+6" chip reads "+..", as on main; at 389 px it is whole. max-width: 356px wraps that width too.
- #12104 fix(templates): page templates keep their text on a 320 px phone Author: @josephfarina - #12734 fix(templates): the documentation page templates fit a phone Author: @josephfarina
|
Landed in #12879. |
User impact
On a phone with script on, several page templates lost text or scrolled sideways. Each fix keeps the text and leaves wide screens as they were.
table-filterform-wizard-verticaleditor,dashboard-compositioncanvas-editorwork-item-detailform-wizard-dialogAt 1280 px every template is pixel-identical to before, and the canvas editor's tabs are identical at rest at every width.
Problem and solution fit
The fixes use existing props and the patterns these templates already use. There are no media-query defaults and no Core change.
A button beside a filling item shrank with the row. Wrapping it in a
StackItem(static by default) keeps it at its label's width, and the filling item gives way instead.form-wizard-vertical's dropzone column gets a floor at the cover's width, so on a phone it wraps under the cover instead of squeezing its buttons.ListItemandCheckboxListItemtruncate a string label or description to one line. Passing the same text as a node lets it wrap.The canvas editor's tab label is a one-line
Text, which truncates the same way and shows the full text in a tooltip only when it is cut.table-filter's filter row stays one line wherever the search box's floor and the folded filters' floor fit side by side; below that width it wraps the folded filters to a second line instead of pushing the readout off the screen. The container query reads the row's own box, not the toolbar around it, because the toolbar's padding sits inside its container and would make the row 32 px narrower than the width the query sees (more in roomier themes). 390 px and wider look the same as before.Not changed here: single-line data rows, such as alert and risk rows, truncate by design.
Evidence
astryx buildon a build replay set: no start, alternative or block suggestion changes.Scope
Components: cli (page templates)
Testing