browsertrix icon indicating copy to clipboard operation
browsertrix copied to clipboard

[Feature]: Add option to update running crawl when workflow changes are made.

Open ikreymer opened this issue 11 months ago • 5 comments

What change would you like to see?

There should be a way to apply updated crawl workflow settings to the current running crawl, if any.

Context

When updating a workflow of a running crawl, the changes are not immediately applied (except exclusions). It would be useful to have an option to apply the changes to a running crawl as well, through as separate button or toggle, or only to next crawl (current default).

The workflow editor should:

  • Have a way to show current crawl, if any
  • Have a button / toggle that says 'Update Current Crawl' if one exists

Tasks

  • [x] Wireframes @Shrinks99
  • [ ] Frontend @SuaYoo
  • [ ] Backend API @ikreymer
    • Add a toggle to indicate if updating current crawl should happen
    • Actual updating already mostly implemented in #2355 but without toggle yet.

ikreymer avatar Feb 05 '25 22:02 ikreymer

@ikreymer I'm going to move this to in design to track frontend changes, even though the backend is in progress. @Shrinks99 let us know when the wireframes are ready to review.

SuaYoo avatar Feb 12 '25 20:02 SuaYoo

Sorry this has taken me so long to get to! After running it by Sua, displaying the status indicator and updating the actions from save / run to a single "Update Running Workflow" seems like it should be clear enough for me. Note that any user entering the workflow form will have done so from a place where the workflow's status will be shown.

Image

Shrinks99 avatar Feb 12 '25 21:02 Shrinks99

Additional requirements:

  • Allow updating current crawl or saving without updating current crawl
  • Allow updating currently paused (e.g. not running) crawl

@Shrinks99 to update wireframes

SuaYoo avatar Mar 03 '25 19:03 SuaYoo

Need to migrate this logic over: https://github.com/webrecorder/browsertrix/pull/2355/files#diff-4662b1137e8dff77b43b2eacda8f037a5005c8c13b096dd84f44da08070d1970R465

ikreymer avatar Mar 19 '25 21:03 ikreymer