villebro opened a new pull request #15015: URL: https://github.com/apache/superset/pull/15015
### SUMMARY Currently the time range native filter defaults to "Last week" despite the new default being "No Filter" as introduced in #14661. Other changes: - remove local state and replace with `filterState` (which the application has control over) - remove references to `defaultValue` (this is now fully handled by the application) ### BEFORE When leaving the default value unset, the value shows up as "Last week":  ### AFTER Now it defaults to "No filter":  ### TESTING INSTRUCTIONS Local testing: - Tried setting and leaving filter unset - Click "Clear all" button - resets to "No filter" - Set filter and click "Apply" and see that time filter applies properly ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
