Defect #26699

Anonymous user should have their icon

Added by Go MAEDA about 1 month ago. Updated about 1 month ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:3.4.3
Resolution: Affected version:

Description

ApplicationHelper#avatar method returns blank string instead of img tag for the anonymous user. The behavior causes disordered layout in IssuesController#show page.

This patch adds an icon for the anonymous user and fixes the broken layout.

Before:
The author of the issue is the anonymous user. But in the upper left corner of the page, the assignee's icon is displayed as if it is the author's icon because the anonymous user does not have their avatar icon.

No icon is displayed in the journal which was made by the anonymous user.

After:
New anonymous icon is displayed.

before1@2x.png (12.5 KB) Go MAEDA, 2017-08-15 16:32

before2@2x.png (7.66 KB) Go MAEDA, 2017-08-15 16:32

after1@2x.png (13.3 KB) Go MAEDA, 2017-08-15 16:32

after2@2x.png (8.56 KB) Go MAEDA, 2017-08-15 16:32

anonymous.ai - Vector data of the icon (Adobe Illustrator CC 2017) (371 KB) Go MAEDA, 2017-08-15 17:15

0001-Add-avatar-for-anonymous-user.patch Magnifier - patch (3.91 KB) Go MAEDA, 2017-08-15 17:52


Related issues

Related to Redmine - Patch #25775: Show assignee's icon in addition to author's icon Closed

History

#1 Updated by Go MAEDA about 1 month ago

  • Related to Patch #25775: Show assignee's icon in addition to author's icon added

#2 Updated by Go MAEDA about 1 month ago

#3 Updated by Go MAEDA about 1 month ago

Updated tests.

#4 Updated by Go MAEDA about 1 month ago

  • File deleted (0001-Add-avatar-for-anonymous-user.patch)

#5 Updated by Go MAEDA about 1 month ago

  • Target version set to 3.4.3

I think it is problematic that an assignee's icon looks like an author's icon in Redmine 3.4 when the issue's author is an anonymous user.

I suggest including this fix in 3.4.3.

Also available in: Atom PDF