WinUI-Gallery
WinUI-Gallery copied to clipboard
Add searchable tags to Icons
Issue type
enhancement
Which version of the app?
WinUI 3 Gallery
Description
In the Icons page, you can search by Name and Unitcode point. It'd be easier to find icons if they had tags that represent the symbol or its meaning.
For example, the Color icon, which is a palette, could also be able to be found with [palette] or [theme].
Screenshots
No response
Windows version
No response
Additional context
No response
If this is a change that could be considered as enhancement, I'd be happy to create a PR for this.
Sounds like a fair idea. What would be your solution? Adding a "tag" field in WinUIGallery/DataModel/IconsData.json ?
Yes. Something like the following. Nothing complicated.
{
"Code": "E790",
"Name": "Color",
"Tags": ["Palette", "Theme"]
},
But since there are too many icons, I'm thinking on implementing the searching logic and some simple tags. The rest can be implemented/improved in the future.
That's a great idea! Your contribution is very much welcomed.
I'll create a PR when it's ready.