Skip to content

feat(contractor-management) - add eligibility questionnaire to the review step#737

Merged
gabrielseco merged 15 commits intomainfrom
pbyr-3493-make-the-review-step-work-with-eligibility-questionnaire
Feb 13, 2026
Merged

feat(contractor-management) - add eligibility questionnaire to the review step#737
gabrielseco merged 15 commits intomainfrom
pbyr-3493-make-the-review-step-work-with-eligibility-questionnaire

Conversation

@gabrielseco
Copy link
Collaborator

@gabrielseco gabrielseco commented Feb 13, 2026

Add eligibility section to the review

image

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_id into 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 string name before showing the invite prompt.

Written by Cursor Bugbot for commit 26e4b63. This will update automatically on new commits. Configure here.

@gabrielseco gabrielseco self-assigned this Feb 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 186.53 kB 186.41 kB +116 B (+0.1%) 🔴
Total (raw) 499.18 kB 498.9 kB +287 B (+0.1%) 🔴
CSS (gzip) 19.35 kB 19.35 kB 0 B (0%) 🟢
CSS (raw) 101.78 kB 101.78 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 186.53 kB / 200 kB (93.3%)
  • ✅ Total raw: 499.18 kB / 550 kB (90.8%)
  • ✅ CSS gzipped: 19.35 kB / 25 kB (77.4%)

Largest Files (Top 5)

  1. chunk-ZSJ6YADQ.js - 12.43 kB (0 B (0%))
  2. styles.css - 9.68 kB (0 B (0%))
  3. index.css - 9.68 kB (0 B (0%))
  4. index.js - 5.86 kB (-6 B (-0.1%))
  5. chunk-BYX2YS2B.js - 5.61 kB (new)
View All Files (283 total)
File Size (gzip) Change
chunk-ZSJ6YADQ.js 12.43 kB 0 B (0%)
styles.css 9.68 kB 0 B (0%)
index.css 9.68 kB 0 B (0%)
index.js 5.86 kB -6 B (-0.1%)
chunk-BYX2YS2B.js 5.61 kB new
chunk-BBOEQU3O.js 4.07 kB new
chunk-XEQZYHQF.js 3.77 kB new
chunk-T7O3YYOG.js 3.29 kB 0 B (0%)
chunk-QIBRRCQX.js 3.29 kB new
chunk-4DZWRQWY.js 3.21 kB new

✅ Bundle size check passed

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Deploy preview for remote-flows-example-app ready!

✅ Preview
https://remote-flows-example-32uslb0u2-remotecom.vercel.app

Built with commit 26e4b63.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Deploy preview for remote-flows ready!

✅ Preview
https://remote-flows-lyrnekxsd-remotecom.vercel.app

Built with commit 26e4b63.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

npm warn exec The following package was not found and will be installed: tsx@4.21.0

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 87.83% 87.82% +0.01% 🟢
Statements 87.48% 87.46% +0.01% 🟢
Functions 83.72% 83.71% +0.02% 🟢
Branches 79.51% 79.46% +0.05% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 3003 / 3419
  • Coverage: 87.83%
  • Change: +0.01% (4 lines)
Statements Coverage
  • Covered: 3060 / 3498
  • Coverage: 87.48%
  • Change: +0.01% (4 statements)
Functions Coverage
  • Covered: 859 / 1026
  • Coverage: 83.72%
  • Change: +0.02% (1 functions)
Branches Coverage
  • Covered: 1894 / 2382
  • Coverage: 79.51%
  • Change: +0.05% (6 branches)

✅ Coverage check passed

…ake-the-review-step-work-with-eligibility-questionnaire
@gabrielseco gabrielseco marked this pull request as ready for review February 13, 2026 10:22
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

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.

@gabrielseco gabrielseco merged commit b48604a into main Feb 13, 2026
7 checks passed
@gabrielseco gabrielseco deleted the pbyr-3493-make-the-review-step-work-with-eligibility-questionnaire branch February 13, 2026 11:17
@gabrielseco gabrielseco mentioned this pull request Feb 13, 2026
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.

2 participants