From a3944ea1f99b2d29f59053db380d094ecfd9e69d Mon Sep 17 00:00:00 2001 From: ngqile Date: Tue, 1 Dec 2026 23:44:59 +0800 Subject: [PATCH] docs: archive refine-visitor-pages-and-shell Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM --- .../.openspec.yaml | 0 .../design.md | 0 .../proposal.md | 0 .../specs/admin-visual-design/spec.md | 0 .../tasks.md | 0 openspec/specs/admin-visual-design/spec.md | 60 +++++++++++++++++++ 6 files changed, 60 insertions(+) rename openspec/changes/{refine-visitor-pages-and-shell => archive/2026-12-01-refine-visitor-pages-and-shell}/.openspec.yaml (100%) rename openspec/changes/{refine-visitor-pages-and-shell => archive/2026-12-01-refine-visitor-pages-and-shell}/design.md (100%) rename openspec/changes/{refine-visitor-pages-and-shell => archive/2026-12-01-refine-visitor-pages-and-shell}/proposal.md (100%) rename openspec/changes/{refine-visitor-pages-and-shell => archive/2026-12-01-refine-visitor-pages-and-shell}/specs/admin-visual-design/spec.md (100%) rename openspec/changes/{refine-visitor-pages-and-shell => archive/2026-12-01-refine-visitor-pages-and-shell}/tasks.md (100%) diff --git a/openspec/changes/refine-visitor-pages-and-shell/.openspec.yaml b/openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/.openspec.yaml similarity index 100% rename from openspec/changes/refine-visitor-pages-and-shell/.openspec.yaml rename to openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/.openspec.yaml diff --git a/openspec/changes/refine-visitor-pages-and-shell/design.md b/openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/design.md similarity index 100% rename from openspec/changes/refine-visitor-pages-and-shell/design.md rename to openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/design.md diff --git a/openspec/changes/refine-visitor-pages-and-shell/proposal.md b/openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/proposal.md similarity index 100% rename from openspec/changes/refine-visitor-pages-and-shell/proposal.md rename to openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/proposal.md diff --git a/openspec/changes/refine-visitor-pages-and-shell/specs/admin-visual-design/spec.md b/openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/specs/admin-visual-design/spec.md similarity index 100% rename from openspec/changes/refine-visitor-pages-and-shell/specs/admin-visual-design/spec.md rename to openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/specs/admin-visual-design/spec.md diff --git a/openspec/changes/refine-visitor-pages-and-shell/tasks.md b/openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/tasks.md similarity index 100% rename from openspec/changes/refine-visitor-pages-and-shell/tasks.md rename to openspec/changes/archive/2026-12-01-refine-visitor-pages-and-shell/tasks.md diff --git a/openspec/specs/admin-visual-design/spec.md b/openspec/specs/admin-visual-design/spec.md index ca69959..0dfc116 100644 --- a/openspec/specs/admin-visual-design/spec.md +++ b/openspec/specs/admin-visual-design/spec.md @@ -79,3 +79,63 @@ Every dropdown in the admin portal SHALL open a styled option menu that matches - **WHEN** an admin focuses a dropdown and presses Enter or Space, then the arrow keys and Enter - **THEN** the menu opens, moves between options, and chooses one + +### Requirement: Visitor Page Look + +The public visitor pages (registration, invitation and check-in) SHALL show their content in one card on the page ground. The card SHALL be headed by the company name as a small label, the event name as the main heading, and the event dates and location. The pages SHALL use only the portal's theme tokens and SHALL NOT show a per-company logo or colour. The privacy notice SHALL be shown in full in English and Bahasa Malaysia as smaller, muted text that keeps at least 4.5:1 contrast. + +#### Scenario: Visitor opens a registration code + +- **WHEN** a visitor opens the registration page of an INS event +- **THEN** the card shows "INS" as a label above the event name, then the event dates and location +- **AND** the full privacy notice appears in both languages above the consent box + +#### Scenario: Visitor needs a contact + +- **WHEN** a visitor sees the mobile field on the registration form +- **THEN** a hint under it says that a mobile number or an email is required + +#### Scenario: Visitor reaches an end state + +- **WHEN** a visitor's registration is accepted, or the code is inactive, or check-in has not opened yet +- **THEN** the same card shows an icon and a heading for that state + +### Requirement: Header Trail Without Repeats + +The admin header SHALL NOT repeat the page title. On a page reached directly from the sidebar it SHALL show no trail. On a page below one, it SHALL show the parent page as a link back. + +#### Scenario: Top-level page + +- **WHEN** an admin opens the Events list +- **THEN** the header shows no trail text + +#### Scenario: Sub-page + +- **WHEN** an admin opens the new event page +- **THEN** the header shows "Events" as a link to the Events list + +### Requirement: Table Scroll Cue + +A table wider than its container SHALL show a fade on each edge where more columns can be scrolled into view. The fade SHALL disappear at that end of the scroll. Where a data table pins its first column, the pinned column covers the left fade and SHALL instead show a divider on its right edge. + +#### Scenario: Users list on a phone + +- **WHEN** an admin opens the Users list at 360 px wide +- **THEN** a fade shows on the right edge of the table +- **AND** after scrolling to the last column the right fade is gone +- **AND** the pinned username column shows a divider on its right edge + +### Requirement: Sidebar Sections + +The sidebar SHALL list the work pages first, then an "Administration" section for Users, Roles, Emails, Login security, Audit log and Companies. The section SHALL be marked by a divider and a small muted label, and only the divider SHALL show in the collapsed rail. A section with no item the admin may open SHALL NOT show. + +#### Scenario: Super admin sidebar + +- **WHEN** a super admin opens the portal +- **THEN** Dashboard, Events, Event leads, Interests and Leads are listed above the "Administration" label +- **AND** Users, Roles, Emails, Login security, Audit log and Companies are listed below it + +#### Scenario: Staff without admin pages + +- **WHEN** a staff user who can open only Events and Event leads opens the portal +- **THEN** the sidebar shows no "Administration" label