Skip to content

feat(redesign): the last two screens without a heading get one - #875

Closed
thinkclay wants to merge 1 commit into
fix/858-table-stackfrom
redesign/r1-860-bare-headings
Closed

thinkclay wants to merge 1 commit into
fix/858-table-stackfrom
redesign/r1-860-bare-headings

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Closes #860. Release 1, epic #847. Stacked on #872 (both touch OfficeViolationReports); merge that first and GitHub retargets this to main.

What was left

The route sweep found 120 of 200 captures with no heading in the accessibility tree. #864 closed almost all of it by moving the title into the four layouts, and #873 reached the Office lists through OfficePageLayout. These two were the remainder: they render no layout at all — the Office navigator's screenLayout only wraps them in a scroller — and each drew its own title as a plain <Text> inside a space-between Row.

Both take ScreenHeader instead, with the description as the tip and Refresh in the actions slot, so a page-level action sits at header right like everywhere else.

Verified

Route Heading found 1440 390
/office/storage "Storage Analytics" ✅ ✅
/office/violations "Anti-Circumvention Violation Reports" ✅ ✅

No horizontal scroll at either width. nx run scf-core:test 1175/1175, typecheck and pnpm prepush clean.

On position: they sit at x=308/8 rather than the app's 332/16, because this branch is off main and does not carry the screen rhythm. #865 moves them onto the shared gutter along with every other Office screen — the two changes touch different lines of the same files and merge cleanly.

With this, every screen the sweep reaches has a real heading.

🤖 Generated with Claude Code

The route sweep found 120 of 200 captures with no heading in the
accessibility tree. #864 closed almost all of it by moving the title into
the four layouts, and #873 reached the Office lists through
OfficePageLayout. These two were left: they render no layout at all — the
Office navigator's screenLayout only wraps them in a scroller — and each
drew its own title as a plain `<Text>` inside a space-between Row.

Both take `ScreenHeader` instead, with the description as the tip and
Refresh in the actions slot, so a page-level action sits at header right
like everywhere else.

Measured, signed in:

  /office/storage      "Storage Analytics"                    heading found
  /office/violations   "Anti-Circumvention Violation Reports" heading found

at 1440 and 390, no horizontal scroll at either. They sit at x=308/8
rather than the app's 332/16 because this branch is off main and does not
carry the screen rhythm; #865 moves them onto the shared gutter along
with every other Office screen.

Closes #860

Co-Authored-By: Claude Opus 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant