Project

General

Profile

Actions

Defect #41853

closed

Group icons in watchers and membership modals are using a mix of legacy and SVG icons

Defect #41853: Group icons in watchers and membership modals are using a mix of legacy and SVG icons

Added by pasquale [:dedalus] almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Resolution:
Fixed
Affected version:

Description

issue-in-action

Affected version 6.0.1


Files

clipboard-202411241047-o2mcq.png (44.5 KB) clipboard-202411241047-o2mcq.png issue-in-action pasquale [:dedalus], 2024-11-24 10:47
clipboard-202411291050-yowm4.png (38.2 KB) clipboard-202411291050-yowm4.png Takenori TAKAKI, 2024-11-29 02:50
clipboard-202411291050-lamm7.png (45.7 KB) clipboard-202411291050-lamm7.png Takenori TAKAKI, 2024-11-29 02:50
clipboard-202411291051-u5zml.png (55.1 KB) clipboard-202411291051-u5zml.png Takenori TAKAKI, 2024-11-29 02:51
clipboard-202411291051-grkzt.png (50.8 KB) clipboard-202411291051-grkzt.png Takenori TAKAKI, 2024-11-29 02:52
fix-41853.patch (6.88 KB) fix-41853.patch Takenori TAKAKI, 2024-11-29 02:52
0001-Escape-labels-in-principals_check_box_tag.patch (1.8 KB) 0001-Escape-labels-in-principals_check_box_tag.patch Katsuya HIDAKA, 2024-11-29 19:26
0002-Fix-functional-tests-broken-by-r23328.patch (3.26 KB) 0002-Fix-functional-tests-broken-by-r23328.patch Katsuya HIDAKA, 2024-11-29 19:26

Related issues 2 (0 open — 2 closed)

Related to Redmine - Feature #23980: Replace icon images with Tabler SVG iconsClosedMarius BĂLTEANUActions
Has duplicate Redmine - Defect #41870: Add Watchers windows still show old icon for group-memberClosedActions

Updated by Takenori TAKAKI almost 2 years ago Actions #1

I made a patch to fix the problem reported in this issue.
Additionally, this patch fixes the problem where old group icons are displayed, as shown in the attached screenshots.

  • Add watchers (dialog)
    before

    after
  • New Member (dialog)
    before

    after

Updated by Go MAEDA almost 2 years ago Actions #2

  • Status changed from New to Confirmed
  • Target version set to 6.0.2

Updated by Katsuya HIDAKA almost 2 years ago Actions #3

I reviewed the patch and tested the affected features with avatars enabled and disabled on the latest master. Everything looks good, and I didn’t notice any issues.

Updated by Marius BĂLTEANU almost 2 years ago Actions #4

  • Status changed from Confirmed to Resolved
  • Assignee set to Marius BĂLTEANU
  • Resolution set to Fixed

Committed, thanks!

Updated by Katsuya HIDAKA almost 2 years ago Actions #5

I have found the following issues in the current implementation:
  • The principals_check_box_tag labels (user and group names) are not escaped.
  • Some functional tests fail.

I attach minimal patches to address these issue.

I have confirmed that all tests pass.
https://github.com/hidakatsuya/redmine/actions/runs/12088933388

Updated by Marius BĂLTEANU almost 2 years ago Actions #6

I've committed a slightly fix, thanks user:takenory and user:hidakatsuya for you help.

Updated by Marius BĂLTEANU almost 2 years ago Actions #7

  • Subject changed from Group icons in Watchers box have both the old and the new icon style to Group icons in watchers and in membership modals are not using only the SVG icon

Updated by Marius BĂLTEANU almost 2 years ago Actions #8

  • Related to Feature #23980: Replace icon images with Tabler SVG icons added

Updated by Marius BĂLTEANU almost 2 years ago Actions #9

  • Subject changed from Group icons in watchers and in membership modals are not using only the SVG icon to Group icons in watchers and membership modals are using a mix of legacy and SVG icons

Updated by Marius BĂLTEANU almost 2 years ago Actions #10

  • Status changed from Resolved to Closed

Updated by Marius BĂLTEANU almost 2 years ago Actions #11

  • Has duplicate Defect #41870: Add Watchers windows still show old icon for group-member added
Actions

Also available in: PDF Atom