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

[cases] error handling and feedback improvements #91

Conversation

ronniebeggs
Copy link
Collaborator

What's new in this PR

Description

  • Create a standardized loading component instead of the "loading…" text.
  • Add queryLoading functionality to all buttons in the case flow.
  • Standardize error messages for case context functions.
  • Refactor case context to reduce redundant database queries.
  • Update routing logic to reduce query reloads.
  • Add image placeholders while loading.
  • Create fullStopErrorHandler for catching uncaught errors and raising native Alert.

Screenshots

Next steps

  • Create button to prompt camera permissions enable message.
  • Add toast message to /AllCases screen for eligibility/adding/deleting case feedback.
  • Consider building a basic error handling screen for the full stop error handler.

Relevant Links

Online sources

Fault Tolerance

CC: @ronniebeggs

…elative to whether they're logged in or not).
@ronniebeggs ronniebeggs self-assigned this Jun 19, 2024
Copy link

linear bot commented Jun 19, 2024

@ronniebeggs ronniebeggs merged commit 3154f46 into main Jun 19, 2024
2 checks passed
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