Skip to content

Phone and tablet layout, scroll-loaded lists, alignment fixes - #88

Merged
miguelr-dev merged 1 commit into
mainfrom
responsive-phone-layout
Oct 28, 2026
Merged

miguelr-dev merged 1 commit into
mainfrom
responsive-phone-layout

Conversation

@miguelr-dev

Copy link
Copy Markdown
Owner

Summary

Makes SignMeUp usable on phones and tablets, pages long lists so screens aren't one endless scroll, and cleans up alignment so nothing overlaps.

Phones and tablets

  • ≤ 900px (tablets and phones): the sidebar becomes a top bar with a Menu button, which holds the subsystems, the role switcher and your account. Side panels (registration confirmation, all edit forms) open as full-screen sheets.
  • ≤ 640px (phones):
    • Table rows become stacked cards: ID and title on the first line, details, chips and the action button below. Units and prerequisites get a short label, since the column headers are hidden.
    • Summary tiles go two per row, and Help opens as a bottom sheet.
    • Inputs use 16px text so iPhones don't zoom in when you tap a field.
    • Headers, button rows and print options wrap instead of running off the screen.
  • All sizes: header actions wrap under the title instead of pushing the page wider, Major Outline stacks below 1440px so its table fits, and long emails and addresses wrap.
  • Bug fix: on small screens, the role menu sat underneath its tap-to-close layer, so picking a role just closed the menu.

Lists that load as you scroll

Course search, grade sheets, Authorized Users and the faculty and course lists show the first 20–25 rows and load more automatically as you reach the end. A Show more (N left) button covers keyboard and screen-reader users. Printing still includes every row, as the Display Printing requirement asks.

How it was checked

I ran a local build with a stand-in signed-in admin (kept outside the repo) and used the role switcher for student, faculty and registrar views:

  • Widths: every screen at 320, 375, 414, 768, 1024, 1280, 1440 and 1920px. No page is wider than the window, and no table cells overlap.
  • Actions at phone size: menu and role switching, register and drop (both saved and logged), the waiver request, registration validation and Cancel and restore, draft grades (cancel restores, the save bar shows), every edit panel (user, student, completed course, faculty, course), the Help sheet, and lists loading more on scroll (grade sheet: 25 of 42, then all 42).
  • Desktop at 1280px: the 240px sidebar, 340px side panels and table headers are unchanged.
  • npm run typecheck, npm test (132 pass), npm run build
  • Not yet checked on a real phone. After merging, open the live site on your phone and go through Menu → Registration → register for and drop a course.

🤖 Generated with Claude Code

Layout:
- At 900px and below, the sidebar becomes a top bar with a Menu button (it
  holds the subsystems, the role switcher and the signed-in user), and side
  panels open as full-screen sheets.
- At 640px and below, table rows become stacked cards: ID and title on the
  first line, the other cells lined up below, and column headers hidden.
  Unit counts and prerequisites get a short label there. Summary tiles go
  two per row, Help opens as a bottom sheet, inputs use 16px text so iOS
  doesn't zoom, and button rows, headers and print options wrap.
- At every width, page headers wrap their actions under the title instead of
  pushing the page wider. Major Outline stacks its two columns below 1440px
  so its table fits. Long emails and addresses wrap.
- Fixed a bug where the role menu sat under its tap-to-close layer on small
  screens, so choosing a role just closed it.

Long lists (course search, grade sheets, authorized users, faculty and
course matches) show 20-25 rows and load the next batch as the end scrolls
into view, with a Show more button for keyboard and screen-reader users.
Printing still includes every row.

Checked in a local build at 320, 375, 414, 768, 1024, 1280, 1440 and
1920px: no screen is wider than the window and no table cells overlap. Also
went through registering, dropping, the waiver request, grade drafts with
cancel and save, and every edit panel at phone size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@miguelr-dev miguelr-dev self-assigned this Oct 28, 2026
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
signmeup Ready Ready Preview Oct 28, 2026 5:00am UTC

@miguelr-dev
miguelr-dev merged commit 02a48b7 into main Oct 28, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — bff65dd4 Deployed Oct 28, 2026 by vercel[bot]
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