From 92a90d5f481f8cc5555ac78e3f013783729a48a5 Mon Sep 17 00:00:00 2001 From: ngqile Date: Tue, 1 Dec 2026 16:51:42 +0800 Subject: [PATCH 01/11] docs: Co-Lite PRODUCT.md for the visual revamp Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM --- solvway-admin-portal/PRODUCT.md | 68 +++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 solvway-admin-portal/PRODUCT.md diff --git a/solvway-admin-portal/PRODUCT.md b/solvway-admin-portal/PRODUCT.md new file mode 100644 index 0000000..90a133d --- /dev/null +++ b/solvway-admin-portal/PRODUCT.md @@ -0,0 +1,68 @@ +# Product + + + +## Platform + +web + +## Users + +- **Office admins (primary).** Staff of INS and CV, and company-less super admins, working at a desk. They set up events and teams, manage guest lists and invitations, follow up and export leads, and manage users, roles, companies and privacy notices. When the needs of the two staff groups clash, the admin's needs win. +- **Booth staff.** Salespeople at an event, mostly on a phone. They show their personal QR code, capture visitors, and check their own leads. +- **Visitors and guests.** Members of the public on their own phone, with no account. They open a QR, invite or check-in link, fill in a short form and give consent. + +## Product Purpose + +Co-Lite turns event attendance into leads for one company group (INS and CV at go-live). It captures who registered, who was invited, and who actually came, through four routes: staff capture at the booth, walk-in QR codes, personal invite links, and self check-in at the door. Every lead is followed up from one listing. + +Success at go-live (2027-01-15) means: +- every visitor at an INS or CV event becomes a lead with consent; +- admins can see invited, registered, attended and walk-in numbers against capacity; +- nothing is lost between the booth and follow-up. + +## Positioning + +An event-day lead tool, not a general CRM. Its core is the booth and the event day. Hosting events and a member web portal come later (phase 2): leave room for them, but do not design for them yet. + +## Operating Context + +- **Admins:** on desktop browsers in the office, before, during and after events. +- **Booth staff:** on phones at a busy booth, often one-handed. A QR code is shown full screen for a visitor to scan. +- **Visitors:** scan printed or on-screen QR codes on their own phones, often on venue Wi-Fi. +- **Invitations:** sent by email. Until an SMTP provider is set up, emails are only saved and listed under Emails, and admins copy links by hand. +- **Companies:** two companies (INS and CV) on one system. Staff see only their own company's data, and super admins see all. + +## Capabilities and Constraints + +- **Stack:** Next.js admin portal calling JSON admin APIs in mobile-api, with Java/Spring services behind an internal gateway. +- **Access:** screens are controlled by back-office modules assigned to roles (for example `BO_EVENTS`, `BO_EVENT_GUESTS`, `BO_LEADS_EDIT`, `BO_LEADS_EXPORT`). Staff sign in with company code, username and password. +- **Visitor pages are public:** + - `/r/` walk-in registration; + - `/i/` invite; + - `/c/` check-in. + + The privacy-notice consent on these pages is bilingual (English and Bahasa Malaysia) by spec. +- **Admin UI languages:** English and Bahasa Malaysia (locale switcher). +- **Not at go-live:** member app, member portal, rewards, built-in WhatsApp sending. +- **Undecided:** per-company logo or accent in the UI; a dark theme as a supported default. + +## Brand Commitments + +- The product name is **Co-Lite**. +- The footer keeps "Powered by Containerverse Sdn. Bhd." +- The current look (inherited from the babyboo admin portal) is not binding, and the owner welcomes a complete revamp. + +## Evidence on Hand + +- There are no real customer data, testimonials or case studies. +- Local data is test-only (for example the event "LC CV Expo" and test registrations). +- Tastefully customer data must never be copied in. + +## Product Principles + +1. **Admins first.** Dense, scannable lists and forms serve the office user; booth and visitor screens stay just as fast in their own context. +2. **Every route counts the same.** Staff capture, QR, invite and check-in all end up as one lead, and the numbers agree everywhere. +3. **Consent before capture.** No visitor data is kept without the company's privacy notice and the visitor's consent. +4. **One company at a time.** Staff only ever see their own company's events, leads and guests. +5. **Leads now, events later.** Build for event leads today without locking out event hosting tomorrow. From 2a78ef0a79accb75604a71277fc4b4ab6d784007 Mon Sep 17 00:00:00 2001 From: ngqile Date: Tue, 1 Dec 2026 18:59:24 +0800 Subject: [PATCH 02/11] docs: visual foundation design and OpenSpec change Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM --- .../2026-12-01-visual-foundation-design.md | 41 ++++++++++ .../add-visual-foundation/.openspec.yaml | 2 + .../changes/add-visual-foundation/design.md | 23 ++++++ .../changes/add-visual-foundation/proposal.md | 27 +++++++ .../specs/admin-visual-design/spec.md | 75 +++++++++++++++++++ .../changes/add-visual-foundation/tasks.md | 34 +++++++++ solvway-admin-portal/PRODUCT.md | 1 + 7 files changed, 203 insertions(+) create mode 100644 docs/superpowers/specs/2026-12-01-visual-foundation-design.md create mode 100644 openspec/changes/add-visual-foundation/.openspec.yaml create mode 100644 openspec/changes/add-visual-foundation/design.md create mode 100644 openspec/changes/add-visual-foundation/proposal.md create mode 100644 openspec/changes/add-visual-foundation/specs/admin-visual-design/spec.md create mode 100644 openspec/changes/add-visual-foundation/tasks.md diff --git a/docs/superpowers/specs/2026-12-01-visual-foundation-design.md b/docs/superpowers/specs/2026-12-01-visual-foundation-design.md new file mode 100644 index 0000000..b4301e6 --- /dev/null +++ b/docs/superpowers/specs/2026-12-01-visual-foundation-design.md @@ -0,0 +1,41 @@ +# Co-Lite visual foundation — design + +Date: 2026-12-01. Status: direction chosen by the owner; design awaiting approval. + +## Why + +The admin portal still wears the inherited babyboo look: brown primary, DM Sans headings, 16px soft corners, a gradient wordmark, and native selects whose option lists cannot be styled (the owner asked why the company picker's options are not rounded). The owner wants a complete revamp before go-live (2027-01-15), and the invitations screens (tasks 5.1–5.3 of `add-event-invitations`) wait on it. + +## Direction + +The owner looked at nine directions on a decision page and chose **the category standard**: a clean SaaS admin, done well, with no brand gimmick. The quality bar is Stripe Dashboard, Linear and Vercel (my call; the owner did not name products). Reference sketch: `solvway-admin-portal/.impeccable/mocks/decision/canon.html` (local only). + +- **Colour:** white ground and white sidebar with a 1px slate border; slate text (#0F172A, muted #64748B); slate-50 surfaces (#F1F5F9); one blue accent (#2563EB) for primary buttons, links, focus rings and the active nav item. Status pills are pastel tints with dark text (green, amber, red, blue, slate). +- **Type:** Inter for everything; DM Sans is dropped. Tabular figures for numbers. +- **Shape:** 8px card radius, 6px controls, one soft shadow on cards, 1px borders. +- **Wordmark:** a small blue square mark plus "Co-Lite" in solid text. The gradient text goes. +- **Selects:** every native ` setCompanyId(e.target.value ? Number(e.target.value) : undefined)} - className="h-9 rounded-md border bg-background px-2 text-sm" - > - - {companies.map((c) => ( - - ))} - + ); } diff --git a/solvway-admin-portal/app/components/app/Header.tsx b/solvway-admin-portal/app/components/app/Header.tsx index 706f3f9..5a580ec 100644 --- a/solvway-admin-portal/app/components/app/Header.tsx +++ b/solvway-admin-portal/app/components/app/Header.tsx @@ -55,7 +55,7 @@ export default function Header() { const initial = (name ?? "?").slice(0, 1).toUpperCase(); return ( -
+