FrancescoCastaldi opened a new pull request, #46082: URL: https://github.com/apache/superset/pull/46082
### SUMMARY Implements Milestone 1 of [SIP-116v2](https://github.com/apache/superset/issues/45901): "Adding calendar picker to base Superset, revisited". #### Proposed Changes - Introduces `CalendarRangePicker` modular component in `superset-frontend/src/components/CalendarRangePicker/`: - Ant Design `DatePicker.RangePicker` wrapper for clean, inclusive full-day date range selection (`YYYY-MM-DD - YYYY-MM-DD`). - Standard Superset ISO string serialization and tokenization (`YYYY-MM-DD : YYYY-MM-DD`), hardened against time colons and UTC offset notations (`\s+:\s+`). - TypeScript contracts (`types.ts`), parsing helpers (`utils.ts`), and global re-export in `src/components/index.ts`. - Comprehensive unit test suite covering full ranges, open-ended bounds, whitespace variations, and ISO timestamp formatting. ### BEFORE/AFTER SCREENSHOTS Component is a modular building block ready for Dashboard Filter Bar and Explore frame wiring. ### TESTING INSTRUCTIONS Run unit tests: ```bash npm test -- superset-frontend/src/components/CalendarRangePicker/ ``` ### ADDITIONAL INFORMATION - [x] Has associated issue: #45901 (SIP-116v2) - [ ] Required feature flags: - [x] Changes UI - [ ] Includes DB Migration (follow approval process in SIP-59) - [x] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
