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

List collection thumbnails and configure home page URL #2182

Open
Tracked by #1051
SuaYoo opened this issue Nov 25, 2024 · 2 comments · May be fixed by #2209
Open
Tracked by #1051

List collection thumbnails and configure home page URL #2182

SuaYoo opened this issue Nov 25, 2024 · 2 comments · May be fixed by #2209
Assignees
Labels
back end Requires back end dev work front end Requires front end dev work

Comments

@SuaYoo
Copy link
Member

SuaYoo commented Nov 25, 2024

As a user with crawler permissions, I should be able to configure the entry URL for collection replay and the thumbnail for the entire collection.

Requirements

  • User can choose the home page URL in collections settings
  • User can choose a thumbnail from page timestamps
  • Collection thumbnails are displayed on the org dashboard and org public profile pages

Wireframes

Collection settings

Image

Dashboard

Screenshot 2024-11-25 at 2 09 57 PM
@SuaYoo SuaYoo changed the title Collection thumbnails Collection home page URL and thumbnails Nov 25, 2024
@SuaYoo SuaYoo self-assigned this Nov 25, 2024
@SuaYoo SuaYoo added front end Requires front end dev work back end Requires back end dev work labels Nov 25, 2024
@ikreymer ikreymer moved this from Triage to Todo in Webrecorder Projects Nov 25, 2024
@SuaYoo SuaYoo moved this from Todo to In Design in Webrecorder Projects Nov 25, 2024
@tw4l
Copy link
Member

tw4l commented Nov 25, 2024

Information we want to return for collections in public collection list endpoint:

  • name
  • description
  • caption (Sua's idea, separate public-facing description)
  • date range (YYYY-YYYY or YYYY)
  • thumbnail (presigned url to s3 file)

@tw4l
Copy link
Member

tw4l commented Nov 25, 2024

Backend functionality needed:

  • API endpoint to list URLs in collection, sorted desc by snapshot count (also include array of basic page info like id and timestamp for each page matching URL in response)
  • API endpoint to GET a public collection
  • API endpoint to support selecting a collection home URL/snapshot
  • API endpoint to support uploading a collection thumbnail
  • Modify public collections list endpoint to add thumbnail and date range, remove unnecessary fields

If doing all of the above via the backend, we'll also need to parse pages from uploads into the database and add a means of backfilling older uploads and crawls from before QA.

@SuaYoo SuaYoo changed the title Collection home page URL and thumbnails List collection thumbnails and configure home page URL Nov 26, 2024
@SuaYoo SuaYoo moved this from In Design to Ready in Webrecorder Projects Dec 4, 2024
@SuaYoo SuaYoo moved this from Ready to Implementing in Webrecorder Projects Dec 4, 2024
@SuaYoo SuaYoo linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back end Requires back end dev work front end Requires front end dev work
Projects
Status: Implementing
Development

Successfully merging a pull request may close this issue.

2 participants