Skip to content

Blocked user nickname and avatar still appear on hover #9011

@virgile-dev

Description

@virgile-dev

Describe the bug
When hovering on a blocked user avatar and name here is what we see :
Capture d’écran 2022-03-14 à 11 41 51
The current blocking feature only offuscates the username and replaces it by Blocked user(would be nice to have a translatable string).
This is a problem when the user who was blocked used an inapropriate image or nickname.
Here is an example
Capture d’écran 2022-03-14 à 11 50 06

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://try.decidim.org/assemblies/harum-officia/f/46/results/151?commentId=486
  2. Hover on "Blocked user"
  3. See tooltip with nickname and avatar
  4. See error

Expected behavior
Simple fix : I should not show the tooltip for blocked user
More advanced fix : offuscate nickname, avatar (and why not description and personal url too)

Extra data (please complete the following information):

  • Decidim Version: 0.26
  • Decidim installation: try.decidim.org

Additional context
It's also worth noting that on the tooltip a loggued in user can message and follow a blocked user.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions