aboutsummaryrefslogtreecommitdiff
path: root/static/components/popup-element.ts (unfollow)
Commit message (Collapse)Author
2021-11-21Rework popup components.Hugo Hörnquist
Previously popups were driven through some CSS hacks, which used labels with specific positioning, and z-index changes. This never really worked, and led the rest of the tree to be unmanagable. This commit replaces that system with a simpler one, which is being driven by javascript. This also allowed a much simpler tree, which allowed us to - make the popups rezisable (with a resize anchor) - move the window handle to above (configurable) - Add and remove tabs without having manually reflow where all labels are
2021-11-18Restore remove event functionality.Hugo Hörnquist
2021-11-15Fix calendar for popup.Hugo Hörnquist
2021-11-15Reword popup visible attribute.Hugo Hörnquist
Now all logic for handling hiding and showing popups are inside the PopupElement class, making it much harder to do stuff incorrectly. It also slowly releases the knot around popup.ts.
2021-11-10Re-modularize javascript.Hugo Hörnquist
This moves almost everything out of globals.ts, into sepparate files. Things are still slightly to tightly coupled. But that is worked on.