Repository navigation
feat(redesign): the last two screens without a heading get one - #876
Merged
Merged
Conversation
The issue blamed the web Table's 150px column floor. That was wrong, and
measuring said so: `stackBelow` already defaults to 768, so the Table
stacks into cards at 390 and was never the overflow. Walking the DOM for
elements wider than the viewport found three unrelated causes, none of
them the table.
**A text block beside a button, with nothing allowed to shrink.**
`<Row justify="space-between">` holding a bare `<Stack>` of title and
description next to a Refresh button. React Native defaults `flexShrink`
to 0, unlike the web, so the text keeps its content width and the row
pushes past the screen — 460px on Payment Analytics, 412 on Violation
Reports. `flex={1} minWidth={0}` on the text side fixes it, which is the
same treatment `BlockedUsersSection.tsx:54` already uses. Six screens
carried the pattern; all six are fixed, including the three that were
not yet overflowing but would at a longer title.
**Six status filters on one line.** `/office/oauth-apps` laid them in a
`nowrap` Row. They wrap now: a filter scrolled out of frame is one the
user does not know exists — the same call the Tabs strip made.
**Three form fields side by side.** `/office/cms/projects/create` put
Status, Start date and End date in one Row of `flex={1}` children, and
the same `flexShrink: 0` default kept them at content width. They wrap,
with a 200px floor each.
Measured at 390, before → after:
/office/payments 571 → 390
/office/violations 524 → 390
/office/transactions 522 → 390
/office/cms/projects/create 505 → 390
/office/oauth-apps 491 → 390
A 94-capture sweep of every `/office` and `/employers` route at 390
reports zero horizontal scroll.
Closes #858
Co-Authored-By: Claude Opus 5 <[email protected]>
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]>
…headings # Conflicts: # packages/scf-core/features/office/legal/OfficeViolationReports.tsx
This was referenced Sep 22, 2026
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.
Closes #860. Release 1, epic #847. Replaces #875, which GitHub auto-closed when its base branch
fix/858-table-stackwas deleted on merging #872; the branch and its history are unchanged, now rebased ontomain.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'sscreenLayoutonly wraps them in a scroller — and each drew its own title as a plain<Text>inside a space-between Row.Both take
ScreenHeaderinstead, with the description as the tip and Refresh in the actions slot.Note on the merge with #872
#872 gave those same title Rows
flex={1} minWidth={0}to stop them overflowing a phone.ScreenHeaderreplaces the Row entirely and has no such problem, so that fix retires with the markup it fixed — the conflict resolves in favour of the header, not against #872's reasoning. The other five screens #872 fixed are untouched and keep theirs.Verified
/office/storage/office/violationsNo horizontal scroll at either width.
nx run scf-core:test1175/1175, typecheck andpnpm prepushclean.With this, every screen the sweep reaches has a real heading, except
/dashboard(deliberately opted out — the profile hero carries the name) and four mid-flow wizard steps that get theirs with #830 and #832.🤖 Generated with Claude Code