SkyCryptWebsite / SkyCrypt

A Hypixel skyblock stats website
https://sky.shiiyu.moe
MIT License
270 stars 134 forks source link

Make a Lit component that handles displaying items (with auto-collapse, etc) #1001

Open dukio opened 2 years ago

dukio commented 2 years ago

Currently we are displaying items in multiple parts of the website:

I feel like all these sections could use a main component that automatically handles hiding items after a certain number has been displayed... we are already doing it for pets, but not for the rest, and the result is this (see hoes): https://sky.shiiyu.moe/stats/Bankhier/Papaya#Skills

nstringham commented 2 years ago

This should probably share code with the rich item element from the inventory