aboutsummaryrefslogtreecommitdiff
path: root/static/components/popup-element.ts (unfollow)
Commit message (Collapse)Author
2022-08-01Minor cleanup in TS files.Hugo Hörnquist
2022-04-12Fix edit popups not auto opening.Hugo Hörnquist
Depending an the exact text of an translatable string seems like a bad idea.
2021-12-12Merge draggable into popup-element.Hugo Hörnquist
2021-12-10Broke out setup of popup on event creation.Hugo Hörnquist
2021-12-10Popup maximize now procedure.Hugo Hörnquist
2021-12-10Remove popup.ts, migrating all functionality elsewhere.Hugo Hörnquist
The simple procedures - close_popup - open_popup - toggle_popup - find_popup Were mostly here for legacy. The procedures - popup_from_event - event_from_popup where holdovers from the old way of finding popups, and should be done through the VEvent objects now. close_all_popups was used only once, so the code was moved inline. Finally, moving the last hovered over popup to the top, along with tab switch keybings were restored, and moved to propper places.
2021-12-10Better handling of popup visibility.Hugo Hörnquist
2021-12-07Add fullscreen button to popups.Hugo Hörnquist
2021-11-30Rework tab system.Hugo Hörnquist
This sepparates popup-elements from their tabbed contents, allowing clearer sepparations of concerns, along with easier adding and removing of tabs to the tabset!
2021-11-29Change UID resolve.Hugo Hörnquist
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.