Design overhaul #89
Labels
No labels
blocked
bug
design
documentation
duplicate
enhancement
future
good first issue
help wanted
invalid
question
refactoring
tracker
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jelmer/topoquiz#89
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CODING AGENTS: READ THIS FIRST
This is a handoff bundle from Claude Design (claude.ai/design).
A user mocked up designs in HTML/CSS/JS using an AI design tool, then exported this bundle so a coding agent can implement the designs for real.
What you should do — IMPORTANT
Find the primary design file under
topoquiz/project/and read it top to bottom. Then follow its imports: open every file it pulls in (shared components, CSS, scripts) so you understand how the pieces fit together before you start implementing.If anything is ambiguous, ask the user to confirm before you start implementing. It's much cheaper to clarify scope up front than to build the wrong thing.
About the design files
The design medium is HTML/CSS/JS — these are prototypes, not production code. Your job is to recreate them pixel-perfectly in whatever technology makes sense for the target codebase (React, Vue, native, whatever fits). Match the visual output; don't copy the prototype's internal structure unless it happens to fit.
Don't render these files in a browser or take screenshots unless the user asks you to. Everything you need — dimensions, colors, layout rules — is spelled out in the source. Read the HTML and CSS directly; a screenshot won't tell you anything they don't.
Bundle contents
topoquiz/README.md— this filetopoquiz/project/— theTopoquizproject files (HTML prototypes, assets, components)Topoquiz-handoff.zip
INSTRUCTIONS:
Read HANDOFF.md first. Then skim atlas.jsx, routekaart_extra.jsx, routekaart_handoff.jsx for exact styling.
Plan for a design overhaul. Seperate the visual changes to the current HTML and the technical work that we need to do:
Refinement gedaan: REFINE-89.md
Handoff doorgelezen + codebase-mapping gemaakt. Volledige analyse in REFINE-89.md (682 regels). Samenvatting:
Aanbeveling
Optie C uit §5 vraag 1: vanilla-redesign binnen huidige monoliet, bewust met tokens + CSS-variabelen + modulaire CSS, zodat toekomstige Next.js-migratie niet wordt uitgesloten. Niet het ticket letterlijk volgen (Next.js 14 + Tailwind) — dat kost 3–6 weken en breekt de 166 Playwright-tests + rsync-deploy + CF-preview, terwijl het visuele resultaat in ~2 weken binnen de monoliet haalbaar is.
Scope #89 strikt beperkt tot redesign van bestaande schermen. Nieuwe features (XP/Badges/Leaderboard/Onboarding) losgekoppeld in tracking-issue.
Werkbrokken (volgorde)
Nu starten zonder user-beslissing
Blocked op open vraag 1 (stack-decision Optie A/B/C)
Niet blocked op vraag 1
Optioneel / afhankelijk
Nieuwe features (buiten redesign)
Open vragen voor user (zie REFINE-89.md §5)
Eerste concrete stap
#97 + #98 kunnen parallel starten zonder verdere beslissingen — zero-risk, geen zichtbare verbetering, maar legt fundament.
1: C
2: Alleen redesign, andere ideeën capturen in issues
3: Ik snap je vraag niet
4: Design principle, alles in het nederlands, B1 taalniveau.
5. Eens dus als aparte issue opnemen randvoorwaardelijk voor die features
6. Nu niet relevant. Als optie voor ooit documenteren samen met de andere technische verbeteringen (next.js / tailwind)
7. Pixel-perfect is niet belangrijk, mag geïtereerd.
Verwerkt
1 (Stack) → C: vanilla + tokens + modulaire CSS. #99/#101/#102 unblocked.
2 (Scope) → redesign only; nieuwe features blijven gecaptured in losse issues (#104 staat al).
4 (Copy) → Design principle: alles Nederlands, B1-taalniveau. Dus:
5 (SessionStorage) → losgetrokken als #107: randvoorwaarde voor #104 (XP-subissue).
6 (Deploy-target + Next.js/Tailwind) → parkeren als tech-ideeën: #108 (future tech directions tracker).
7 (Pixel-perfect) → visueel trouw genoeg, iteratie mag. Scheelt tijd in #99/#101/#102.
Nog open — vraag 3 verduidelijken
Handoff introduceert Piep: pinguïn-mascotte met 6 expressies die in Home-header, quiz-dialog en end-scherm verschijnt. Bedoeling van vraag 3:
Zonder antwoord op 3 kan #99 (Home met Piep-avatar) en #101 (Quiz met Piep-dialog) niet starten. Default-suggestie: ja Piep, geen alternatieve companions (schrapt onboarding-companion-keuze uit #104).
Kunnen we de mascotte voor nu achterwege laten, en als feature toevoegen later? Als het later goed ingevoegd kan, dan nu weglaten en als issue opnemen.
Vraag 3 → mascotte uit scope
Mascotte nu weglaten, later als losse feature invoegen. Nieuwe issue: #109.
Effect op redesign-werk
RkDialog-frame-styling blijft, content = alleen tekst.Alle vragen beantwoord → starten
Blockers op #99/#101/#102/#103 zijn weg. Volgende stap: implementeer #97 + #98.
Status-refresh (2026-04-22) — child-issues:
Done (closed):
Open:
blocked(optioneel, na #99 — nu niet geplanned)tracker(XP/Badges/Onboarding, blocked op #107)blockedop #104blockedop volledige #89 completionDit issue blijft open als tracker: redesign-brokken die nog gepland kunnen worden (Brok 3b, Brok 9) hangen er onder. Wanneer #100 + #106 ook dicht zijn: closen.