CushyStudio icon indicating copy to clipboard operation
CushyStudio copied to clipboard

Pop-up Overhaul

Open birdddev opened this issue 1 year ago • 2 comments

RevealUI (FavBar draft/app icons, requirements/tooltips) and Menus (combos/dropdowns, search enum) should re-use an underlying PopUp widget. This should keep logic and visual consistency between them, similar to how InputBoolUI is used in place of check-boxes now.

<PopUp></PopUp>

  • Should prevent itself from having any part of the pop-up go off-screen
  • Close based on distance outside of pop-up and on-click outside of pop-up (Clicking outside a pop-up should probably prevent event propagation)

birdddev avatar Feb 28 '24 20:02 birdddev

Combos/dropdowns are also using RevealUI and I was planning to make selectUI also use it; I want to polish RevealUI widget quite a lot, cause it's going to be a key component; really want to get it right; I was among other things planning to handling nested Reveal Properly too via react context and push/pop within a single root reveal state

rvion avatar Feb 28 '24 21:02 rvion

Should I rename <RevealUI> to <PopUp>/<PopUpUI> and then work from there? Making SelectUI use it as well.

birdddev avatar Feb 28 '24 21:02 birdddev