Page MenuHomePhabricator

[web] Allow other types of icons in menu item
ClosedPublic

Authored by tomek on Jun 23 2023, 8:51 AM.
Tags
None
Referenced Files
F3371496: D8306.diff
Tue, Nov 26, 4:47 AM
Unknown Object (File)
Sat, Nov 23, 2:05 PM
Unknown Object (File)
Sat, Nov 23, 2:05 PM
Unknown Object (File)
Sat, Nov 23, 2:04 PM
Unknown Object (File)
Wed, Nov 20, 7:24 AM
Unknown Object (File)
Fri, Nov 15, 12:41 PM
Unknown Object (File)
Sun, Nov 10, 12:32 PM
Unknown Object (File)
Sat, Nov 9, 4:19 AM
Subscribers

Details

Summary

Currently, we allow only SWMansionIcons and provide them through their name. A design for invite links requires an icon which isn't a part of this set. This diff allows using any other icon, especially any svg.

Depends on D8294

Test Plan

Check if the items are still displayed correctly.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 23 2023, 9:12 AM
Harbormaster failed remote builds in B20471: Diff 28053!
tomek requested review of this revision.Jun 26 2023, 4:13 AM

Why are the strokes necessary?

This revision is now accepted and ready to land.Jun 26 2023, 6:06 AM
In D8306#245283, @inka wrote:

Why are the strokes necessary?

Some icons are SVGs and their color can be changed using stroke instead of color css property