Skip to content

feat: add expert level — blind-by-design#74

Merged
sinduri-g merged 3 commits into
mainfrom
feat/blind-by-design-expert
May 28, 2026
Merged

feat: add expert level — blind-by-design#74
sinduri-g merged 3 commits into
mainfrom
feat/blind-by-design-expert

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Level Added

Field Value
Adventure blind-by-design
Level expert

Generated

  • src/data/adventures/blind-by-design/expert-posts.json (discussion stub)
  • Prerender entry in react-router.config.ts
  • Sitemap entry in public/sitemap.xml

Manual step required

Paste this into the levels array in src/data/adventures/blind-by-design/adventure.yaml:

  - id: expert
    name: "TODO: Level name"
    difficulty: Expert
    topics:
      - "TODO: Add topic tags"
    learnings:
      - "TODO: Add learning 1"
    devcontainerPath: ".devcontainer/TODO/devcontainer.json"
    discussionUrl: "/t/TODO"
    intro:
      - "TODO: Add intro paragraph"
    backstory:
      - "TODO: Add backstory"
    objective:
      - "TODO: Add objective 1"
    toolbox:
      - name: "TODO"
        description: "TODO: Add tool description"
    howToPlay:
      - title: "TODO: Step 1"
        body: "TODO: Add instructions"
    verification:
      command: "./verify.sh"
      description: "Once you think you've solved the challenge, run the verification script."

Next steps

  1. Paste the snippet above and fill in the TODOs
  2. Update discussionUrl in the YAML and the -posts.json file
  3. Run node scripts/refresh-discussions.mjs
  4. Run all checks: npm run lint && npm test && npm run build && npm run test:e2e

github-actions Bot and others added 3 commits May 28, 2026 10:33
- Add optional metaDescription field to level schema, AdventureLevel type, generate script, and ChallengeDetail meta function
- When present, metaDescription is used directly as the SEO meta description instead of the auto-generated formula from learnings, which was truncating mid-sentence with apostrophes encoding as '
- Add metaDescription to all three blind-by-design levels with purpose-built descriptions under 160 chars and no apostrophes
- Add expert level (Read the Chart) to seo.test.ts, prerender.test.ts, and e2e/smoke.spec.ts
- Delete stale test-b.generated.ts artifact
- Improve new-adventure.mjs and new-level.mjs templates with clearer comments and examples
- new-level.mjs now patches has_<level> flag in refresh-leaderboard.mjs automatically
- WalkthroughSection renders all intro paragraphs, not just the first

Signed-off-by: Sinduri Guntupalli <sinduri.guntupalli@dynatrace.com>
- Replace conditional rendering with `hidden` attribute so `aria-controls`
  always references a DOM element, as required by the ARIA disclosure pattern
- Add `focus-visible:ring-*` classes to the step button, matching the
  focus style used on all other interactive elements in the codebase
- Change chevron rotation from `-rotate-90` (collapsed) to `rotate-180`
  (expanded), consistent with CollapsibleSection's `rotate-0`/`rotate-180`
  convention
- Compress two-line `metaDescription` comment in types.ts to one line

Signed-off-by: Sinduri Guntupalli <sinduri.guntupalli@dynatrace.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 28, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-28 14:00 UTC

@sinduri-g sinduri-g merged commit af7feac into main May 28, 2026
3 checks passed
@sinduri-g sinduri-g deleted the feat/blind-by-design-expert branch May 28, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant