Spec v1.2, Logosmental-based design direction and tokens, pnpm monorepo (apps/demo, packages/data|features|i18n|db/seed), student + admin screens in 4 locales, simulated ArifPay checkout on the real order state machine, artifact inline/check tools, domain rule checks and UI audit fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
75 lines
5.8 KiB
Markdown
75 lines
5.8 KiB
Markdown
# Inspiration board
|
||
|
||
Read this before any UI task (SPEC "How to work" step 4). Each entry says what to take, and what not to take.
|
||
|
||
## 1. Logosmental LMS — https://logosmental-lms.vercel.app/
|
||
|
||
Screenshots of the reference are in `logosmental/` (captured 2026-10-06). It is a Yaltopia Education demo with the same admin shell we need, so it's the main reference for **admin layout** and **course structure presentation**.
|
||
|
||
### Admin (`admin.png`, `admin-content.png`, `admin-users.png`, `admin-notifications.png`, `admin-analytics.png`)
|
||
|
||
Take:
|
||
- **Shell.** A fixed left sidebar about 270 px wide, collapsible. Nav is grouped under small section labels (Overview / People / Learning / Operations). The active item is a filled ink icon tile plus a right-edge bar. The current admin and role are shown at the top right and as a card at the bottom of the sidebar. Content sits on a light grey canvas and cards are white. The footer is one quiet line.
|
||
- **Page header.** A small section label, then a large page title, then a one-line description that says what the page is for. The primary action ("Create course") sits top right, and there's only one per page.
|
||
- **Stat cards.** Label, big number, an icon tile, then a divider and a one-line context note ("Needs attention" in red, "+5 this week" in green). 3–4 per row. This is the pattern for the §10.3 dashboard cards. The context line is where each card's spec definition gets surfaced.
|
||
- **Filter bar.** Search box plus labelled selects in one white bar above the table, then a line like "Showing 8 of 8 users". Use it for Students, Orders and Issues.
|
||
- **Tables.** Uppercase column headers, generous row height, the name as a link, and small tinted status pills (ACTIVE / INVITED / SUSPENDED).
|
||
- **Content page.** Courses are grouped by category. Each course is a card containing its chapters (number, title, one-line "why", and lesson count on the right), with a status pill top right. This gives a readable overview of the whole catalog in one scroll. It's the model for our Courses list, with the editor (§10.4) one click deeper.
|
||
- **Notifications.** History items are cards with title, body, audience · date, and channel chips (IN_APP / EMAIL / SMS). Our version adds the table, filters and delivery detail the spec requires (L8).
|
||
- **"Switch account"** at the sidebar bottom maps to our demo "View as" role switcher (§18.2).
|
||
|
||
Don't take:
|
||
- **The "Roles" and "Team" pages as editable role builders.** Roles are fixed (L11). Show the §10.1 matrix read-only, if at all.
|
||
- **Dashboard charts fixed to "Last 7 days".** Our dashboard uses the global time filter (§10.3, L6). Trends belong on Analytics, not on the Dashboard.
|
||
- **Content-specific metrics** (Reflections, Practices). Use the §10.3 card definitions.
|
||
|
||
### Course page (`course.png`)
|
||
|
||
Take:
|
||
- **The hero:** level · brand label, a big title, the one-sentence promise, a "who it's for" line, a meta row (hours · chapters), and one primary CTA.
|
||
- **"What you'll be able to do"**: 3 numbered outcomes. This needs an `outcomes` field on the course (see "Spec gaps" below).
|
||
- **"Your learning journey"**: chapters as a vertical numbered timeline. Each chapter card shows "Why it matters." + 2 bullet goals + "Open lesson". This is the cleaner execution of our curriculum list. For us, each lesson row also shows duration, lock state, and a preview badge (§5.4).
|
||
- **A closing CTA band:** "Ready when you are — Start with chapter 1, about 25 minutes."
|
||
|
||
### Lesson player (`lesson.png`)
|
||
|
||
Take:
|
||
- **A focused top bar** with Back, the course title and close. The marketing nav is hidden while learning.
|
||
- **A left "Course content" panel:** a progress block ("00 of 02 lessons completed" + bar), then collapsible chapters with lesson rows (icon, title, duration). The current lesson is highlighted. Below 1024 px it collapses under the video.
|
||
- **Video card** with the chapter label + lesson title above it.
|
||
- **A tabs card under the video.** We ship only tabs that work (L3): *Lesson notes* (lesson description) for now. Transcript and Resources stay hidden behind flags until they exist.
|
||
|
||
Don't take:
|
||
- **Reading, quiz and assignment lesson types.** These are out of scope (§1.3).
|
||
- **The Learners and Discuss tabs.** Chat is out of scope.
|
||
- **The Vimeo embed.** We use our own player (§5.7).
|
||
|
||
## Token plan (C0-01)
|
||
|
||
Keep the §11.2 palette and type, since it's provisional client branding. Borrow Logosmental's *structure*, not its colours. The table below is the mapping, and the values live in `../tokens.json`.
|
||
|
||
| Logosmental | Ours |
|
||
|---|---|
|
||
| navy `#1a3d66` (primary, active nav, headings) | `ink` `#1B2340` |
|
||
| sky wash `#e8f1f9` (icon tiles, active row) | `mist` `#EEF1F6` |
|
||
| grey canvas | `canvas` `#F5F6F8` (admin background only) |
|
||
| red badge / "needs attention" | `alert` `#C2362B` |
|
||
| green trend text | `success` `#2E7D5B` |
|
||
| Barlow Condensed (display) | Noto Serif Ethiopic (Ge'ez) / Atkinson Hyperlegible (Latin) |
|
||
| — | `accent` `#F2B705`: progress, "Continue", focus ring only |
|
||
|
||
Principles:
|
||
1. One primary action per screen.
|
||
2. Every stat card and section header carries a one-line "what this means".
|
||
3. Content is grouped by hierarchy (Category → Course → Chapter → Lesson) visually, not just in data.
|
||
4. Student pages are quiet and give Ge'ez titles room. Admin is dense but uses the same tokens.
|
||
|
||
Logosmental uses uppercase section labels everywhere. §11.2 says to avoid all-caps eyebrows. **Compromise:** small uppercase labels are allowed **in admin only** (sidebar groups, stat card labels, table headers), where they aid scanning. They're never used on student pages, and never on Ge'ez text, which has no case.
|
||
|
||
## Spec gaps this reference exposed
|
||
|
||
Add these to §6 once confirmed. They're demo-safe as optional fields:
|
||
- `CourseTranslation.outcomes: string[]` — "What you'll be able to do".
|
||
- `CourseTranslation.audience: string?` — "Who it's for".
|
||
- `ChapterTranslation.summary: string?` — the "Why it matters" line.
|