Skip to content

feat(io-options-dialog): wire NotificationService to surface IO errors as toasts#955

Open
deveshbervar wants to merge 1 commit into
HSF:mainfrom
deveshbervar:feat/wire-notification-service-io-errors
Open

feat(io-options-dialog): wire NotificationService to surface IO errors as toasts#955
deveshbervar wants to merge 1 commit into
HSF:mainfrom
deveshbervar:feat/wire-notification-service-io-errors

Conversation

@deveshbervar

Copy link
Copy Markdown
Collaborator

Follow-up to #944 as suggested by @EdwardMoyse

Wires NotificationService into IOOptionsDialogComponent so all existing IO errors now show both in the persistent Info Panel.
AND as a transient toast visible immediately to the user.

Error sites updated (6 total)

  • JSON event file parse error
  • EDM4HEP JSON parse error
  • PHYSLITE file load error
  • Zip file read error
  • FileReader onerror
  • Invalid file extension error

No behavior change

Existing getInfoLogger().add() calls are untouched —
notificationService.error() is added alongside each one.

@deveshbervar deveshbervar requested a review from EdwardMoyse July 7, 2026 09:25
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.

1 participant