FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add search to home page by thomascullen · Pull Request #197 · feathericons/feather · GitHub

Add search to home page - #197

Merged
colebemis merged 2 commits into
feathericons:sitefrom
thomascullen:site
Nov 5, 2017
Merged

Add search to home page#197
colebemis merged 2 commits into
feathericons:sitefrom
thomascullen:site

Conversation

thomascullen commented Oct 9, 2017
edited
Loading

Copy link
Copy Markdown

👋 Love this icon set. Thought I would have a go at adding search with basic tagging system to the home page as I find myself using the bowser page search on the website almost every time I need to use a new icon.

The search works off of listjs as I have seen suggested a few times in some issues. The tags are defined using a simple tags.yml file which is loaded using the Jekyl _data folder. Multiple tags can be defined for an icon by separating them with commas or spaces. You may want to bundle the tags into the feather library itself, however, I think it is fine to keep it as a feature of the website and keep the icons to their specific names.

#44
#45

Copy link
Copy Markdown

+1 loving this

Copy link
Copy Markdown
Member

This looks great! 🎉 I want to take some time to go over this because I think this is an important feature. Hold tight.

colebemis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Just spent some time reviewing the code. Looks great!

I made some minor changes to the appearance of the search bar. Can you look over my changes and just give me a 👍 if you think it's ready to merge? 🎉

Comment thread _data/tags.yml
@@ -0,0 +1,3 @@
bell: notification
bell-off: notification-off
check: tick

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think eventually we'll want to keep this data somewhere else but this should be fine for now.

Copy link
Copy Markdown
Author

Looks good to me 👍

colebemis merged commit f642639 into feathericons:site Nov 5, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL