sisby-folk / switchy

A minecraft mod that allows switching between presets of player data (social profiles, rpg characters, etc) in a completetly modular way.
https://modrinth.com/mod/switchy
GNU Lesser General Public License v3.0
13 stars 8 forks source link

Switchy UI Library Concerns #52

Open sisby-folk opened 1 year ago

sisby-folk commented 1 year ago

Switchy-UI is currently dependent on owolib, disabling itself when it's not present. The monolithic structure of owo and many mixins means it can't reasonably be JIJ'd or shadowed without dragging a whole bunch of baggage along with it.

We'd naturally like owo to suddenly change it's tune and be more ecosystem-cooperative, or for a mature UI library to suddenly be revealed to port to - problem is, Switchy's UI usage is pretty complicated.

In order for an alternative UI library to be viable, it needs to support:

Flexbox isn't currently used, but it would technically benefit preset previews to take up exactly the amount of space needed horizontally rather than a fixed size.

falkreon commented 1 year ago

Status / challenges with LibGui:

LibGui has an undercooked idea of fixed versus flexible sizes and at the end of the day just may not be up to all of the tasks you're looking to offload.