dashboard-icons icon indicating copy to clipboard operation
dashboard-icons copied to clipboard

Making a Dashboard Icons website

Open lammersbjorn opened this issue 2 years ago • 11 comments

I am looking into building a nice looking website for the Dashboard Icons project.

Here are some feature's I am wanting to add:

  • Fuzzy search
  • PNG/SVG filtering
  • If both an SVG and PNG is present, show only the PNG version but show both on click
  • Lazy loading

If anyone would want to help me with this, please comment on this issue and I will assign you. If you have any suggestions, please also make a comment!

lammersbjorn avatar Apr 18 '23 16:04 lammersbjorn

I think website can be made similar to the aegis-icons. https://aegis-icons.github.io/, https://github.com/aegis-icons/aegis-icons

ryuupendragon avatar Apr 24 '23 14:04 ryuupendragon

I think website can be made similar to the aegis-icons. aegis-icons.github.io, aegis-icons/aegis-icons

Thanks for the links! I'll see if I can find some inspiration.

lammersbjorn avatar Apr 24 '23 21:04 lammersbjorn

Hi, I've generated an example if this is what you are looking for (it'll need better styling) :

https://jsfiddle.net/prad/jk3tc2fs/3/

I've used the following to convert the html to have a text label and be within a list tag : https://jsfiddle.net/prad/cne0dk6z/9/

pradt avatar Jul 08 '23 15:07 pradt

I think this is a really great start, but the fuzzy search will have to be improved loads more. For example, currently when searching "pihole", "pi-hole" will not show up. I am going on vacation in a couple of days but I will take a better look at your example when I'm back :)

lammersbjorn avatar Jul 11 '23 10:07 lammersbjorn

Why prefer the png version, if both svg and png are available? As vector format, the svg version offers better scalability so it should be the default / preferred one, right?

Mega-Volti avatar Jul 18 '23 13:07 Mega-Volti

I think this is a really great start, but the fuzzy search will have to be improved loads more. For example, currently when searching "pihole", "pi-hole" will not show up. I am going on vacation in a couple of days but I will take a better look at your example when I'm back :)

Ok no worries, enjoy your holidays.

Based on your feedback, writing a custom fuzzy logic function is probably going to take some time. Instead I've looked at two libraries (fuse.js and fuzzysort) and I was able to get better success from using the fuzzysort library : https://github.com/farzher/fuzzysort

I've created a working example, but I've had to convert the content to an array. But for testing purposes the update at https://jsfiddle.net/prad/jk3tc2fs/52/ (the initial display of all the icons is not shown at this stage, only after it passes the array of the icons to the fuzzy search it displays the result.

pradt avatar Jul 19 '23 05:07 pradt

This is an absolutely great start! I think it still needs some optimizations, but this is superb.

lammersbjorn avatar Jul 24 '23 10:07 lammersbjorn

I have created a simple search page. It can be temporarily used by those who need it. https://raythunder.github.io/dashboard-icons-search/

raythunder avatar Sep 14 '23 10:09 raythunder

This is really nice! I'm going to take a further look at it once I find some time, I think after some improvements we could really use this.

lammersbjorn avatar Sep 16 '23 20:09 lammersbjorn

The icon searcher should always be up to date as it requests PNG and SVG content from GitHub. https://andrzej-zuralovic.github.io/dashboard-icons-searcher/

andrzej-zuralovic avatar Feb 09 '24 14:02 andrzej-zuralovic

Hi @andrzej-zuralovic, this looks fantastic! I’d love to integrate it into the repository if you’re okay with that.

I did notice a couple of bugs:

  1. Images wider than 512px aren’t scaling properly.
  2. Icons with longer names display oddly on hover.

lammersbjorn avatar Oct 13 '24 18:10 lammersbjorn

Hi @walkxcode , apologies for the delayed response. Yes, you can integrate it if you wish. I have also addressed the bugs you mentioned.

andrzej-zuralovic avatar Dec 10 '24 21:12 andrzej-zuralovic

https://dashboardicons.com :) #1157

lammersbjorn avatar Apr 23 '25 02:04 lammersbjorn