René's URL Explorer Experiment


Title: refactor(emcn): consolidate date pickers onto the chip Calendar (range support + retire legacy DatePicker) by waleedlatif1 · Pull Request #5222 · simstudioai/sim · GitHub

Open Graph Title: refactor(emcn): consolidate date pickers onto the chip Calendar (range support + retire legacy DatePicker) by waleedlatif1 · Pull Request #5222 · simstudioai/sim

X Title: refactor(emcn): consolidate date pickers onto the chip Calendar (range support + retire legacy DatePicker) by waleedlatif1 · Pull Request #5222 · simstudioai/sim

Description: Summary Consolidates all date selection onto the canonical chip Calendar, retiring the parallel legacy DatePicker. Calendar gains a mode='range' variant (not a new component): start/end staged behind Clear/Cancel/Apply with optional time-of-day inputs, built from the chip family (CalendarDayCell, chipVariants, ChipTimePicker) and fully tokenized. Single mode is byte-identical to before. ChipDatePicker gains a matching mode='range' behind the same chip trigger. Retired the legacy DatePicker (its own dual-month grid, hardcoded colors, non-chip chrome) and migrated every consumer: tables row modal → ChipDatePicker (single) tables inline grid editor, logs filter, ee audit-logs filter → canonical Calendar inside an emcn Popover (the same headless/anchored pattern DatePicker rendered internally) playground → ChipDatePicker showcase (single, range, range+time) KB alignment: document tags modal now uses ChipDatePicker for date tags. Dead code: removed the unused logs-toolbar/ directory. Tests: pure range-bounds/parse/format helpers are unit-tested. Wire-format compatibility The range bounds keep the exact YYYY-MM-DD / YYYY-MM-DDTHH:mm (:59-closed end) format the legacy DatePicker emitted, so the log/audit-log filter parsing is unchanged (verified by unit tests). Visual QA needed before merge The headless/anchored calendars can't be verified from code alone — please eyeball: tables inline grid date-cell editing (type + calendar popover, blur/refocus) logs and ee/audit-logs custom date-range filters (popover anchors under the time-range select; range band, time inputs, Apply/Cancel) the range calendar is now single-month (was dual-month) — intentional, to match the chip Calendar. Type of Change Refactor / feature (component) / design-system consolidation / cleanup Testing Unit tests for range/parse/format helpers pass; full typecheck + biome clean. UI surfaces need the visual QA pass noted above. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Consolidates all date selection onto the canonical chip Calendar, retiring the parallel legacy DatePicker. Calendar gains a mode='range' variant (not a new component): start/end st...

X Description: Summary Consolidates all date selection onto the canonical chip Calendar, retiring the parallel legacy DatePicker. Calendar gains a mode='range' variant (not a new component): star...

