Skip to content

feat(bindings): add React DayPicker port - #491

Closed
jonkwheeler wants to merge 44 commits into
octanejs:mainfrom
jonkwheeler:jon/react-day-picker-binding
Closed

jonkwheeler wants to merge 44 commits into
octanejs:mainfrom
jonkwheeler:jon/react-day-picker-binding

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Octane applications can now migrate [email protected] imports to @octanejs/react-day-picker while retaining the public DayPicker component, selection modes, navigation, accessibility markup, customization hooks/components, locale entry points, time-zone utilities, public types, and stylesheet subpaths.

The port retains the pinned MIT upstream source and license as checksum-verified audit evidence. Bounded executable parity lanes cover Octane DOM behavior, SSR, direct React-oracle comparisons, and a real Chromium flow for styles, selection, keyboard focus, navigation, and animation cleanup.

Validation

  • pnpm format:check
  • pnpm typecheck
  • pnpm test
  • targeted validation:
    • package TSRX TypeScript check
    • 10 DOM/export/React-oracle tests and 1 SSR test
    • 1 real Chromium interaction/style test
    • exact-identity parity manifest validation
    • upstream 272-file checksum and license audit
    • package dry-run pack validation
    • repository-wide React parity audit: stable 5,345 cases; canary 5,413 cases
    • React parity validator suite: 75 tests passed
    • MCP/website catalog tests: 76 tests passed
    • generated binding/package/parity-gap/CLI/eval-corpus checks

Risk / follow-ups

  • React DOM prop types remain public for source compatibility and are normalized at Octane render boundaries.
  • The pinned upstream suite is retained for provenance, but this PR does not claim complete test-for-test adaptation; the parity manifest records the bounded evidence as recorded-unverified.

Provenance

  • An agent produced this diff (agent-authored)

Note

Medium Risk
Large new UI binding with a11y/keyboard/selection behavior and incomplete upstream test adaptation; risk is functional parity gaps rather than security-critical paths.

Overview
Adds @octanejs/day-picker (0.1.0) so apps can swap [email protected] for an Octane binding that keeps the public DayPicker API, selection modes, navigation, locales, styles, and related helpers/types. The pinned upstream tree lives under packages/day-picker/upstream/ with checksum/license audit tooling.

The implementation ports the calendar to .tsrx (e.g. DayPicker.tsrx, custom components, Octane hooks for calendar/selection/focus/animation) while reusing framework-neutral date logic. CI gains a Playwright Chromium install for react-parity, includes packages/day-picker/tests/browser in the browser shard, and excludes those tests from the default Node shard. Evidence today is bounded (DOM, SSR, differential vs React, browser smoke); UPSTREAM.md / react-parity.json mark full upstream-suite parity as not yet executed.

Generated docs, CLI catalog (octane-data.json), binding status/inventory counts (61 bindings), and react-day-picker → @octanejs/day-picker migration mapping are updated accordingly.

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

@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
octane-website Ready Ready Preview Aug 3, 2026 1:35am
octane-website-mcp Ready Ready Preview Aug 3, 2026 1:35am

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability labels Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 15:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 15:28 Inactive
jonkwheeler added a commit to jonkwheeler/octane that referenced this pull request Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 15:40 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 15:40 Inactive
jonkwheeler added a commit to jonkwheeler/octane that referenced this pull request Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 15:52 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 15:53 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 16:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 16:09 Inactive
@jonkwheeler
jonkwheeler force-pushed the jon/react-day-picker-binding branch from 92735fe to 60c831b Compare August 3, 2026 00:02
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 00:03 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 00:04 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 00:04 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 00:12 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 00:13 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 00:41 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 00:41 Inactive
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Withdrawing ready signal pending package rename per maintainer feedback: drop redundant react from @octanejs/* package/folder names (e.g. @octanejs/react-popper → @octanejs/popper). Will re-signal after the rename lands on this branch.

Drop the redundant react segment from the Octane package folder and
published id per maintainer naming guidance, keeping upstream
react-day-picker dependency pins unchanged.

Co-authored-by: Cursor <[email protected]>

@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 using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit 487bd99. Configure here.

jonkwheeler and others added 2 commits August 10, 2026 11:24
Regenerate differential-runtime evidence and lock the matching sha256
entries so verifyManifestFiles stays consistent with @octanejs/day-picker.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot finishes on the new head.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Restoring merge currency against origin/main (DIRTY). Will re-signal when the ready checklist holds again.

REVIEW WITHDRAWN

Restore merge currency for PR octanejs#491. Keep main's regenerated user-apps
manifest hashes; @octanejs/day-picker rename unchanged.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merged origin/main; conflicts cleared. @octanejs/day-picker rename intact. Bugbot clean on current head.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

origin/main advanced again (Version Packages #682); branch is DIRTY. Prior ready signal void.

REVIEW WITHDRAWN

jonkwheeler and others added 2 commits August 10, 2026 14:26
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Currency restored: merged origin/main twice (Version Packages #682 + docs plan). @octanejs/day-picker rename intact. mergeStateStatus CLEAN, no unresolved threads, Cursor Bugbot SUCCESS on head 8619d12.

READY FOR REVIEW

@leonidaz

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! This pull request was incorporated into main as commit c59b2fed802f through consolidated PR #699.

@leonidaz leonidaz closed this Aug 12, 2026
kotarotaniguchi0523 pushed a commit to kotarotaniguchi0523/octane that referenced this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability READY FOR REVIEW REVIEW COMPLETE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants