Skip to content

Conversation

TriptiMirani
Copy link
Contributor

Closes none

📝 Description

This pull request addresses multiple issues related to error handling and backend function integration within the assessment submission flow. It enhances the reliability and user experience of the assessment screen by providing more specific error messages, improving provider state management, ensuring proper integration with Supabase backend functions., and resolving an illustration rendering issue on the assessment list screen.

No worries @TriptiMirani, if they don't work in svg, you can use png, and personally I suggest doing them in a new PR

Originally posted by @mdmohsin7 in #93 (comment)

🔧 Changes Made

  • Implemented specific error messages for unanswered questions and network errors.
  • Refactored the assessment submission logic to remove premature error triggers.
  • Corrected Supabase function naming to resolve 404 errors.
  • Enhanced error propagation and state management within the provider.
  • Initiated plans to replace broken SVG illustrations with PNGs on the assessment list screen.

🤝 Collaboration

Collaborated with: N/A

✅ Checklist

  • I have read the contributing guidelines.
  • I have tested all functionality impacted by this PR.
  • I have documented changes where necessary.

@TriptiMirani
Copy link
Contributor Author

@mdmohsin7 This PR is ready for review. Please let me know if there are any changes or suggestions—I’ll be happy to make them.

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