Opengraph URL: https://github.com/simstudioai/sim/pull/5222

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c1ebbb20-4f55-993e-f406-0a6405d10db2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA556:C876F:6CAAE9:96CF6A:6AFB431B
html-safe-nonce70912635facc60e28420d85ffe40f9b0a9bb91871a886556e2379e8684510121
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTU2OkM4NzZGOjZDQUFFOTo5NkNGNkE6NkFGQjQzMUIiLCJ2aXNpdG9yX2lkIjoiODM3MDU4MTQzODkxMTc4MjY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbf163c6b9ccd9d4582eee16640e313ac90231ceac99c723966b02129c0af5a71
hovercard-subject-tagpull_request:3943812666
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5222/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Consolidates all date selection onto the canonical chip Calendar, retiring the parallel legacy DatePicker. Calendar gains a mode='range' variant (not a new component): start/end st...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5222/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5222%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5222%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5222/files
Reloadhttps://github.com/simstudioai/sim/pull/5222/files
Reloadhttps://github.com/simstudioai/sim/pull/5222/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
kb-design-alignmenthttps://github.com/simstudioai/sim/tree/kb-design-alignment
Conversation 16 https://github.com/simstudioai/sim/pull/5222
Commits 6 https://github.com/simstudioai/sim/pull/5222/commits
Checks 15 https://github.com/simstudioai/sim/pull/5222/checks
Files changed https://github.com/simstudioai/sim/pull/5222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
refactor(emcn): consolidate date pickers onto the chip Calendar (range support + retire legacy DatePicker) https://github.com/simstudioai/sim/pull/5222/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/5222/files
4a7765e improvement(knowledge): use canonical ChipDatePicker in document tags… waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/4a7765e4f0c35d261a0203c035da78faca55e1ec
3c5b5b5 feat(emcn): add range mode to ChipDatePicker via the canonical Calendar waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/3c5b5b5f1876ff3fa53cdd641c8959179a5b2183
967104d refactor(emcn): retire legacy DatePicker; migrate all consumers to th… waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/967104da75310cce5e053f04f1adbf0e42f4d76c
ed21a26 fix(emcn): resync range calendar draft state when bound props change waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/ed21a26c1f37b0998369b48dae7e0998f86fe958
520aa22 refactor(emcn): reset range calendar via key instead of render-phase … waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/520aa228dd0b4741068e2e73559ff1e38ed0929e
58512c0 fix(logs): keep the date-range popover anchor from blocking the time-… waleedlatif1 Jun 26, 2026 https://github.com/simstudioai/sim/pull/5222/commits/58512c09865f7089ce5609aa76f5333b3090ac9e
Clear filters https://github.com/simstudioai/sim/pull/5222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
page.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
document-tags-modal.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
index.ts https://github.com/simstudioai/sim/pull/5222/files#diff-5684e837fa2a07607633efa9d8217610f4008250719af1fece0258020c7929c2
search.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-8ce6f1eb8f8d4f762c3c17402dc43c92ff27479222e7adb6807c4f2d56f0d211
index.ts https://github.com/simstudioai/sim/pull/5222/files#diff-91760eb4596e20cc50f4104e70965153c10f1e15c64e2cd5b326f5584f01d4b0
logs-toolbar.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-17726d7290226263b792d577d751b57718403b20ebcd2678f30d73d75a98fdc2
logs.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
row-modal.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-9986b620bc5f8be1944a82484bf46df8d123d4540fbfa93fbdf62354e42981af
inline-editors.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-71977816ed06f4cfda658b1747bf82f9524669ee7e3145b5d3945f651415f440
calendar.test.ts https://github.com/simstudioai/sim/pull/5222/files#diff-b5c47b44ea3a46c56d964e848473352cdf33ed5f0b9f02e7793940a4478713ca
calendar.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-3a9918063a4eeee5765868263ddfd75c228c19c58b65ca1f65ccdd208228cb4a
chip-date-picker.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-0d2a17edd347ad6e85cf8a0c6c345c55d187b9c0598eda30c37d7c092e186719
date-picker.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-b9bf2a866a7d180b75280bc96484f76056c270b6ee9a0b61647a3552fdc034ab
index.ts https://github.com/simstudioai/sim/pull/5222/files#diff-752a5362437bf3a92be2e9d638363ebbc9c231f0d89bc55b8a2ce65c8bc2d2b6
audit-logs.tsx https://github.com/simstudioai/sim/pull/5222/files#diff-edd0e08465ab24f8c11e8c139a7d64699e3bd9c7f1b3a93746d0dd49a89d7dae
apps/sim/app/playground/page.tsxhttps://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
View file https://github.com/simstudioai/sim/blob/58512c09865f7089ce5609aa76f5333b3090ac9e/apps/sim/app/playground/page.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5222/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
https://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
https://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
https://github.com/simstudioai/sim/pull/5222/files#diff-761019d6462496ce79caa285132f1af6fccdf59829950388ba79a27076b07d2c
...aceId]/knowledge/[id]/[documentId]/components/document-tags-modal/document-tags-modal.tsxhttps://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
View file https://github.com/simstudioai/sim/blob/58512c09865f7089ce5609aa76f5333b3090ac9e/apps/sim/app/workspace/%5BworkspaceId%5D/knowledge/%5Bid%5D/%5BdocumentId%5D/components/document-tags-modal/document-tags-modal.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5222/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
https://github.com/simstudioai/sim/pull/5222/files#diff-78cd7d90b9bc5d52ac1ddd910d5cce4e08605253caae9c183d2d4ebe88668eda
apps/sim/app/workspace/[workspaceId]/logs/components/logs-toolbar/components/search/index.tshttps://github.com/simstudioai/sim/pull/5222/files#diff-5684e837fa2a07607633efa9d8217610f4008250719af1fece0258020c7929c2
View file https://github.com/simstudioai/sim/blob/a1d587068194112559c76ad40afdde402dbd0895/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/logs-toolbar/components/search/index.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5222/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.