Commit Graph
5 Commits
Author SHA1 Message Date
Cosmically Creative b142dd9748 feat: contacts as pills on a white card; remove several at once
- Contacts list sits in the same white card as the Shifts panels, and each
  contact is a light-blue pill like a shift row. Stacks cleanly on phones.
- Each contact has a checkbox, with Select all and Remove selected. The
  confirm dialog says how many contacts will be removed.
- Select all only ticks contacts currently shown, never rows still behind
  "See more"; revealing more rows leaves Select all partial, not extended.
  This applies to every picker but changes nothing where no rows are hidden.
- POST /admin/contacts/remove: session, origin and CSRF checked; one
  transaction; if any contact is missing, none are removed; one audit row.
  Signups are never touched and no email is sent.
- tests: 5 new contact tests.
2026-11-20 13:24:23 -06:00
Cosmically Creative bf3724d531 feat: hover Coordinator menu; pages named by their own heading
- The Coordinator pill is a real link to Shifts (/admin) and opens the
  Shifts / Contacts / Settings card on hover or keyboard focus (desktop).
  Esc closes it. Phones and tablets keep the second row in the menu overlay.
- Menu links no longer scale on hover, so the blue highlight stays inside
  the card.
- No gold "current page" line in the menu, the phone row, or the pill;
  aria-current stays for screen readers. The page heading shows where you are.
- The dashboard heading and title are "Shifts". Breadcrumbs start at their
  section: Shifts > ..., Contacts > Name, Settings > Administrators.
- tests: admins.test.ts updated for the new markup.
2026-11-20 13:24:23 -06:00
Cosmically Creative c576613b9d feat: coordinator dropdown replaces the tab row
- pages.tsx: when signed in, the Coordinator pill in the session bar is a
  <details> menu with Shifts, Contacts and Settings, the current section
  marked. Signed out it stays a plain link to sign-in. Off coordinator pages
  no section is marked current. CoordinatorTabs is removed.
- Phones and tablets (75em and below): no nested menu inside the hamburger
  overlay; the three sections show as a second row under Sign Up / Log out.
- app.css: .coord-menu and .session-sections styles; drop .desk-tabs.
- enhance.js: the menu closes on outside click and Esc, like the View menu.
- tests: admins.test.ts checks the menu, the phone row, the signed-out link,
  and no current section on a public page.
2026-11-20 13:24:23 -06:00
Cosmically Creative c4fe911969 feat: coordinator tabs (Shifts, Contacts, Settings)
- pages.tsx: Layout shows a Coordinator tab row on every signed-in /admin
  page. Shifts covers the dashboard, events, shifts and templates; Contacts
  covers /admin/contacts; Settings covers /admin/settings and /admin/admins.
- admin-pages.tsx: remove the dashboard link cluster and the redundant
  Contacts/Settings breadcrumbs. Administrators moves under Settings, with a
  "Manage administrators" card. Routes are unchanged.
- app.css: .desk-tabs styles (white pill, gold underline on the current tab,
  48px tap targets, full width on phones, hidden in print); drop .desk-links.
- tests: admins.test.ts checks the tabs and the new Settings link.
2026-11-20 13:24:23 -06:00
Cosmically Creative 1230030e39 style: 14px text floor and one shared status wording
- app.css: add --hope-text-small (14px) and --hope-text-fine (13px, footer
  fine print). Every font size below 14px now uses them. The help-tip circle,
  event badge and date stamp grow to fit the larger text.
- schedule.ts: shared filledCount(), spotsSentence() and fillLabel().
  Public pages say "4 of 6 spots filled"; coordinator pills say
  "Full · 6 of 6" or "2 open · 4 of 6" (needs tone when under half full).
- admin-pages.tsx: drop needCopy(); dashboard, event page and shift lines
  all use fillLabel().
- tests: update wording expectations; add design-rules.test.ts to guard the
  14px floor and the wording.
- README: update example wording.
2026-11-20 13:24:23 -06:00