Content
View differences
Updated by Marc Alcobé over 2 years ago
### Problem
While implementing the filter on the share modal, I stumbled over the following case:
* I had a list of shared people
* All of them had the permission "View"
* I selected the role filter "Edit"
* Since the result set is empty, the blankslate is shown:
<img class="op-uc-image op-uc-image_inline" style="width:229px;" src="/api/v3/attachments/79105/content">
* I cannot reset the filter from here
### Solution Possible solution
Currently, I can think of two solutions:
1. In the blanksalte, add a link to reset the filters (if there are any) --> technically easier
2. Always keep the header of border box, and render the blankslate with a message about no results as the first (and only) row.
2. Display in the filters what is applied in the header box.
3. Keep the users counter in the header box reactive to the results in the table (in this case 0)
### Figma
https://www.figma.com/file/PlN4AmkwHNabNiT1Z7nZAA/Share-Work-Packages?type=design&node-id=2286-11268&mode=design&t=keoAaBlBoAJl0Mxh-4 --> Probably more beautiful?
While implementing the filter on the share modal, I stumbled over the following case:
* I had a list of shared people
* All of them had the permission "View"
* I selected the role filter "Edit"
* Since the result set is empty, the blankslate is shown:
<img class="op-uc-image op-uc-image_inline" style="width:229px;" src="/api/v3/attachments/79105/content">
* I cannot reset the filter from here
### Solution
2.
2. Display in the filters what is applied in the header box.
3. Keep the users counter in the header box reactive to the results in the table (in this case 0)
### Figma
https://www.figma.com/file/PlN4AmkwHNabNiT1Z7nZAA/Share-Work-Packages?type=design&node-id=2286-11268&mode=design&t=keoAaBlBoAJl0Mxh-4