Skip to content

Rerun tasks - #1042

Merged
dlymonkai merged 4 commits into
mainfrom
feat/MN-877/rerun-tasks
Oct 13, 2026
Merged

dlymonkai merged 4 commits into
mainfrom
feat/MN-877/rerun-tasks

Conversation

@dlymonkai

@dlymonkai dlymonkai commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Jira Ticket Reference : MN-877

Checklist before requesting a review

  • I have updated the unit tests based on the changes I made
  • I have updated the docs (TSDoc / README / global doc) to reflect my changes
  • I have updated the local app configs if needed
  • I have performed self-QA of my feature by testing the apps and packages and made sure that :
    • No regression or new bug has occurred
    • The acceptance criteria listed in the ticket are met
    • Self-QA was made on both desktop and mobile

dlymonkai and others added 3 commits September 24, 2026 14:40
…e after rerun

Use a ref to always read the current sightState inside the isInspectionCompliant
effect, preventing handleInspectionCompleted from firing again when isInspectionCompliant
cycles (e.g. during image cleanup) and the closure still holds isInspectionCompleted=false.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add rerunInspectionTasks API request (resets task statuses to NOT_STARTED)
- Add allowRerunTasks config option to PhotoCaptureAppConfig
- Add onRerunTasks prop to InspectionGallery / InspectionGalleryTopBar
- Show Rerun button in gallery top bar when inspection is completed and allowRerunTasks is true
- Add useRerunInspectionTasks hook to handle rerun logic and reset isInspectionCompleted
- Add topBar.rerun translation key across all locales
- Update docs and demo-app config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dlymonkai dlymonkai changed the title Feat/mn 877/rerun tasks Rerun tasks Sep 24, 2026
@dlymonkai
dlymonkai merged commit da19689 into main Oct 13, 2026
9 checks passed
@dlymonkai
dlymonkai deleted the feat/MN-877/rerun-tasks branch October 13, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants