emoncms/dashboard

"Add New" in sidebar

emrysr opened this issue · 2 comments

Should there be an Add New option in the sidebar like this...
image

Currently users go to All Dashboards to see the button for Add New

Would require a new entry in the menu file under "All Dashboards"...
https://github.com/emoncms/dashboard/blob/master/dashboard_menu.php#L51

and pass a parameter to the view from the controller to display the "new item" form
https://github.com/emoncms/dashboard/blob/master/dashboard_controller.php#L32
eg. dashboard/list/new
that parameter could auto run the function app.addNew() which would add a new line to the list on load.

Agree, this would be a good addition and would make dashboards consistent with Apps

I would call "All dashboards" "Configuration" and keep the new button on the configuration page.
Also recovering this #267

Fix here #277