Content
View differences
Updated by Ihor Dubas 6 days ago
### Steps to reproduce
1. Open a document which contains an inline link or work package card linked to a work package the user does not have permission to access
2. Observe the "Unavailable" message shown (with the eye-closed icon)
3. Try to get the actual link/URL to that work package (e.g. to copy it or share it with someone who does have access) or tell someone via voice message ("Hey, can you give me access to WP ABC-123?".
### What is the buggy behavior?
There is currently no way for the user to copy or navigate to the link of an unavailable work package. The identifier is not shown consistently across all size variants, and no part of the text is a clickable link.
I cannot differentiate one link from another. Are they linking to the same WP, or different ones?
### What is the expected behavior?
For each display size, the unavailable work package reference should expose the identifier and a clickable, hoverable link (blue, standard link styling) pointing to the work package:
1. **Tiny:** Show only the eye-closed icon identifier on the inline link (no identifier here). The identifier is shown and in the preview only, preview, right after the eye-closed icon. The whole label In the "Linked work package unavailable" line, the words "work package" should be a link to the work package. package (blue, with hover state).
2. **Compact / Regular:** Show the work package identifier, and make the whole label "Work package unavailable: no permission" word "Unavailable" a link to the work package (blue, with hover state).
3. **Compact card:** Show the identifier right after the eye-closed icon. The whole label In the "Linked work package unavailable" line, the words "work package" should be a link to the work package (blue, with hover state).
### Translation considerations
* This changes translations for work packages which the user is not allowed to see.
1. Open a document which contains an inline link or work package card linked to a work package the user does not have permission to access
2. Observe the "Unavailable" message shown (with the eye-closed icon)
3. Try to get the actual link/URL to that work package (e.g. to copy it or share it with someone who does have access) or tell someone via voice message ("Hey, can you give me access to WP ABC-123?".
### What is the buggy behavior?
There is currently no way for the user to copy or navigate to the link of an unavailable work package. The identifier is not shown consistently across all size variants, and no part of the text is a clickable link.
I cannot differentiate one link from another. Are they linking to the same WP, or different ones?
### What is the expected behavior?
For each display size, the unavailable work package reference should expose the identifier and a clickable, hoverable link (blue, standard link styling) pointing to the work package:
1. **Tiny:** Show only the eye-closed icon
2. **Compact / Regular:** Show the work package identifier, and make the whole label "Work package unavailable: no permission"
3. **Compact card:** Show the identifier right after the eye-closed icon. The whole label
### Translation considerations
* This changes translations for work packages which the user is not allowed to see.