Skip to content

feat(components): Remove v1 InputDate#3133

Merged
MichaelParadis merged 10 commits into
masterfrom
JOB-145592/make-inputdate-v2-the-only-inputdate
May 5, 2026
Merged

feat(components): Remove v1 InputDate#3133
MichaelParadis merged 10 commits into
masterfrom
JOB-145592/make-inputdate-v2-the-only-inputdate

Conversation

@MichaelParadis
Copy link
Copy Markdown
Contributor

@MichaelParadis MichaelParadis commented May 5, 2026

Why Is This Changing?

This PR deletes the V1 implementation of InputDate.

What Is Changing?

  • Deleted V1 InputDate
  • Renamed "InputDateRebuilt" back to "InputDate"
  • Replaced v1 stories/tests with v2 implementations
  • Updated any v1 usages to be v2

Consumer Impact

  • Impact: High
  • Action required: You will need to migrate to the new InputDate implementation (v2)
  • Breaking change: Yes

⚠️ Although this is a breaking change, we've done a v7 major release for components and will be shipping all of these v1 removals in quick succession which will end up being minor versions on the v7 release line.

Validation

  • Main consumer has already had all v1s replaced with v2

Reviewer Notes

Changes can be tested via Pre-release


In Atlantis we use Github's built in pull request reviews.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Published Pre-release for 60feac6 with versions:

  - @jobber/components@7.4.1-JOB-145592-60feac6.4+60feac661

To install the new version(s) for Web run:

pnpm add @jobber/components@7.4.1-JOB-145592-60feac6.4+60feac661

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 5, 2026

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 76620e2
Status: ✅  Deploy successful!
Preview URL: https://73f1f038.atlantis.pages.dev
Branch Preview URL: https://job-145592-make-inputdate-v2.atlantis.pages.dev

View logs

@MichaelParadis MichaelParadis marked this pull request as ready for review May 5, 2026 17:08
@MichaelParadis MichaelParadis requested a review from a team as a code owner May 5, 2026 17:08
@@ -9,7 +9,7 @@ import { Button } from "../Button";
import { Text } from "../Text";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My strategy was to copy/paste the rebuilt tests into this file, to replace these.

Looks like you took a different approach here. Curious how did you handle this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I manually compared them.

I initially did the rename of the component and ran the old tests (just to see if the old ones passed because in theory they should) there was a failure with should show mini calendar when set to false and down arrow is pressed (the keydown vs keyup change).

As a result I manually went through the files (old on left side of my screen and new one on the right) to see if something was missed in the v2 tests that was in the v1 tests. There wasn't but I would rather be safe than sorry.

Copy link
Copy Markdown
Contributor

@jdeichert jdeichert left a comment

Choose a reason for hiding this comment

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

Looks great!

Let's chat about rollout strategy 👍

@MichaelParadis MichaelParadis merged commit 0dbeffb into master May 5, 2026
14 checks passed
@MichaelParadis MichaelParadis deleted the JOB-145592/make-inputdate-v2-the-only-inputdate branch May 5, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants