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
Unknown Object (File)
Tue, May 7, 7:46 PM
Unknown Object (File)
Tue, May 7, 9:45 AM
Unknown Object (File)
Tue, May 7, 9:45 AM
Unknown Object (File)
Tue, May 7, 9:45 AM
Unknown Object (File)
Sat, May 4, 5:14 AM
Unknown Object (File)
Sat, May 4, 5:13 AM
Unknown Object (File)
Sat, May 4, 5:12 AM
Unknown Object (File)
Sat, May 4, 4:43 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
Lint Not Applicable
Unit
Tests Not Applicable

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