Content
View differences
Updated by Parimal Satyal 7 months ago
### Acceptance criteria
* In the Project home, in Overview or in Dashboard, display "empty" states for all widgets in two different variants:
* **Empty**
* This will be shown when the user has access to the widget, but it does not contain anything
* It consists of a Blankslate with:
* Icon
* Title: (the same as the members widget name, eg. "Members", "News", "Description"...)
* _\[open\] Text: "There is nothing empty (no members to be displayed), show yet." (to be finalised)_
a blankslate with an add member button
* Action: "+ {Action}"
* This can vary depending on the module. For eg. for Members, it'll be "+ Member", and on On click, this should go to the "Add user" dialog, but directly to the second step, where the current project and "User" are already pre-selected, and the current user can directly add or invite a member to the project.
* **Empty but no permission to modify**
* This will be shown when the user has access to the widget, but does not have the permission to edit it
* It consists of a Blankslate with:
* Icon
* Title: (the same as the widget name, eg. "Members", "News", "Description"...)
* _\[open\] Text: "There is nothing to show yet." (to be finalised)_
* No action
* **No permissions to see view**
* This will be shown when the user only has viewing rights (eg. when a work package is shared with an external user, but they can still access the Dashboard)
* It consists of a Blankslate with:
* Icon
* Title: (the same as the widget name, eg. "Members", "News", "Description"...)
* _\[open\] Text: "This widget is not visible to you". (to be finalised)_
* No action
project
### Visuals
(to be updated) <br>
<img class="image_resized op-uc-image op-uc-image_inline" style="width:443px;" src="/api/v3/attachments/806574/content">
###
* In the Project home, in Overview or in Dashboard, display "empty" states for all widgets in two different variants:
* **Empty**
* This will be shown when the user has access to the widget, but it does not contain anything
* It consists of a Blankslate with:
* Icon
* Title: (the same as the
* _\[open\] Text: "There is nothing
* This can vary depending on the module. For eg. for Members, it'll be "+ Member", and on
* **Empty but no permission to modify**
* This will be shown when the user has access to the widget, but does not have the permission to edit it
* It consists of a Blankslate with:
* Icon
* Title: (the same as the widget name, eg. "Members", "News", "Description"...)
* _\[open\] Text: "There is nothing to show yet." (to be finalised)_
* No action
* **No permissions to see view**
* This will be shown when the user only has viewing rights (eg. when a work package is shared with an external user, but they can still access the Dashboard)
* It consists of a Blankslate with:
* Icon
* Title: (the same as the widget name, eg. "Members", "News", "Description"...)
* _\[open\] Text: "This widget is not visible to you". (to be finalised)_
* No action
(to be updated)
<img class="image_resized op-uc-image op-uc-image_inline" style="width:443px;" src="/api/v3/attachments/806574/content">
###