add frontend logging utility function (#4226)

add loading log for dash and exploreview
breakdown whole page load action to multiple charts loading events and render events
This commit is contained in:
Grace Guo
2018-01-30 10:27:13 -08:00
committed by GitHub
parent 073d56cb33
commit 724c3f48a4
13 changed files with 215 additions and 6 deletions

View File

@@ -55,6 +55,11 @@ export default function chartReducer(charts = {}, action) {
chartAlert: t('Updating chart was stopped'),
};
},
[actions.CHART_RENDERING_SUCCEEDED](state) {
return { ...state,
chartStatus: 'rendered',
};
},
[actions.CHART_RENDERING_FAILED](state) {
return { ...state,
chartStatus: 'failed',