Repository navigation
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.
π¦ 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
| 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.
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:mobileThese 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.
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"
/>- 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/andnode_modules/out of Git.
Next: Feature showcase Β· Repository guide
Young & Digital Learning Β· Interactive demo Β· Archived API reference Β· Source repositories Β· Fictional demonstration data Β· Academic portfolio