Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): various error toast optimizations #6409

Closed
wants to merge 2 commits into from

Conversation

maryhipp
Copy link
Collaborator

@maryhipp maryhipp commented May 20, 2024

Summary

  • update socket invocation error toasts to not dismiss, but should be de-duplicated based on error type
  • update copy if the error type is OOM
  • add a sessionId that can easily be copied to clipboard

Related Issues / Discussions

QA Instructions

Easiest way to test is to make a workflow that divides integers zero by zero. Queue up multiple and should only appear for the first one. If you dismiss toast before the queue is complete, another one should pop in its place.

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added the frontend PRs that change frontend files label May 20, 2024
description: startCase(action.payload.data.error_type),
})
);
const errorType = startCase(action.payload.data.error_type);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we aren't using state, maybe this would be better as a listener?

@psychedelicious psychedelicious mentioned this pull request May 21, 2024
3 tasks
@maryhipp maryhipp closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant