Skip to content

feat(contractor-onboarding): handle UK and Saudi Arabia edge cases#705

Merged
gabrielseco merged 37 commits intomainfrom
add-fields-basic-information-saudi
Jan 26, 2026
Merged

feat(contractor-onboarding): handle UK and Saudi Arabia edge cases#705
gabrielseco merged 37 commits intomainfrom
add-fields-basic-information-saudi

Conversation

@gabrielseco
Copy link
Collaborator

@gabrielseco gabrielseco commented Jan 16, 2026

This PR addresses edge cases in the contractor onboarding flow for UK and Saudi Arabia, including proper handling of IR35 status and employment contract details specific to these regions.

Key Changes

Core Features

  • File Management: Added new files.ts API module with hooks for uploading, downloading, and managing employment files
  • IR35 Support: Introduced IR35 file handling for UK contractors with dedicated file subtype constant
  • Saudi Arabia Nationality: Fixed retrieval of Saudi nationality status from employment.contract_details.nationality field
image image

@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 2026

Deploy preview for remote-flows ready!

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

Built with commit 564695d.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 2026

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

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

Built with commit 564695d.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 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.76% 87.58% +0.17% 🟢
Statements 87.37% 87.19% +0.18% 🟢
Functions 83.43% 83.25% +0.19% 🟢
Branches 79.21% 78.96% +0.25% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 2881 / 3283
  • Coverage: 87.76%
  • Change: +0.17% (60 lines)
Statements Coverage
  • Covered: 2934 / 3358
  • Coverage: 87.37%
  • Change: +0.18% (61 statements)
Functions Coverage
  • Covered: 821 / 984
  • Coverage: 83.43%
  • Change: +0.19% (16 functions)
Branches Coverage
  • Covered: 1836 / 2318
  • Coverage: 79.21%
  • Change: +0.25% (27 branches)

✅ Coverage check passed

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 182.31 kB 179.94 kB +2.37 kB (+1.3%) 🔴
Total (raw) 483.87 kB 477.83 kB +6.04 kB (+1.3%) 🔴
CSS (gzip) 18.85 kB 18.85 kB 0 B (0%) 🟢
CSS (raw) 98.92 kB 98.92 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 182.31 kB / 185 kB (98.5%)
  • ✅ Total raw: 483.87 kB / 500 kB (96.8%)
  • ✅ CSS gzipped: 18.85 kB / 25 kB (75.4%)

Largest Files (Top 5)

  1. chunk-3QNS3IZB.js - 12.37 kB (0 B (0%))
  2. styles.css - 9.43 kB (0 B (0%))
  3. index.css - 9.43 kB (0 B (0%))
  4. index.js - 5.69 kB (+9 B (+0.2%))
  5. chunk-JTLXUYOR.js - 5.43 kB (new)
View All Files (281 total)
File Size (gzip) Change
chunk-3QNS3IZB.js 12.37 kB 0 B (0%)
styles.css 9.43 kB 0 B (0%)
index.css 9.43 kB 0 B (0%)
index.js 5.69 kB +9 B (+0.2%)
chunk-JTLXUYOR.js 5.43 kB new
chunk-XOK3XCYN.js 4.07 kB new
chunk-RZS2WEOI.js 3.26 kB new
chunk-MLXUOIBE.js 3.21 kB new
chunk-6FKIWCCE.js 3.2 kB new
chunk-HRG5MSVG.js 3.2 kB 0 B (0%)

✅ Bundle size check passed

@gabrielseco gabrielseco changed the title Add fields basic information saudi feat(contractor-onboarding) - solve uk && saudi edge cases Jan 26, 2026
@gabrielseco gabrielseco changed the title feat(contractor-onboarding) - solve uk && saudi edge cases feat(contractor-onboarding): handle UK and Saudi Arabia edge cases Jan 26, 2026
@gabrielseco gabrielseco self-assigned this Jan 26, 2026
@gabrielseco gabrielseco requested a review from cammellos January 26, 2026 11:52
@gabrielseco gabrielseco marked this pull request as ready for review January 26, 2026 11:53
@gabrielseco gabrielseco merged commit f8735d9 into main Jan 26, 2026
6 checks passed
@gabrielseco gabrielseco deleted the add-fields-basic-information-saudi branch January 26, 2026 12:53
@gabrielseco gabrielseco mentioned this pull request Jan 26, 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