webrecorder / browsertrix

Browsertrix is the hosted, high-fidelity, browser-based crawling service from Webrecorder designed to make web archiving easier and more accessible for all!
https://webrecorder.net/browsertrix
GNU Affero General Public License v3.0
201 stars 35 forks source link

Save new workflow scope type preference #2099

Closed SuaYoo closed 1 month ago

SuaYoo commented 1 month ago

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

Changes

Saves scope type chosen from "+ New Workflow" dropdown to local storage.

Manual testing

  1. Log in as crawler
  2. Go to "Crawling"
  3. Select scope type from "+ New Workflow" dropdown
  4. Refresh page. Verify scope type selection persists
  5. Change scope type. Refresh. Verify scope type selection persists
  6. Go back to "Crawling" and click "+ New Workflow". Verify last scope type is selected
  7. Close all browser tabs
  8. Log back in
  9. Repeat and verify step 6
  10. Log out and log back in
  11. Verify scope type selection is reset to "Single Page"