Skip to content

fix(datepicker) - fix layout issues#907

Merged
gabrielseco merged 2 commits intomainfrom
fix-datepicker-issues
Apr 14, 2026
Merged

fix(datepicker) - fix layout issues#907
gabrielseco merged 2 commits intomainfrom
fix-datepicker-issues

Conversation

@gabrielseco
Copy link
Copy Markdown
Collaborator

@gabrielseco gabrielseco commented Apr 13, 2026

For some reason, I don't know what version was installed but not the right one for sure

image

Fix the datepicker layout issues which doesn't impact customers, remove some dead code and add some comments in contractor onboarding

Note

Medium Risk
Upgrades core form/date dependencies and rewrites react-day-picker class hooks/CSS, which may cause UI regressions in datepicker rendering across flows. Also removes a query hook (useEmployment) that could break consumers if still imported elsewhere.

Overview
Fixes datepicker layout/styling by updating the Calendar DayPicker classNames and rewriting global react-day-picker CSS selectors to match v9 (day button, selected/today/outside, and nav button classes/positioning).

Bumps several dependencies (notably react-day-picker, date-fns, react-hook-form, @hookform/resolvers, lucide-react) and updates tooling by running formatting after openapi-ts; also removes the useEmployment hook from src/flows/Onboarding/api.ts and updates a steps JSDoc type to include visible.

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

@github-actions
Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 208.69 kB 208.69 kB -4 B (-0.0%) 🟢
Total (raw) 560.77 kB 560.5 kB +273 B (+0.0%) 🔴
CSS (gzip) 20.11 kB 20.09 kB +18 B (+0.1%) 🔴
CSS (raw) 103.71 kB 103.08 kB +626 B (+0.6%) 🔴

Size Limits

  • ✅ Total gzipped: 208.69 kB / 250 kB (83.5%)
  • ✅ Total raw: 560.77 kB / 600 kB (93.5%)
  • ✅ CSS gzipped: 20.11 kB / 25 kB (80.4%)

Largest Files (Top 5)

  1. chunk-4VKY2YDU.js - 13.83 kB (0 B (0%))
  2. index.css - 10.05 kB (+9 B (+0.1%))
  3. styles.css - 10.05 kB (+9 B (+0.1%))
  4. index.js - 6.05 kB (-5 B (-0.1%))
  5. chunk-H52SJSBU.js - 5.92 kB (new)
View All Files (311 total)
File Size (gzip) Change
chunk-4VKY2YDU.js 13.83 kB 0 B (0%)
index.css 10.05 kB +9 B (+0.1%)
styles.css 10.05 kB +9 B (+0.1%)
index.js 6.05 kB -5 B (-0.1%)
chunk-H52SJSBU.js 5.92 kB new
chunk-R47Q7R6C.js 5.82 kB 0 B (0%)
chunk-MJPFLBUY.js 4.41 kB 0 B (0%)
chunk-2XHCSCZV.js 4.24 kB new
chunk-4NQMZJDT.js 4.06 kB 0 B (0%)
chunk-YONKAKBG.js 3.36 kB new

✅ Bundle size check passed

@github-actions
Copy link
Copy Markdown
Contributor

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

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

Built with commit 35e0acf.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

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

Built with commit 35e0acf.
This pull request is being automatically deployed with vercel-action

@gabrielseco gabrielseco marked this pull request as ready for review April 13, 2026 12:44
@github-actions
Copy link
Copy Markdown
Contributor

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 89.91% 89.76% +0.16% 🟢
Statements 89.56% 89.40% +0.15% 🟢
Functions 87.39% 87.15% +0.23% 🟢
Branches 79.72% 79.60% +0.12% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 3556 / 3955
  • Coverage: 89.91%
  • Change: +0.16% (-1 lines)
Statements Coverage
  • Covered: 3619 / 4041
  • Coverage: 89.56%
  • Change: +0.15% (-1 statements)
Functions Coverage
  • Covered: 977 / 1118
  • Coverage: 87.39%
  • Change: +0.23% (0 functions)
Branches Coverage
  • Covered: 2205 / 2766
  • Coverage: 79.72%
  • Change: +0.12% (0 branches)

✅ Coverage check passed

@gabrielseco gabrielseco self-assigned this Apr 13, 2026
@gabrielseco gabrielseco requested a review from cammellos April 13, 2026 12:49
@gabrielseco gabrielseco merged commit 2eebca2 into main Apr 14, 2026
7 checks passed
@gabrielseco gabrielseco deleted the fix-datepicker-issues branch April 14, 2026 09:26
@gabrielseco gabrielseco mentioned this pull request Apr 15, 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