UX: stops randomising support category icon (#38287)

We would try to have diversity through different icons and fitzpatrick
scale, but we need the icon to be easily recognisable. For now we are
going with "person_raising_hand".
This commit is contained in:
Joffrey JAFFEUX
2026-03-05 18:15:28 +01:00
committed by GitHub
parent e628ed8685
commit fc27bd6930
@@ -74,26 +74,8 @@ module DiscourseSolved
}
end
ICON_VARIANTS = %w[
person_raising_hand:t2
person_raising_hand:t3
person_raising_hand:t4
person_raising_hand:t5
person_raising_hand:t6
man_raising_hand:t2
man_raising_hand:t3
man_raising_hand:t4
man_raising_hand:t5
man_raising_hand:t6
woman_raising_hand:t2
woman_raising_hand:t3
woman_raising_hand:t4
woman_raising_hand:t5
woman_raising_hand:t6
].freeze
def icon
ICON_VARIANTS.sample
"person_raising_hand"
end
end
end