emoncms / dashboard

dashboard module for emoncms
GNU Affero General Public License v3.0
13 stars 45 forks source link

Dashboard configuration access (and mobile friendly dash list) #186

Open pb66 opened 5 years ago

pb66 commented 5 years ago

Once upon a time there used to be a icon link from the dashboard page

image

directly into the dashboard configuration editor

at the time there wasn't much going on in there that wasn't directly linked to the editing of a dashboard via the editor (grid size and background colour etc) or directly from the dash list (name editing, public etc). Since then we have the Content Editor added and it is now possible to manage dashboards without ever opening the gui editor page by copy and pasting dash content and/or editing the content code directly.

I would very much like to see that old link return so that the dashboard configuration can be accessed directly from the dashboard list again. If it's a question of space, the return of a dash config button could replace the inline edit button as they can both already be edited via the dash config page (with exactly the same number of clicks).

In fact the "main", "public" and "published" buttons are already duplicated in the dash config page too, so whilst I do like the quick links on a full size screen, the dash page could be reduced to just a name, and an old style "config" button on smaller screens (perhaps just adding new "edit", "clone" and "delete" buttons in the dash config page for completeness, although I doubt many users will be editing dashboards via the gui on a mobile size screen). In this instance, clicking the name could open the dash rather than the little link button which is hard to get on a mobile.

This shortcut to the dash config may even become more useful with future updates eg if the TZ can be set per dashboard (ref https://github.com/emoncms/emoncms/issues/1060 and https://github.com/emoncms/graph/issues/50). It would remove any size restrictions imposed by dash list table limiting future features whilst making it more mobile friendly in the process.

glynhudson commented 5 years ago

This will be addressed by the new mobile friendly sidebar, see the sidebar branch of core and modules

Screenshot 2019-04-16 at 17 37 25 Screenshot 2019-04-16 at 17 37 20

https://community.openenergymonitor.org/t/beta-new-emoncms-sidebar-navigation-layout-feedback-request/10435

pb66 commented 5 years ago

Re-opening this as it hasn't been addressed in any recent updates. We still cannot access this page

image

without going via the "edit mode" and clicking the cog in the floating toolbox

image

Many moons ago it used to be accessible from the dashboard list. Since it also offers a place to set public, set published, edit the alias, edit the name it is arguably more important than any one of those things that has it's own button in the dash list.