ktmud opened a new issue #13125:
URL: https://github.com/apache/superset/issues/13125


   **Is your feature request related to a problem? Please describe.**
   
   Currently new charts are created with the default time range filter value 
set to ["Last 
week"](https://github.com/apache-superset/superset-ui/blob/46f0a174fed7b7c518d078b0eb16b129183c3b9d/packages/superset-ui-chart-controls/src/shared-controls/index.tsx#L319).
 This may make sense for some businesses, but often cause confusion when users 
didn't notice this filter is being implicitly applied.  Experienced users may 
even haven learned the first thing they do when creating a new chart is to 
reset this to `No filter`.
   
   **Describe the solution you'd like**
   
   It would be ideal if we can provide a global, as well as database and 
dataset-level settings on the default Time Range filter applied to each time 
column.
   
   We can start simple with global level configuration that each business can 
adjust for their own needs.
   
   In the future, in the spirit of doing less implicit things, in a 
breaking-change release, it would make sense to change the default for everyone 
to "No filter".
   
   **Describe alternatives you've considered**
   
   Simply changing the default to "No filter" may not be desired because time 
filters have impact on the performance of db queries and setting "No filter" as 
global default may cause undesired long running queries, especially when a 
chart start running new queries right after creation (e.g. table chart).
   
   **Additional context**
   
   Ref: https://github.com/apache/superset/pull/13109#issuecomment-778928053


----------------------------------------------------------------
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]

Reply via email to