Skip to content

Screenshots and Portfolio

Re-Krass edited this page Nov 16, 2026 · 1 revision

πŸ“Έ Screenshots and Portfolio

Screenshots are captured through the Playwright workflow in the main ydl repository and published as portfolio media in the .github organization-profile repository.

Source and publication layout

πŸ“¦ ydl/
β”— πŸ“‚ screenshots/
  ┣ πŸ“„ capture.cjs          # Automated student, teacher, mobile captures
  ┣ πŸ“„ package.json         # pnpm scripts and Playwright dependency
  ┣ πŸ“„ pnpm-lock.yaml
  β”— πŸ“‚ output/              # Locally generated images

πŸ“¦ .github/
β”— πŸ“‚ images/
  ┣ πŸ“‚ branding/            # Logos and technology graphics
  β”— πŸ“‚ screenshots/
    ┣ πŸ“‚ student/           # Ten desktop captures
    ┣ πŸ“‚ teacher/           # Six teacher captures
    β”— πŸ“‚ mobile/            # Two narrow-screen captures

Capture presets

Group Viewport Examples
Student 1920 Γ— 1080 px Landing, dashboard, courses, forum, calendar, quiz
Teacher 1920 Γ— 1080 px Teacher dashboard, course edit, quiz editor, create forms
Mobile 430 Γ— 932 px German course and quiz

The capture automation uses separate persistent browser profiles for student and teacher. These profiles may contain demo sessions and must never be committed.

Running captures

The screenshot tooling is separate from the Node 10 frontend build and uses pnpm with a compatible Playwright installation. On the historically used macOS Monterey setup, Playwright 1.45.0 was used because newer bundled Chromium versions were unsupported by the OS.

cd screenshots
pnpm capture:login:student
pnpm capture:student
pnpm capture:login:teacher
pnpm capture:teacher
pnpm capture:mobile

These scripts assume the local frontend is reachable at 127.0.0.1:8080. Check the current screenshots/package.json and capture.cjs for command names if changed.

Screenshot assets in documentation

The same screenshots are linked from the organization profile and feature showcase. Keep one canonical copy in .github/images/screenshots to avoid large duplicated image histories in the wiki repository.

<img
  src="https://raw.githubusercontent.com/YoungAndDigitalLearning/.github/main/images/screenshots/student/02-dashboard.png"
  alt="Young & Digital Learning student dashboard"
  width="960"
/>

Review before publishing

  • Confirm each view corresponds to the intended demo role and route.
  • Remove browser extensions, error overlays and personal browser data.
  • Use only fictional users and course content.
  • Review mobile screenshots for overflow and cropped buttons.
  • Keep .browser-profile/, .browser-profiles/ and node_modules/ out of Git.

Next: Feature showcase Β· Repository guide

Clone this wiki locally