Content
View differences
Updated by Marc Alcobé over 3 years ago
In the case of an error message where the files are still visible but the user can't access them or perform any action would be an increase of UX to add the blocked mouse (as we do for the team planner cards) and a tooltip explaining why this list elements are inactive.
### **Acceptance criteria**
* Use browser "not-allowed" pointer on disabled list items.
* Display the appropriate message with a tooltip:
* The left and right margin (1 rem) are the double than the top and bottom (0.5 rem)
* The min-width is fixed at 20-rem and the max-width is 90vw. So shorter tooltips will have extra space on the right side.
* Generally, no interaction is possible on a disabled item, so no background changes are possible.
* The only exception is the insufficient permission message; in this case, the user is technically still able to click on the click, so the background _can_ change.
**Update 27.09.2022:**
* The default width is set to 100% There are two variants of tooltip, one with right/left margins of 1rem. In each instance the width will be changed independently to fit the design specs (for files list is 17,25rem).
a light background and another with a dark grey background.
* The background colour by default will always be grey. The second option "light blue" will be only blue one is used when there is dark backgrounds or contrast issues (for files list is grey).
* In order to avoid positioning conflicts the triangle arrow will be removed from all tooltips. in this case.
### Visuals
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38870/content">
### Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=1439%3A66444 src="/api/v3/attachments/35314/content">
### **Acceptance criteria**
* Use browser "not-allowed" pointer on disabled list items.
* Display the appropriate message with a tooltip:
* The left and right margin (1 rem) are the double than the top and bottom (0.5 rem)
*
*
* The only exception is the insufficient permission message; in this case, the user is technically still able to click on the click, so the background _can_ change.
**Update 27.09.2022:**
* In order to avoid positioning conflicts the triangle arrow will be removed from all tooltips.
### Visuals
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38870/content">
### Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=1439%3A66444