Indirect UI Actions: Modal Confirmation Without Widget Dependencies
Sometimes you build a feature that looks like a tiny UI polish… and it ends up unlocking a whole new level of system design.
That’s exactly what happened while improving my Inventory & Equipment UI.
I was working on what looked like a simple feature - selecting an item, choosing an action like Use, and showing a modal confirmation - but it exposed a bigger architectural challenge:
How do you trigger a modal confirmation flow without forcing every widget to know about every other widget?
This update is about solving that problem properly.
Not by introducing more master classes, not by casting to specific widget types, and not by wiring together a delegate spiderweb - but by designing the flow around decoupled commands, payloads, and queued execution.
It’s visually small.
Technically huge.