Skip to content

feat(employment-agreements) - Add employment agreement content#1088

Merged
gabrielseco merged 6 commits into
mainfrom
add-employment-agreement-content
Jun 19, 2026
Merged

feat(employment-agreements) - Add employment agreement content#1088
gabrielseco merged 6 commits into
mainfrom
add-employment-agreement-content

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Add employment agreement modal to the example, we put the content into a component like we did for others for preferences of the partner that if we change the component the SSOT is on the SDK

image

Note

Low Risk
Informational UI and a new public export; no auth, data, or onboarding flow logic changes beyond enabling the example feature flag.

Overview
Adds EmploymentAgreementInfoContent to the SDK as the single source of truth for copy shown when users learn about the employment agreement preview (draft disclaimer, anti-redlining guidance, help@remote.com, and a Zendesk Agreement Engagement Guide link via new zendeskArticles.employmentAgreements). The component is re-exported from the package entry points.

The example onboarding app enables the ea_preview feature, adds an About this preview control on the full-screen EA preview header, and opens a dialog that renders the exported content through EmploymentAgreementInfoModal. Bundle size limit total is raised slightly to accommodate the new code.

Reviewed by Cursor Bugbot for commit fd0319f. Bugbot is set up for automated code reviews on this repo. Configure here.

@gabrielseco gabrielseco self-assigned this Jun 18, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b20e5f5. Configure here.

Comment thread src/flows/Onboarding/components/EmploymentAgreementInfoContent.tsx
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 223.64 kB 222.05 kB +1.59 kB (+0.7%) 🔴
Total (raw) 603.8 kB 599.15 kB +4.64 kB (+0.8%) 🔴
CSS (gzip) 20.89 kB 20.89 kB 0 B (0%) 🟢
CSS (raw) 109.09 kB 109.09 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 223.64 kB / 250 kB (89.5%)
  • ✅ Total raw: 603.8 kB / 650 kB (92.9%)
  • ✅ CSS gzipped: 20.89 kB / 25 kB (83.5%)

Largest Files (Top 5)

  1. chunk-Y3CJRZLA.js - 14 kB (0 B (0%))
  2. styles.css - 10.44 kB (0 B (0%))
  3. index.css - 10.44 kB (0 B (0%))
  4. chunk-R2JJUSD3.js - 6.36 kB (new)
  5. index.js - 6.32 kB (+25 B (+0.4%))
View All Files (341 total)
File Size (gzip) Change
chunk-Y3CJRZLA.js 14 kB 0 B (0%)
styles.css 10.44 kB 0 B (0%)
index.css 10.44 kB 0 B (0%)
chunk-R2JJUSD3.js 6.36 kB new
index.js 6.32 kB +25 B (+0.4%)
chunk-GZUP2IE6.js 6.06 kB 0 B (0%)
chunk-G2LZFGZA.js 5.31 kB 0 B (0%)
chunk-3YTML5RG.js 4.76 kB new
chunk-UI4AZZD5.js 4.48 kB new
chunk-YYJH3TPJ.js 3.89 kB new

✅ Bundle size check passed

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 88.39% 88.38% 0%
Statements 87.79% 87.79% 0%
Functions 84.82% 84.80% +0.01% 🟢
Branches 79.67% 79.67% 0%

Detailed Breakdown

Lines Coverage
  • Covered: 3828 / 4331
  • Coverage: 88.39%
  • Change: 0% (2 lines)
Statements Coverage
  • Covered: 3890 / 4431
  • Coverage: 87.79%
  • Change: 0% (2 statements)
Functions Coverage
  • Covered: 1039 / 1225
  • Coverage: 84.82%
  • Change: +0.01% (1 functions)
Branches Coverage
  • Covered: 2390 / 3000
  • Coverage: 79.67%
  • Change: 0% (0 branches)

✅ Coverage check passed

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-9dusnaiq0-remotecom.vercel.app
Latest Commit:fd0319f

Deployed with vercel-action

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-35xb3i6vd-remotecom.vercel.app
Latest Commit:fd0319f

Deployed with vercel-action

@gabrielseco gabrielseco merged commit 819af2b into main Jun 19, 2026
11 checks passed
@gabrielseco gabrielseco deleted the add-employment-agreement-content branch June 19, 2026 11:30
@gabrielseco gabrielseco mentioned this pull request Jun 19, 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