Skip to content

Add post: shinywidgets 1.0 - #509

Draft
cpsievert wants to merge 16 commits into
mainfrom
blog/shinywidgets-1-0
Draft

cpsievert wants to merge 16 commits into
mainfrom
blog/shinywidgets-1-0

Conversation

@cpsievert

@cpsievert cpsievert commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Announces shinywidgets 1.0. Also adds an optional shinylive attribute on code blocks that puts a "Run in Shinylive" link in the header bar.

Don't merge until 1.0 is on PyPI (the Shinylive examples need it).

@netlify

netlify Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 573397b
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6b136a44b66e38cb3e45f97d

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Publishing checklist

  • Get a review — you're responsible for requesting one. Any colleague with Write access can approve; if your PR touches files outside a post folder, the assigned code owner's approval is also required before merging
  • Check your post — once the deploy preview is ready, a comment will appear with direct links to your post
  • Check the blog listing — confirm your post appears with the correct title, image, and description
  • Merge — once everything looks good and you have an approving review, merge to main

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

@schloerke schloerke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big update!

shinywidgets 1.0 brings dedicated support for 40+ interactive Python
libraries to Shiny, plus a new website and a simpler way to react to clicks,
selections, and other user interactions.
image: featured.jpg

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this a gif. I imagine an "infinte scroll" of rising images (cuz you're scrolling for more) that loops back on itself as a seamless gif

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in edf0d70 and 1d50b59. The hero is now a seamlessly looping video of the tile wall in motion. It's an mp4 (the hero's video option) rather than a GIF; the listing card and social previews keep the still image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On why the listing card and social previews stay still: a GIF is the only way to animate those, since both show the post's image field, which can't be a video. Our recent Shiny posts manage it because their animations are mostly static, which keeps the GIFs around 200 KB. This one drifts the whole tile wall over a 40 s loop, and as a GIF that's 10+ MB even at 600 px and 8 fps. That's too heavy for the listing page and over X's and Facebook's size limits for preview images. X and LinkedIn only show a still frame anyway.

The hero itself is still animated, as an mp4, which I've also cut from 7 MB to 2.2 MB in 5024a97. If we want animated cards site-wide, the cleaner route is teaching listing cards to play a small mp4 (about 1 MB for this one), but that's a template change for its own PR.

Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
Comment thread content/blog/shinywidgets-1-0/index.qmd Resolved
cpsievert and others added 12 commits December 4, 2026 11:08
Co-authored-by: Barret Schloerke <barret@posit.co>
…on, PR/Issue wording)

Co-authored-by: Barret Schloerke <barret@posit.co>
Co-authored-by: Barret Schloerke <barret@posit.co>
… quickstart

Moves 'A new website' (with a new homepage splash screenshot) to directly
after the intro, folds the newcomer pointers into its Guides subsection,
and turns the agent-skill quickstart into its own 'Build one with a
coding agent' section.

Co-authored-by: Barret Schloerke <barret@posit.co>
…rding reel

The tabbed showcase re-created the shinywidgets.org landing page in a
narrower column with static images; a 24s looping reel of the apps in
motion (county-clusters, loan-chat, whale-slowdown, trading-desk) shows
the interactivity that is the actual pitch. The six apps keep their
gallery links as a compact list.

Co-authored-by: Barret Schloerke <barret@posit.co>
Quarto rewrote the raw video block with the fallback text and closing
tag inside a <p>; browsers ignore </video> there, so everything after
the video parsed as invisible fallback content. Wrap in a {=html} raw
block so the markup passes through verbatim (same pattern as the
commons post).
Records the featured card with a slow, seamlessly-looping drift of the
widget tiles (capture_video.py, crossfaded at the loop point) and serves
it via the existing image-video param: animated hero on the post page,
static featured.jpg everywhere else (listing, og:image, poster).
Banner heroes with front matter image-video now loop (they are ambient)
and emit the poster attribute from the image param. Documents the
image-video param in content/blog/CLAUDE.md.
…rame

The gallery section now embeds the gallery-page tour from Wistia (the
site's video host, same as the querychat post) with each featured app
linked below, replacing the in-repo reel. featured.jpg is regenerated
from the hero video's first frame so the poster-to-video handoff has no
visible swap.
…der the website

The gallery section now embeds a Wistia recording of the home page's six
featured apps, each shown on load and then after its interaction, with a
lead-in saying so. capture_gallery_hover.py records it.

The Guides list is cut to one line per guide, and the agent skill moves
from its own section into "A new website" (it is the site's guides,
condensed for agents), so the intro highlights and the body share an
order.
Re-encoded at 1280x720 (crf 28) instead of 1920x1080. The hero banner
shows it at most 384px tall and cropped, so the extra resolution was
never visible, and the page preloads it for every reader.
capture_video.py's printed encode command now produces this size.
@github-actions

This comment was marked as outdated.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Blog YAML Checks

✅ All 1 posts passed.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
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