You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/05/25 00:44:28 UTC

[incubator-superset] branch master updated: Add 24 hours refresh for dashboard (#5068)

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

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e30215c  Add 24 hours refresh for dashboard (#5068)
e30215c is described below

commit e30215c3d8ce52e167889ad40c4ada4d00a2f352
Author: Alexander Ko <ao...@gmail.com>
AuthorDate: Thu May 24 17:44:24 2018 -0700

    Add 24 hours refresh for dashboard (#5068)
    
    * adding 24 hours refresh
    
    * adding additional hours
---
 superset/assets/src/dashboard/components/RefreshIntervalModal.jsx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/superset/assets/src/dashboard/components/RefreshIntervalModal.jsx b/superset/assets/src/dashboard/components/RefreshIntervalModal.jsx
index 4cba010..93c4272 100644
--- a/superset/assets/src/dashboard/components/RefreshIntervalModal.jsx
+++ b/superset/assets/src/dashboard/components/RefreshIntervalModal.jsx
@@ -21,6 +21,11 @@ const options = [
   [30, t('30 seconds')],
   [60, t('1 minute')],
   [300, t('5 minutes')],
+  [1800, t('30 minutes')],
+  [3600, t('1 hour')],
+  [21600, t('6 hours')],
+  [43200, t('12 hours')],
+  [86400, t('24 hours')],
 ].map(o => ({ value: o[0], label: o[1] }));
 
 class RefreshIntervalModal extends React.PureComponent {

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.