Repository navigation
fix(Lane): an empty stage is a line, not a full-height section - #19
Merged
Merged
Conversation
Found by finally seeing the Lanes view render against real data. LaneGroup gave an empty stage the same vertical spacing as a populated one: ~190px on desktop and ~320px on mobile for a single sentence. With seven stages that turned an empty pipeline into roughly 2,200px of scroll on a phone before the user reached anything at all — and an empty board is exactly when they most need to see the whole shape of the pipeline at once. Empty groups now collapse their internal gap, drop their bottom margin to spacing[8], and indent the message under the stage title rather than padding it out. All seven stages fit one screen. Nothing changes for a populated group. Verified against the real /office/applications screen at 1440x900 and 375x812 via scripts/audit/smoke-authed.mjs; primitives suite still 15/15. Co-Authored-By: Claude Opus 5 <[email protected]>
thinkclay
added a commit
to Scaffald/SaaS
that referenced
this pull request
Aug 21, 2026
…624) Phase 3 continued (#622). Closes §12 items #4 and #5 from #539, and closes the "two competing filter idioms" finding for this screen. #4 THE STAGE LIST WAS MISSING TWO STAGES. No `inquired` — which is a full column on the board, so an entire stage of the pipeline could not be filtered to — and no `withdrawn`. All eight are offered now. #5 THE MINIMUM-SCORE FILTER HAD NO CONTROL. `minScore` was in state and was sent to the API on every request, but nothing rendered it: permanently 0, with no way to change it. It has score bands now rather than a slider — an employer thinks in "80 and up", not one-point increments, and a band is far easier to operate by keyboard than a drag target. The filters also moved off the screen and into ListToolbar's flyout, so this screen presents filters the way every other list screen will. Applied filters appear as removable chips with a Clear all, so they can be dropped without reopening the flyout. No search field: the employer applications endpoint has no search parameter, and a box that does nothing is the bug being fixed. One case worth calling out: only OPEN jobs are offered as options, so a job closed after being selected would otherwise filter the pipeline invisibly with no way to clear it. Its chip renders as "Unknown job" rather than vanishing. SMOKE HARNESS — scripts/audit/smoke-authed.mjs. Every ATS screen sits behind auth and the office role, so none of this work could be seen rendering; three merged PRs went out on unit tests and Storybook alone. It mints a session the same way the repo's own Playwright auth setup does — programmatically through supabase-js against the local stack, injected into localStorage. No login form is driven. It strips Expo's dev-only error overlay, which is a sibling of #root and otherwise covers the screen being reviewed. That harness immediately earned itself: it caught the empty-stage density bug fixed in Scaffald/ui#19, which no unit test could have seen. Verified: typecheck clean across all three packages; lint clean; 19 new tests; /office/applications and /office/ats/metrics captured at 1440x900 and 375x812. Co-authored-by: Claude Opus 5 <[email protected]>
Open
8 of 10 tasks
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.
Found by finally seeing the Lanes view render against real data, via an authenticated smoke test.
LaneGroupgave an empty stage the same vertical spacing as a populated one — ~190px on desktop and ~320px on mobile for a single sentence. With seven stages that turned an empty pipeline into roughly 2,200px of scroll on a phone before the user reached anything at all.That is the worst case to get wrong: an empty board is exactly when someone most needs to see the whole shape of the pipeline at once. The Lanes view exists because seven kanban columns do not fit a laptop; it should not replace horizontal overflow with vertical.
Empty groups now collapse their internal gap, drop their bottom margin to
spacing[8], and indent the message under the stage title rather than padding it out. All seven stages fit one screen. Nothing changes for a populated group.Verified against the real
/office/applicationsscreen at 1440×900 and 375×812; primitives suite still 15/15.🤖 Generated with Claude Code