Skip to content

fix : added inline error in Analytics export failure - #2063

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#2058
Open

fix : added inline error in Analytics export failure#2063
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#2058

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Replaced the alert() dialog in Analytics.jsx exportToImage function with an inline error state. An imageExportError state was added to display the error message directly in the header area.

Changes Made

  • Added imageExportError state variable to the component
  • Replaced alert() call in exportToImage catch block with setImageExportError()
  • Added inline error display below the export buttons

Impact it Made

  • Eliminates disruptive browser alert dialogs
  • Provides cleaner, more accessible UX
  • Error message is visible within context, not dismissed by an alert

Closes #2058

Note

Please assign this PR to the tmdeveloper007 account.

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.

fix : replace alert with inline error in Analytics.jsx export failure

1 participant