posit-dev / posit-dev/connect-extensions
Extension proposal: thumbnail generator
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 10
- Forks
- 8
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 1
Description
Have a content selector (like in the "chat with your content" app), load it in an iframe, set to the preferred aspect ratio for our thumbnails. Allows you to click on stuff and get the state of the app in the iframe to whatever you want to take an image of, then you press the camera button, which takes a screenshot of the iframe and then pops it up in a modal for you to review. Options there are "retake", which basically cancels out so you can adjust and take it again, or "save", which makes the appropriate Connect API call to set the image as the content item's thumbnail.
(This would also help us generate the thumbnail/preview images we should be including in the gallery feed.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the existing content selector, iframe-based apps, thumbnail handling, and Connect API usage in the repository. Done should include the selector in an iframe, aspect-ratio controls, capture and review actions, and saving the chosen image as the content item's thumbnail.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100