Skip to content

docs: port gallery layout changes to rstudio/shiny-dev-center - #486

Open
schloerke wants to merge 1 commit into
mainfrom
docs-sync-r-gallery
Open

schloerke wants to merge 1 commit into
mainfrom
docs-sync-r-gallery

Conversation

@schloerke

Copy link
Copy Markdown
Contributor

The R site's /r/components/ gallery is a port of this one (rstudio/shiny-dev-center#425). Nothing told a contributor here to port follow-ups, and it has already drifted: #485 (whole-column hover) and #476's touch hold/drag and arrow changes aren't there yet.

This adds a CLAUDE.md section after "Gallery previews":

  • When to open a matching PR there: any change to the gallery item's layout or behaviour (markup, hover/focus/touch, progress bars, arrow/title states, the underline exclusion in theme.scss).
  • What to port by hand rather than copy. The R EJS keeps only item.appPreview, and its recording script and make components-previews are separate R-app code.
  • A gh api … | diff one-liner that compares a partial with theirs. I ran it, and it works.

This branch was successfully deployed

1 active deployment
pr-486 — d3f793a9 Deployed Sep 27, 2026 by github-actions[bot]
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.

1 participant