etr2460 commented on a change in pull request #8806: [dashboard] fix time 
granularity display values
URL: 
https://github.com/apache/incubator-superset/pull/8806#discussion_r356757791
 
 

 ##########
 File path: superset/assets/src/explore/constants.js
 ##########
 @@ -57,3 +57,11 @@ export const sqlaAutoGeneratedMetricRegex = 
/^(LONG|DOUBLE|FLOAT)?(SUM|AVG|MAX|M
 export const druidAutoGeneratedMetricRegex = 
/^(LONG|DOUBLE|FLOAT)?(SUM|MAX|MIN|COUNT)\([A-Z0-9_."]*\)$/i;
 
 export const EXPLORE_ONLY_VIZ_TYPE = ['separator', 'markup'];
+
+export const TIME_FILTER_LABELS = {
+  time_range: 'Time Range',
 
 Review comment:
   I think these should be wrapped in `t()` now

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to