Repository navigation
fix(office): the projects list paid the screen gutter twice - #878
Merged
Merged
Conversation
#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]>
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.
Follow-up to #877, found by sweeping
mainafter the release-1 merges.#877treatedOfficeProjectsListas one of the Office screens that render no layout and gave it the shared gutter directly. It is not — it wraps itself inOfficeLayout, 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 forOfficePageLayout, 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 becomesScreenHeader— it was a fourth way to open a screen in a section that now has one.Verified
/office/cms/projects/office/cms/jobsnx run scf-core:test1175/1175, typecheck andpnpm prepushclean.🤖 Generated with Claude Code