NPM Package/docs/workflows/issue-management/verification
Issue Management Verification Checklist
Verify marker capture, issue task state, and NPM annotation synchronization before release.
Run these checks with a real drawing loaded through viewer.documents.open(...).
- Add issue is disabled until the Viewer is ready and the drawing is open.
- Starting an issue marker calls
viewer.tools.set(...)with actionSHAPE_ELLIPSEand visible issue styling. - The UI waits for
viewer.annotations.on("created", ...)before opening the task editor. - The task stores the created annotation
guidoruniqueId. - Saving an issue creates a task linked to the captured annotation ID and clears the active tool.
- Canceling a new unsaved issue deletes the captured annotation with
viewer.annotations.delete(...). - Selecting a task calls
viewer.annotations.select(...)with the linked annotation ID. - Selecting an issue marker in Canvas opens the matching task in edit mode through
viewer.annotations.on("selected", ...). - Resolve/Reopen changes task status without deleting the marker.
- Unmount destroys the Viewer and removes annotation event listeners.
