frzyc / genshin-optimizer

An Artifact optimizer for Genshin Impact.
https://frzyc.github.io/genshin-optimizer/
MIT License
749 stars 217 forks source link

Collapsable Talent stat display #2271

Open frzyc opened 1 week ago

frzyc commented 1 week ago

In the stat display, there are quite a lot of categories, for a lot of characters, it may make sense to be able to collapse some of the unneeded categories so that users can focus on the important sections.

An experiment was done here to address this issue, but due to the masonry component, causes a ton of layout shifts as the accordions change the height of elements.

Perhaps we can better implement this after: https://github.com/frzyc/genshin-optimizer/issues/2260