Commit Graph
1 Commits
Author SHA1 Message Date
anthony lio 5b31e21ddb feat(docs): guide video preview (#53981)
## Problem

* video card in the docs guide sidebar blurs the thumbnail making it
hard to preview
* users cannot see which video the card opens before they click it

## Solution

* adds a `GlassLens` filter wrapper to `ui-patterns` with lens curvature
and color fringe settings
* replaces the video card in both docs sidebars with a sharp thumbnail
* changes the video dialog in docs and www to fade the backdrop + skip
the zoom when reduced motion is on
* fixes the white iframe in dark mode + a one-frame backdrop flash at
the end of the close animation
* adds autoplay on open + the card thumbnail behind the iframe while the
video loads
* adds a hidden dialog title for screen readers

<!-- linear:table-colwidths:801 -->
<table>
<thead>
<tr>
<th>preview</th>
</tr>
</thead>
<tbody>
<tr>
<td>


https://github.com/user-attachments/assets/b41b3b8a-4d3e-47b3-92ea-3b2cd7629494

</td>
</tr>
</tbody>
</table>

## Review instructions

1. open
[/docs/guides/database/overview](<https://docs-git-antlio-docs-video-preview-supabase.vercel.app/docs/guides/database/overview>)
in dark mode
2. make sure that the video card shows a thumbnail
3. make sure it feels better :)

## Checklist

Check all before review:

- [X] I have read
[CONTRIBUTING.md](<https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md>)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](<https://github.com/supabase/supabase/tree/master/apps/docs/style-guide>)
2026-11-27 21:44:17 +02:00