From dae1f8c30e0c820fdff392760c75cd3d9fe03f89 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 29 Oct 2020 20:45:50 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 6 +++++ ayanova/src/components/dash-base.vue | 34 ++++++++++++---------------- ayanova/src/views/home-dashboard.vue | 12 ++++++++++ 3 files changed, 33 insertions(+), 19 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 76df7d01..177b6913 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -21,6 +21,12 @@ todo: DASHBOARD User dash registry - user's selected dash widgets to display and the order to display them in plus any unique settings to each one Index in array is their display order [{id:(unique dashitem id),settings:{refreshfrequencymaybe:22,other:'setting'}},{id:(second item id)}] + dashboard host page + iterates user registry, instantiates the dash items in order desired if user is in allowed role (user may have changed roles) + handles removal, re-ordering events + dashboard selection UI + UI accessed from dashboard menu allowing user to add widgets + todo: wireframe / mockup dashboard item objects mockup dash items with all commonality built in, better to start mocking up now than try to design perfectly in advance and then implement COMMON PROPERTIES diff --git a/ayanova/src/components/dash-base.vue b/ayanova/src/components/dash-base.vue index c54f1d1d..e2b1f77e 100644 --- a/ayanova/src/components/dash-base.vue +++ b/ayanova/src/components/dash-base.vue @@ -18,19 +18,28 @@ + + + $ayiSync + + + {{ $ay.t("Refresh") }} + + + $ayiStepBackward - + $ayiBackward - + $ayiForward @@ -42,7 +51,7 @@ - + $ayiTrashAlt @@ -50,12 +59,6 @@ {{ $ay.t("Delete") }} - - - {{ - item.name - }} - @@ -71,14 +74,7 @@