Feature #39528
openChange mention link color for users without access to view issues
Description
I propose a feature enhancement for better visibility regarding user permissions and mention notifications. Currently, when a user who does not have the permission to view a particular issue is mentioned, they do not receive a mention notification email. However, this is not visually apparent since the mention link looks identical to others, potentially leading to confusion over whether a notification was sent.
To improve clarity, I suggest altering the background color of mention links for users who cannot view the issue. This visual cue would instantly inform others that the mentioned individual may not be notified due to permission restrictions.
Files
Related issues
Updated by Mizuki ISHIKAWA over 2 years ago
- File feature-39528.patch feature-39528.patch added
- File screenshot.png screenshot.png added
After applying the attached patch, the background colour of the mentions link changes according to access rights as follows.
Updated by Mizuki ISHIKAWA over 2 years ago
- File feature-39528.patch feature-39528.patch added
Minor bugs fixed.
And I created an additional issue because I thought it was likely that just changing the colour in this issue would not convey the intention. (#39529)
Updated by Go MAEDA about 2 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA over 1 year ago
- Related to Feature #39529: Add tooltips for clarifying non-notifiable user mentions added
Updated by Marius BĂLTEANU 12 months ago
- Related to Feature #13919: Mention user on issues and wiki pages using @user with autocomplete added
Updated by Marius BĂLTEANU 23 days ago
- Target version changed from Candidate for next major release to 7.0.0
Updated by Marius BĂLTEANU 21 days ago
I've moved the user mention code into its own method link_to_mention.
Currently, we have four different visual states for user links:
1. @jsmith: User cannot view the mentioned user (Plain text).
2. @John Smith (blue background): User can view the mentioned user.
3. John Smith (no background): User is linked using user:jsmith syntax.
4. @John Smith (#F3EDD1 or other background): User can view the mentioned user, but the mentioned user cannot view the object (Proposed in this issue).
What if we simplify this and show the user with no background by default? We could then change the condition to apply the --oc-blue-0 background only when the mentioned user has access to see the object. This would provide a clear visual distinction without adding a fourth color/state.
Before finalizing this, I’ll run performance tests. Last year, Jean-Philippe mentioned that the mention feature was slowing down redmine.org, which led to changing many links from @login to user:#id. I want to see how each change related to this feature impact the performance
Updated by Marius BĂLTEANU 15 days ago
- Related to Feature #4179: Link to user in wiki syntax added