- Add utility functions for handling file and web index cancellation previews.
- Update selectors to include new buttons for index cancellation confirmation.
- Modify the workspace preparation logic to support cancellation and continuation of indexing jobs.
- Enhance types to accommodate new cancellation states and requests.
- Create tests to validate the cancellation behavior for both file and web indexing processes.
- Implement end-to-end tests to ensure UI reflects cancellation states and progress restoration.