Add filtering and hint function to the icon cheatsheet #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Sergey,
Thanks for putting together the Iconic Font. It's very useful!
While I'm an active user of your icons, I would like to propose a UI update to your cheatsheet page, to make it easier to browse and filter. Main features I added:
keywords
txt file to tag icons with metadata. i.e.search
is tagged withmagnifier
, so when I typemagn
in the filter box, I can find thesearch
button.keywords
file is just start, hand typed by me. But if more people join to give keyword description to the icons, the search-filtering would be easier and easier.Icons
page. I adding encoding here to make it handy.I made the content changes directly to the
cheatsheet.html
. The UI styling and behavior are handled by 2 new filescheatsheet.less
andcheatsheet.js
. So it should not interfere with other pages. If there's any Grunt production flow I missed, please pardon me, and I'm happy to make adjustment to my code to comply with your workflow.I attached a few screenshot to demonstrate the features I proposed. Let me know what you think!
Thanks!
star
will return all the icons named or tagged withstar