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

Implement Error State Handling in Proposal Editor #1683

Open
minikin opened this issue Jan 24, 2025 · 0 comments
Open

Implement Error State Handling in Proposal Editor #1683

minikin opened this issue Jan 24, 2025 · 0 comments
Labels
dart Pull requests that update Dart code F14

Comments

@minikin
Copy link
Collaborator

minikin commented Jan 24, 2025

Summary

Ensure proper error handling in the Proposal Editor, displaying informative messages when users encounter issues such as submission failures or connectivity problems.

Description

  • Implement error handling for the following scenarios:
    • Proposal submission failure
      • Display a modal error message when a proposal cannot be submitted.
      • Provide a clear explanation and a retry suggestion (e.g., "Please try again in 5-10 minutes").
      • Offer a support contact option if the issue persists.
    • Comment submission failure
      • Display a similar error modal when adding a comment fails.
      • Suggest troubleshooting steps or retrying later.
    • Network issues
      • Detect when the user loses connection and display a banner notification.
      • Automatically attempt to reconnect and retry actions when possible.
    • API errors
      • Handle unexpected API failures gracefully.
      • Log errors for debugging while keeping the user experience smooth.
  • Ensure that error messages are consistent in design and match the Figma specifications.

Acceptance Criteria

  • Users receive a clear error message when submission or commenting fails.
  • The error modals include appropriate troubleshooting suggestions.
  • The system attempts to retry actions when possible.
  • Network issues display a notification banner and auto-reconnect.
  • The UI follows the Figma design and is responsive.

References

Image

Depends on

  • #XXXX (Submit for Review Stage in Proposal Editor)
  • #XXXX (Integrate Proposal Editor with Backend API)
  • #XXXX (Implement Add/View Comments in Proposal Details)
@minikin minikin added dart Pull requests that update Dart code F14 labels Jan 24, 2025
@minikin minikin added this to the Fund14 Technical Readiness milestone Jan 24, 2025
@minikin minikin added this to Catalyst Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code F14
Projects
Status: New
Development

No branches or pull requests

1 participant