browsertrix icon indicating copy to clipboard operation
browsertrix copied to clipboard

feat: Show all crawl runs + crawl deletion UX improvements

Open SuaYoo opened this issue 4 months ago • 4 comments

Resolves https://github.com/webrecorder/browsertrix/issues/2906

Changes

Overall, a more consistent experience for navigating all workflow crawls and managing crawl-related items.

  • Adds new "Crawl Runs" page under "Crawling" to display all crawl runs, including canceled and failed
  • Enables sorting crawls for by execution time and page count
  • Updates icon for "Canceled" state to not appear as error
  • Update archived item type labels
  • Refactors archived item and crawl deletion confirmation to use same dialog (partially addresses https://github.com/webrecorder/browsertrix/issues/619)
  • Show collections in deletion confirmation
  • Refactors /archived-items/crawl-list.ts component to -> /crawls/crawl-list/ components

Manual testing

Note: New sort fields require building the backend locally.

  1. Log in as crawler
  2. Go to "Crawling". Verify "Workflows" and "Crawl Runs" tabs are shown
  3. Go to "Crawl Runs"
  4. Interact with search, sort, and filters. Verify list controls work as expected.
  5. Choose canceled crawl run. Verify navigation to crawl details view
  6. Choose action menu -> "Delete Crawl". Verify that crawl is deleted without confirmation
  7. Go back to "Crawl Runs"
  8. Choose successful crawl.
  9. Choose action menu -> "Delete Crawl". Verify that confirmation is shown.
  10. Repeat 9 from "Workflow" > "Crawls" and "Archived Items". Verify confirmation dialog is consistent for all crawl/item deletions.

Screenshots

Page Image/video
Crawl Runs Screenshot 2025-10-21 at 5 36 45 PM
Crawl Runs Screenshot 2025-10-21 at 5 38 51 PM
Workflow / Crawls Screenshot 2025-10-21 at 5 38 23 PM
Archived Items Screenshot 2025-10-21 at 6 12 37 PM
Delete Confirmation (when in collections) Screenshot 2025-10-21 at 6 14 50 PM

Follow-ups

A tag filter can be added once https://github.com/webrecorder/browsertrix/pull/2923 is merged.

SuaYoo avatar Oct 22 '25 00:10 SuaYoo

Overall looks great! The one thing I've noticed is that the crawl runs table (and archived items table, as it appears to be the same component) doesn't adjust to smaller screen sizes as well as some of our other tables. Instead of responsively changing shape to fit the screen, some of the columns begin to get cut off. For instance:

Larger screen size

Screenshot 2025-10-22 at 11 25 57 AM

Medium screen size

Screenshot 2025-10-22 at 11 26 07 AM

Small screen size

Screenshot 2025-10-22 at 11 26 18 AM

We could address the responsiveness separately, I leave that up to you. Overall this is a great feature and all tested as expected!

tw4l avatar Oct 22 '25 15:10 tw4l

Small screen size

Screenshot 2025-10-22 at 11 26 18 AM

Which browser do you see this in, and are you able to horizontally scroll the table without a scrollbar? Ideally you should be able to see a scrollbar:

Screenshot 2025-10-22 at 9 37 56 AM

(cc @emma-sg )

SuaYoo avatar Oct 22 '25 16:10 SuaYoo

Which browser do you see this in, and are you able to horizontally scroll the table without a scrollbar? Ideally you should be able to see a scrollbar:

This is in Brave, and there is a horizontal scrollbar to scroll the table, so maybe it's okay after all. I think I was just expecting the row to collapse like the workflows, but now I see many other elements in Browsertrix handle smaller screens like this table.

tw4l avatar Oct 22 '25 16:10 tw4l

This is in Brave, and there is a horizontal scrollbar to scroll the table, so maybe it's okay after all. I think I was just expecting the row to collapse like the workflows, but now I see many other elements in Browsertrix handle smaller screens like this table.

It's a good call out, and I'll do a quick pass to address the inconsistent text wrapping at different screen sizes. Will link your comments to the general responsiveness improvements issue: https://github.com/webrecorder/browsertrix/issues/1348

SuaYoo avatar Oct 23 '25 20:10 SuaYoo

The tag filter feels like it's missing from the crawl runs list controls — I'm not sure how useful it really is, but I think if it's not hard to add it'd be a nice addition

Agree, we could add after https://github.com/webrecorder/browsertrix/pull/2923 and before release.

I do still think we should convert the tabs on the archived items page into a filter now that we're doing this, but that could always come later

Created issue here: https://github.com/webrecorder/browsertrix/issues/2956

The archived item list still needs an overhaul so it can work at smaller viewport sizes — I know Tessa also brought up scroll overflow vs wrapping as a solution as well, probably worth more discussion (but not super high priority either)

Tracking here: https://github.com/webrecorder/browsertrix/issues/1348

SuaYoo avatar Nov 05 '25 00:11 SuaYoo