docs(authentication): add the session reuse demo video
Merged
KA
2d ago+8+8+0123456789-0-0-0123456789
What
The Authentication page opens with a 36-second demo video, placed after the intro paragraph. It shows the config's admin credentials and a setup test that saves the admin session. Then a headed run opens the customers page already signed in.
Why
The page explains session reuse in prose and code only. The video shows the whole flow, from config to a passing run, in one place.
How it works
docs/images/authentication.mp4is the recording re-encoded from 3840×2106 (97.7 MB) to 1920×1054 H.264, 60 fps, CRF 30, no audio,+faststart. That makes it 3.3 MB, close topersonas.mp4(3.6 MB) andvercel-previews.mp4(3.0 MB).docs/authentication.mdx:8-20imports theVideosnippet and embeds the video likedocs/filters.mdxdoes:muted loop playsInline controls, an aria-label describing what the video shows, and a one-line caption.
Issue
GTM-1065
Verified
Ran it locally: yes
pnpm checkpasses, includingdocs:check, which compiles every page as MDX.- I checked frames from the encoded file. The code in the editor and the dashboard text stay sharp at CRF 30.
- The aria-label and caption match the video:
credentials.admin,session.save('admin'),describe(..., { session: 'admin' }), and the final15 passed,12.01s. - No screenshot of the rendered page: the docs site has no local preview in this repo. The video itself is attached below.
https://github.com/user-attachments/assets/3f41e273-2312-4e78-82e1-3add96ef6140