website icon indicating copy to clipboard operation
website copied to clipboard

Add search & filter functionality

Open sgoudham opened this issue 1 year ago • 3 comments

For the search functionality, I'd like to utilise fuse.js as it just works :tm: without any complex setup or hassle.

sgoudham avatar Mar 24 '24 20:03 sgoudham

I'd happily work on adding this soon!

Tenrys avatar Apr 17 '24 04:04 Tenrys

I'd happily work on adding this soon!

Thanks for your interest!

We've had some further discussion in our discord regarding this. It looks like we'll need a slight refactor as Astro components aren't dynamic enough here.

We're leaning towards Svelte components and to use the https://github.com/unplugin/unplugin-icons library to retrieve our simple icons along with our custom ones.

@andreasgrafen will have more of an idea on how to approach this and potential blockers!

sgoudham avatar Apr 19 '24 16:04 sgoudham

Oh shoot.. I've pushed the whole icon thing waay far back into some dark corner of my brain since it's somewhat of a pain. I should get around to implementing that.

But yeah, the plan is to move the whole ports stuff into a Svelte component in order to implement the dynamic behaviour. This clashes with the current implementation for the Icons though Astro-Icon since these Astro components can only be used within Astro not Svelte.

But I'm also open for suggestions on how to solve this in another way. Do you potentially have something on your mind already @Tenrys?

unseen-ninja avatar Apr 19 '24 18:04 unseen-ninja