feat: visitor pages, My QR, sign-in frame and shell refinements #39

Merged
ngqile merged 14 commits from refine-visitor-pages-and-shell into main 2026-12-01 15:44:50 +00:00
Owner

OpenSpec change refine-visitor-pages-and-shell. Portal only: no backend, SQL or dependency change.

What

  • Visitor pages /r, /i, /c: one card on the slate ground. The event header shows the company label, the event name, and the dates and location. A "Mobile or email is required" hint sits under mobile. The privacy notice is complete in English and Bahasa Malaysia as fine print. Every state (loading, thank you, welcome, not yet, inactive) shows an icon and a heading. The look is neutral, with no per-company logo or colour, as the owner decided on 2026-12-01.
  • My QR codes: one card per code in a responsive grid. The QR sits above the link and buttons.
  • Login and reset password: they share one neutral frame. The giraffe coat and the 16px corners are gone, as DESIGN.md requires.
  • Header: the trail no longer repeats the page title. A sub-page shows its parent as a link back.
  • Sidebar: an "Administration" divider and label sit above the admin pages. The rail keeps only the divider.
  • Tables: the scroll fade is now visible (20px at 18%). A pinned first column shows a divider on its right edge.
  • DESIGN.md: updated to the shipped look.

Verification

  • Portal: npx vitest run gives 1585 passed with exit 0. tsc --noEmit exits 0. Lint shows 0 errors, with the same 4 warnings as before.
  • openspec validate --strict passes.
  • Playwright at 360 and 1280 px on the local stack covered the visitor pages in each reachable state, the header, sidebar full and rail, the Users table scroll, reset password, My QR, login, and dark mode. Reset password and My QR were checked with a throwaway staff user, which was reverted afterwards. The details are in tasks.md 4.1.
  • Every task passed an Opus review gate. The whole-branch review passed after these fixes.

Follow-up

The forgot-password page still uses the older card layout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM

OpenSpec change `refine-visitor-pages-and-shell`. Portal only: no backend, SQL or dependency change. ## What - **Visitor pages `/r`, `/i`, `/c`:** one card on the slate ground. The event header shows the company label, the event name, and the dates and location. A "Mobile or email is required" hint sits under mobile. The privacy notice is complete in English and Bahasa Malaysia as fine print. Every state (loading, thank you, welcome, not yet, inactive) shows an icon and a heading. The look is neutral, with no per-company logo or colour, as the owner decided on 2026-12-01. - **My QR codes:** one card per code in a responsive grid. The QR sits above the link and buttons. - **Login and reset password:** they share one neutral frame. The giraffe coat and the 16px corners are gone, as DESIGN.md requires. - **Header:** the trail no longer repeats the page title. A sub-page shows its parent as a link back. - **Sidebar:** an "Administration" divider and label sit above the admin pages. The rail keeps only the divider. - **Tables:** the scroll fade is now visible (20px at 18%). A pinned first column shows a divider on its right edge. - **DESIGN.md:** updated to the shipped look. ## Verification - Portal: `npx vitest run` gives 1585 passed with exit 0. `tsc --noEmit` exits 0. Lint shows 0 errors, with the same 4 warnings as before. - `openspec validate --strict` passes. - Playwright at 360 and 1280 px on the local stack covered the visitor pages in each reachable state, the header, sidebar full and rail, the Users table scroll, reset password, My QR, login, and dark mode. Reset password and My QR were checked with a throwaway staff user, which was reverted afterwards. The details are in `tasks.md` 4.1. - Every task passed an Opus review gate. The whole-branch review passed after these fixes. ## Follow-up The forgot-password page still uses the older card layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile added 14 commits 2026-12-01 15:44:46 +00:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Neutral signed-out frame without the giraffe coat, spinning loading
icon, error heading fallback, invite registered and checked-in
coverage, behavioural pinned-column test, DESIGN.md brought up to
the shipped look, and the spec notes the pinned-column divider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Rest of the final-review fixes (the previous commit only removed the
duplicate breadcrumb test file, which moved into Breadcrumbs.test.tsx):
the signed-out frame drops the giraffe coat and 16px corners, the
loading icon spins, error headings fall back to the load-failed text,
invite registered and checked-in states are covered, the pinned-column
test renders a table, DESIGN.md describes the shipped look, and the
spec notes the pinned-column divider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile merged commit 93f9e07a6c into main 2026-12-01 15:44:50 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ngqile/co-lite#39