nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.17k stars 4.04k forks source link

A Pinned Dashboard Widget slot with configurable size (expandable to full available width) #39562

Open btakita opened 1 year ago

btakita commented 1 year ago

How to use GitHub

Is your feature request related to a problem? Please describe. I want to support custom workflows starting with the dashboard. The size of the dashboard widgets is limited to 320px by 480px, which is small. Users can also "lose" the site-specific dashboard widgets by removing or moving the widget. This leads to support requests to "get the widget(s) back".

Complex custom code is required to initialize a new account with role-based dashboard widgets (i.e. admin, funder, funding candidate), if configured with the following:

occ config:app:set dashboard layout --value="site_widget_1,site_widget_2,site_widget_n,recommendations,spreed,mail,calendar"

Describe the solution you'd like Having a slot for pinned dashboard components of any size.

Describe alternatives you've considered While it's possible to mitigate by using multiple dashboard widgets and/or opening modal dialogs, being able to utilize the full width of the dashboard UI would be a better user experience.

For role-based dashboard widgets, auth branching logic can be added to each site-specific dashboard widget. If we use multiple dashboard widgets, we could have SiteDashboardWidget1, SiteDashboardWidget2...SiteDashboardWidgetN all have an auth if/else statement to present different views for the different user roles.

btakita commented 1 year ago

Being able to configure the width of the widgets would also help. 2x or 3x wide widgets could help with providing more UI space.