Skip to content

fix: clear stale results on input mode change#57

Open
ash-0x00 wants to merge 1 commit into
iscc:mainfrom
ash-0x00:fix/issue-55-clear-results-on-mode-change
Open

fix: clear stale results on input mode change#57
ash-0x00 wants to merge 1 commit into
iscc:mainfrom
ash-0x00:fix/issue-55-clear-results-on-mode-change

Conversation

@ash-0x00

Copy link
Copy Markdown
Contributor

Summary

  • emit an intake mode-change event when users switch tabs
  • clear existing result cards on mode changes so stale decode errors are not shown under another input mode
  • reuse result cleanup for media deletion/object URL revocation

Test Plan

  • corepack pnpm build
  • corepack pnpm test

Fixes #55

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.

Switching input modes leaves stale result cards under the active tab

1 participant