webrecorder/browsertrix

List collection thumbnails and configure home page URL

Opened this issue · 2 comments

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
tw4l commented

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 commented

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.