elanthia-online / illthorn

Electron-based FE
18 stars 10 forks source link

left panels shouldn't be so jumpy #89

Closed ondreian closed 1 year ago

ondreian commented 4 years ago

Currently, because all of the panels dynamically resize, the compass can jump around, etc. Ideally:

<vitals fixed-height>
<active-spells dynamic-height+scrollbar>
<compass fixed-height>

so that the vitals & compass never change where they are oriented along the Y-axis

BryanSchuetz commented 4 years ago

This might be improved by addressing the empty/loading/loaded states of the panels (I think Chris was working on that). The Stance list item, for instance, won't show up until you change it..at which point the size of the vitals panel shifts. Or reordering them ?—injuries and spells are really the only ones that would need to adjust size...

It would be cool if you could drag them to re-arrange...but maybe that's a V2 kind of thing.

ondreian commented 4 years ago

I'm not sure about draggable panels, it sounds cool, but I personally prefer to have a "sane path forward", drag and drop especially with dynamically sized content adds a combinatorial explosion problem which makes:

  1. testing harder
  2. skinning harder

I'm not sure the tradeoff is worth it.

Everytime we add a new panel, we have to consider N factorial configurations of panels. I'd rather it be easy to update/contribute with new features.

I think it's important to note, I want to avoid the issues of Stormfront, I want Illthorn to feel like VS Code for Gemstone IV, not like we are trying to copy something from the 90's.

Eventually I want a plugin system for instance, and drag and drop makes that nearly impossible

BryanSchuetz commented 4 years ago

Fair enough. I like your framing of it as a VS Code for Gemstone. I never used Stormfront...bit I think I get what you're saying.