benknoble / frosthaven-manager

GUI Frosthaven Scenario Manager
https://benknoble.github.io/frosthaven-manager
Other
11 stars 3 forks source link

web events: don't overwrite elements that haven't changed #78

Closed benknoble closed 7 months ago

benknoble commented 10 months ago

This might require some rethinking of some of the events.

The actual goal is to avoid that one player adjusting someone's health doesn't prevent another player from reasonably interacting with the dropdown (select element, I believe) for conditions.

benknoble commented 8 months ago

Alternatively, conditions and other interactive elements could be extra pages, but I dislike that aesthetically.

benknoble commented 8 months ago

I've discovered that the I never do any direct updates to the select that power conditions (except when reordering, which I apparently do any time a creature changes thanks to 5ae214e (web: reorder when creatures change, 2023-12-04)). Changing elements, for example, doesn't kick you from the select. I suspect that commit needed to reorder when adding new monster groups, but I'm not sure. I might need to be smarter about new monster groups.