Skip to content

feat(quiz): add what-are-apps quiz - #18906

Merged
wackerow merged 3 commits into
devfrom
quiz-what-are-apps
Aug 6, 2026
Merged

feat(quiz): add what-are-apps quiz#18906
wackerow merged 3 commits into
devfrom
quiz-what-are-apps

Conversation

@myelinated-wackerow

Copy link
Copy Markdown
Collaborator

Summary

Adds a six-question beginner quiz for /what-are-apps, embedded at the bottom of the page and listed under Ethereum basics on /quizzes.

One question per page section: unstoppable apps, what running on a public blockchain buys you, the guarantee that replaces an intermediary, who owns your data, composability across apps, and a true/false busting "every Ethereum app is for trading tokens". Every question is answerable from the page alone, and each wrong answer corrects a specific misconception (redundant hosting equals decentralization, a central body approves apps, trustless means unprotected, the data-for-free-access bargain, interoperability needs a partnership, sign-in-with-a-provider).

The quiz title reuses the existing common:what-are-apps string, so no new title string is needed. No QUIZZES_PREFIXES entry is needed either: the use-cases layout already loads the learn-quizzes namespace. Translated copies of the page get the embed through the intl pipeline.

Six beginner questions covering the /what-are-apps page: unstoppable apps, what running on a public blockchain buys you, the guarantee that replaces an intermediary, data ownership, composability across apps, and a true/false busting "every Ethereum app is for trading tokens". One question per page section, with each distractor written to correct a specific misconception.

Registered under the Ethereum basics section on /quizzes, titled from the existing common:what-are-apps string. The widget is embedded at the bottom of the page; no QUIZZES_PREFIXES entry is needed because the use-cases layout already loads the learn-quizzes namespace.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 953bd34
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6a74cc9b97fa370008704a2a
😎 Deploy Preview https://deploy-preview-18906.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 59 (🟢 up 2 from production)
Accessibility: 95 (no change from production)
Best Practices: 100 (🟢 up 1 from production)
SEO: 98 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Jul 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔎 First-pass review — ✅ Looks mergeable

Adds a six-question beginner quiz to /what-are-apps, embedded via <QuizWidget quizKey="what-are-apps" /> and listed under Ethereum basics on /quizzes. I verified every wiring claim in the description against the code and it all holds up — the data, string keys, and namespace loading are consistent with the existing quizzes. Lint/type-check and unit tests are green; Chromatic and the Netlify deploy are still running.

Analysis

Lane: code/data (+ English content). Files: quiz data (src/data/quizzes/index.ts, questionBank.ts), English strings (src/intl/en/learn-quizzes.json), the page embed (public/content/what-are-apps/index.md), and a Storybook fixture (QuizzesStats.stories.tsx).

Checked:

  • Answer/explanation coverage — all referenced label + explanation keys exist. Questions without per-answer explanations rely on explanationOverrides, correctly:
    • Q2 ([1,1,1,4], correct = d "All of the above"): a/b/c map to -a-explanation ("correct, but there are also other correct answers"), d maps to its own. Only -a/-d explanations need to exist. ✓
    • Q6 ([1,1], true/false, correct = b "False"): both options map to -a-explanation. ✓ (questionBank.ts:200-211 confirms the exIdx = override - 1 mapping.)
  • Title resolution — bare title: "what-are-apps" goes through tCommon() in useQuizWidget.tsx:63-65; common:what-are-apps = "What are apps?" exists. Reusing it is correct, no new string needed. ✓
  • NamespaceLAYOUT_NAMESPACES["use-cases"] already includes learn-quizzes (translations.ts:139), and the page is template: use-cases, so no QUIZZES_PREFIXES entry is required. ✓
  • CI — Lint/type-check & Unit tests passing; Chromatic + Netlify in progress.

Non-blocking: the embed line has no trailing newline, but that matches the file's prior state — nothing to fix.

Labels: removed translation 🌍 (no non-English files are touched — src/intl/en/ is English content); added needs review 👀.

Generated by PR Reviewer (team) for #18906 · 102.4 AIC · ⌖ 24.5 AIC · ⊞ 5.2K ·

@github-actions github-actions Bot added needs review 👀 and removed translation 🌍 This is related to our Translation Program labels Jul 24, 2026
@github-actions github-actions Bot added the translation 🌍 This is related to our Translation Program label Jul 27, 2026
Resolved append-vs-append conflicts in the quiz registry files by keeping
dev's content and re-applying only this branch's additions. The added lines
are byte-identical to the reviewed commit; the sole change is the JSON
trailing-comma moving to dev's current last key.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
@wackerow
wackerow merged commit ae755cd into dev Aug 6, 2026
12 of 13 checks passed
@wackerow
wackerow deleted the quiz-what-are-apps branch August 6, 2026 18:45
@claude claude Bot mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits needs review 👀 translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants