feat(contractor-management) - add eligibility questionnaire to the review step#737
Conversation
…ake-the-review-step-work-with-eligibility-questionnaire
📦 Bundle Size Report
Size Limits
Largest Files (Top 5)
View All Files (283 total)
✅ Bundle size check passed |
|
Deploy preview for remote-flows-example-app ready! ✅ Preview Built with commit 26e4b63. |
|
Deploy preview for remote-flows ready! ✅ Preview Built with commit 26e4b63. |
|
npm warn exec The following package was not found and will be installed: tsx@4.21.0 📊 Coverage Report✅ Coverage increased! 🎉
Detailed BreakdownLines Coverage
Statements Coverage
Functions Coverage
Branches Coverage
✅ Coverage check passed |
…ake-the-review-step-work-with-eligibility-questionnaire
…ake-the-review-step-work-with-eligibility-questionnaire
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Add eligibility section to the review
Note
Medium Risk
Touches onboarding flow state/loading and schema-fetching parameters; incorrect enable conditions or query keys could cause missing sections or stale schemas during review, but changes are scoped to contractor onboarding.
Overview
Adds a Pricing Plan section to the contractor onboarding review page and, when the selected plan is COR (
corProductIdentifier), shows an Eligibility Questionnaire section with an edit link.Updates the contractor onboarding flow to better support read-only employments by (1) fetching the eligibility questionnaire schema when needed, including it in initial loading and review navigation, and (2) passing
employment_idinto the contractor contract-details schema query (and its React Query key) so the backend can return an employment-specific schema. Also tightens invite UI rendering by requiring a stringnamebefore showing the invite prompt.Written by Cursor Bugbot for commit 26e4b63. This will update automatically on new commits. Configure here.