You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2019/12/10 00:44:42 UTC

[incubator-superset] branch john-bodley--fix-dual-line-time-regression created (now 3f63694)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a change to branch john-bodley--fix-dual-line-time-regression
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 3f63694  [fix] Adding time grains to DualLine

This branch includes the following new commits:

     new 3f63694  [fix] Adding time grains to DualLine

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: [fix] Adding time grains to DualLine

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley--fix-dual-line-time-regression
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 3f6369478d2b0fbf9fccd7b067e61aa752d6de67
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Dec 10 13:44:32 2019 +1300

    [fix] Adding time grains to DualLine
---
 superset/assets/src/explore/controlPanels/DualLine.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/superset/assets/src/explore/controlPanels/DualLine.js b/superset/assets/src/explore/controlPanels/DualLine.js
index 949f6b3..f4b854f 100644
--- a/superset/assets/src/explore/controlPanels/DualLine.js
+++ b/superset/assets/src/explore/controlPanels/DualLine.js
@@ -58,4 +58,12 @@ export default {
       default: 'smart_date',
     },
   },
+  sectionOverrides: {
+    druidTimeSeries: {
+      controlSetRows: [['granularity', 'druid_time_origin'], ['time_range']],
+    },
+    sqlaTimeSeries: {
+      controlSetRows: [['granularity_sqla', 'time_grain_sqla'], ['time_range']],
+    },
+  },
 };