Skip to content

fix(office): the projects list paid the screen gutter twice - #878

Merged
thinkclay merged 1 commit into
mainfrom
fix/878-projects-double-gutter
Sep 22, 2026
Merged

thinkclay merged 1 commit into
mainfrom
fix/878-projects-double-gutter

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Follow-up to #877, found by sweeping main after the release-1 merges.

#877 treated OfficeProjectsList as one of the Office screens that render no layout and gave it the shared gutter directly. It is not — it wraps itself in OfficeLayout, which already supplies one. So its title sat at x=364 while every other Office list sat at 332: the same gutter-paid-twice bug #877 fixed for OfficePageLayout, reintroduced one file over.

Six of the seven screens that change touched were genuinely bare. Only measuring where the title lands distinguishes the seventh, which is why no test caught it and the post-merge sweep did.

While in here, the screen's hand-rolled <H2> plus description becomes ScreenHeader — it was a fourth way to open a screen in a section that now has one.

Verified

Route Desktop Mobile
/office/cms/projects x=332 x=16
/office/cms/jobs x=332 x=16

nx run scf-core:test 1175/1175, typecheck and pnpm prepush clean.

🤖 Generated with Claude Code

#877 treated `OfficeProjectsList` as one of the Office screens that render
no layout and gave it the shared gutter directly. It is not: it wraps
itself in `OfficeLayout`, which already supplies one. So the title sat at
x=364 while every other Office list sat at 332 — the same
gutter-paid-twice bug #877 fixed for `OfficePageLayout`, reintroduced one
file over.

Caught by sweeping `main` after the release-1 merges rather than by any
test: six of the seven screens that change touched were genuinely bare,
and only a measurement of where the title lands distinguishes the
seventh.

While in here, the screen's hand-rolled `<H2>` plus description becomes
`ScreenHeader`, like every other Office list. It was a fourth way to open
a screen in a section that now has one.

Measured at 1440 and 390:

  /office/cms/projects   x=332   x=16
  /office/cms/jobs       x=332   x=16

Refs #851

Co-Authored-By: Claude Opus 5 <[email protected]>
@thinkclay
thinkclay merged commit 4b3aaad into main Sep 22, 2026
8 of 9 checks passed
@thinkclay
thinkclay deleted the fix/878-projects-double-gutter branch September 22, 2026 20:37
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