summaryrefslogtreecommitdiff
path: root/frontend/views/page/page.actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/page/page.actions.js')
-rw-r--r--frontend/views/page/page.actions.js24
1 files changed, 23 insertions, 1 deletions
diff --git a/frontend/views/page/page.actions.js b/frontend/views/page/page.actions.js
index bd38683..dd94936 100644
--- a/frontend/views/page/page.actions.js
+++ b/frontend/views/page/page.actions.js
@@ -26,6 +26,18 @@ export const toggleEditTileForm = () => dispatch => {
dispatch({ type: types.page.toggle_edit_tile_form })
}
+export const showTileList = () => dispatch => {
+ dispatch({ type: types.page.show_tile_list })
+}
+
+export const hideTileList = () => dispatch => {
+ dispatch({ type: types.page.hide_tile_list })
+}
+
+export const toggleTileList = () => dispatch => {
+ dispatch({ type: types.page.toggle_tile_list })
+}
+
export const updatePageTile = tile => dispatch => {
dispatch({ type: types.page.update_page_tile, tile })
}
@@ -52,4 +64,14 @@ export const showGraphIfUnloaded = ({ graph_name }) => dispatch => (
.then(resolve)
.catch(reject)
})
-) \ No newline at end of file
+)
+
+export const setTileSortOrder = tiles => dispatch => {
+ dispatch({ type: types.page.set_tile_sort_order, tiles })
+ updateTileSortOrder(tiles)(dispatch)
+}
+
+export const updateTileSortOrder = tiles => dispatch => {
+
+}
+