Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for thumbnails and videos in changelog list. Also pagination. #1045

Merged
merged 5 commits into from
May 16, 2024

Conversation

mikemuzza
Copy link
Contributor

@mikemuzza mikemuzza commented May 8, 2024

This is a first attempt at bringing thumbnails to the list view of the changelog page. How to use it:

In the frontMatter section at the top of each new change log, either set a thumbnail: URL or a video: URL. The list view will pick this up and present it. I've set a few for the last 20 or so change log items. Here's an example:

video: "https://www.loom.com/embed/3407a37ce1634f51b94b380c40c96306"

I also used some chatgpt wizardry to add pagination, as loading too many loom embeds would slow things down. I'm not a web person and can't vet this, so it would be good to get some eyes on this portion especially.

Screenshot 2024-05-08 at 12 36 02 PM

@mikemuzza mikemuzza requested a review from a team as a code owner May 8, 2024 16:34
@mikemuzza mikemuzza requested review from myronkaifung and removed request for a team May 8, 2024 16:34
Copy link

vercel bot commented May 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 3:12am

components/changelog-index.js Dismissed Show dismissed Hide dismissed
components/changelog-index.js Dismissed Show dismissed Hide dismissed
@ranic
Copy link
Contributor

ranic commented May 16, 2024

Removed a console.log and added a parameter to make the Loom embeds cleaner. Playing with the preview looks good. Merging it now, we can always fix issues forward later.

@ranic ranic merged commit 2d7a6f8 into main May 16, 2024
5 of 6 checks passed
@ranic ranic deleted the changelog-thumbnails branch May 16, 2024 03:11
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.

2 participants