Skip to content

#514 Make the Applications Page Full Width and Codify Page Container Widths - #519

Merged
b-at-neu merged 1 commit into
devfrom
514-make-applications-page-full-width
Aug 19, 2026
Merged

#514 Make the Applications Page Full Width and Codify Page Container Widths#519
b-at-neu merged 1 commit into
devfrom
514-make-applications-page-full-width

Conversation

@b-at-neu

Copy link
Copy Markdown
Collaborator

Closes #514

/applications was the only page at max-w-6xl — a centred near-miss width sitting beside four full-bleed table pages (/, /positions, /users, /my-applications, /global-questions). Per .claude/docs/DESIGN.md §4, tables are full-bleed, so the page contradicted its own design doc.

Changes

  • applications/page.tsx and applications/loading.tsx — drop mx-auto max-w-6xl, leaving flex flex-col gap-6, identical to /users. Both files change together so the skeleton→content transition doesn't shift width.
  • .claude/docs/DESIGN.md §4 — the vague **Containers:** bullet is replaced with a checkable three-tier table (full-bleed / max-w-5xl / max-w-2xl), an explicit "no fourth tier" rule, the loading.tsx-must-match rule, and a carve-out for inner prose blocks inside a full-bleed page.

No component changes — applications-toolbar, applications-table and applications-bulk-bar contain no max-w-* or fixed-width classes.

Verification

prettier:check, eslint:check, tsc:check and test:unit (133 passed) are green. The db project was skipped — no local Postgres; DATABASE_URL points at Neon.

Static audit confirms every remaining page container matches a documented tier, with zero max-w-6xl left in the repo:

Tier Routes
Full-bleed /, /positions, /users, /applications, /my-applications, /global-questions
max-w-5xl /applications/[id], /my-applications/[id] (page + loading each)
max-w-2xl /profile, /positions/[id]/apply, /positions/[id]/edit (page + loading each)

app/(legal)/layout.tsx stays at max-w-3xl — outside the app shell, explicitly excluded by the new rule.

Not verified locally — needs a look on the preview

The ticket asks for a visual check at 1280px and ≥1920px. I could not run the app locally: the repo's .env still carries the Neon Auth variables and the current dev branch requires BETTER_AUTH_SECRET, so the dev server 500s on every route. /applications is auth-gated regardless.

Worth eyeballing on the Vercel preview:

  • /applications at 1280px and ≥1920px, left edge flush with /users
  • the toolbar's "showing N of M" count now sits at the far right edge (sm:ml-auto) — intentional, matching users-table.tsx:157
  • the bulk bar with several rows selected
  • the two empty states (no applications / no filter matches)
  • 375px and 768px stacked-card variant unchanged

🤖 Generated with Claude Code

max-w-6xl was used on this one table page while every sibling list page
is full-bleed. loading.tsx carries the same container, so both change or
the skeleton shifts width on resolve.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@b-at-neu b-at-neu self-assigned this Aug 19, 2026
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aplio Ready Ready Preview Aug 19, 2026 10:19pm

@b-at-neu b-at-neu added ready for review PR ready for review agent reviewing Review agent working (in-flight) and removed ready for review PR ready for review agent labels Aug 19, 2026

@b-at-neu b-at-neu left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review — Cycle 1 · approved

0 open — clean

@b-at-neu b-at-neu added approved Review passed, ready to merge and removed reviewing Review agent working (in-flight) labels Aug 19, 2026
@b-at-neu
b-at-neu merged commit 1f066e0 into dev Aug 19, 2026
10 of 14 checks passed
@b-at-neu
b-at-neu deleted the 514-make-applications-page-full-width branch August 19, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Review passed, ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the Applications Page Full Width and Codify Page Container Widths

1 participant