IntersectMBO / govtool

🔩 GovTool and utilities monorepo.
https://gov.tools
Apache License 2.0
14 stars 9 forks source link

Sentry report on metadata related user actions #2398

Open sentry-io[bot] opened 1 day ago

sentry-io[bot] commented 1 day ago

release: 1.0.26 environment: production url: https://gov.tools/

Sentry Issue: GOVTOOL-FRONTEND-97

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
  at Iz0 (/assets/index-b99608ed.js:245:8628)
  at l4 (/assets/index-b99608ed.js:259:99457)
  at Object.lHe (/assets/index-b99608ed.js:37:9998)
  at uHe (/assets/index-b99608ed.js:37:10163)
  at bHe (/assets/index-b99608ed.js:37:10223)
...
(9 additional frame(s) were not displayed)

This issue is triggered in Sentry when the metadata download button is clicked during the registration or editing of a dRep, or when updating the vote context.

Screenshot from 2024-11-20 14-52-20

m-i-k-e commented 1 day ago

To fix this, I propose that this button should not be clickable until the entire metadata process has either succeeded or failed.