-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use HTML Drag and Drop API [WIP] #771
base: master
Are you sure you want to change the base?
Commits on Nov 1, 2021
-
Use 'draggable' attribute to indicate allowable drag targets.
This follows the conventions of the HTML5 drag-and-drop API, and replaces the _extraAllowableChildTargets property.
Configuration menu - View commit details
-
Copy full SHA for c14a0f6 - Browse repository at this point
Copy the full SHA c14a0f6View commit details
Commits on Jan 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 397afe7 - Browse repository at this point
Copy the full SHA 397afe7View commit details -
Implement 'TitleRenderer' hook for tab titles.
This replaces the long-title branch and pull-request.
Configuration menu - View commit details
-
Copy full SHA for 39a7a04 - Browse repository at this point
Copy the full SHA 39a7a04View commit details
Commits on Jan 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c21f827 - Browse repository at this point
Copy the full SHA c21f827View commit details
Commits on Jan 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 39e9d77 - Browse repository at this point
Copy the full SHA 39e9d77View commit details
Commits on Jan 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c563877 - Browse repository at this point
Copy the full SHA c563877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e8cea9 - Browse repository at this point
Copy the full SHA 2e8cea9View commit details
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for de08994 - Browse repository at this point
Copy the full SHA de08994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b0b6d9 - Browse repository at this point
Copy the full SHA 6b0b6d9View commit details
Commits on Feb 2, 2022
-
In tryUpdateTabSizes update _lastVisibleTabIndex.
Some tweaks when really low on space and dropdownActive: Don't overlap tabs too much, unless needed for active tab.
Configuration menu - View commit details
-
Copy full SHA for 37cfe50 - Browse repository at this point
Copy the full SHA 37cfe50View commit details -
Initial support for using browser's Drag-and-Drop API
Numerous problems still to fix.
Configuration menu - View commit details
-
Copy full SHA for 4278be8 - Browse repository at this point
Copy the full SHA 4278be8View commit details
Commits on Feb 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54648fc - Browse repository at this point
Copy the full SHA 54648fcView commit details
Commits on Feb 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for de52a1d - Browse repository at this point
Copy the full SHA de52a1dView commit details
Commits on Feb 23, 2022
-
Catch iframe pointer-events in other top-level windows
When a drag starts we disable pointer-events in iframes so we can we can follow mouse and drag events. The complication is when the drag starts in one top-level window, but drag-over freedback and possible drop cn happen on other top-level windows. This change provides a event-hook that applications can use to notify other windows. Also some other minor tweaks.
Configuration menu - View commit details
-
Copy full SHA for 0681ecb - Browse repository at this point
Copy the full SHA 0681ecbView commit details
Commits on Mar 25, 2022
-
Add events to support drag to decktop (i.e. popout).
This uses new drag-enter-window and drag-leave-window events which can be used to track if pointer is in a window and hence whether drop was to a window or to desktop.
Configuration menu - View commit details
-
Copy full SHA for e2a9bb3 - Browse repository at this point
Copy the full SHA e2a9bb3View commit details
Commits on Apr 12, 2022
-
Usuallu typing Esc during a drag. Should restore pre-drag state.
Configuration menu - View commit details
-
Copy full SHA for d42455a - Browse repository at this point
Copy the full SHA d42455aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a0aab - Browse repository at this point
Copy the full SHA 64a0aabView commit details -
Configuration menu - View commit details
-
Copy full SHA for c62722f - Browse repository at this point
Copy the full SHA c62722fView commit details
Commits on Apr 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 27454a6 - Browse repository at this point
Copy the full SHA 27454a6View commit details
Commits on Apr 25, 2022
-
Pass extra DragEvent parameter to "dragExported" event
This is used to position windows after "drag-to-desktop".
Configuration menu - View commit details
-
Copy full SHA for 194f00a - Browse repository at this point
Copy the full SHA 194f00aView commit details
Commits on May 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 30423b4 - Browse repository at this point
Copy the full SHA 30423b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f537e8 - Browse repository at this point
Copy the full SHA 0f537e8View commit details
Commits on Jun 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 995f84e - Browse repository at this point
Copy the full SHA 995f84eView commit details
Commits on Jun 21, 2022
-
Btter border handling when using virtual components. Other changes.
Remove the lm_headers element and back the header children of the stack element. The is safe now that a moved tab is hidden but not removed until dragend. Create a lm_item child under lm_items for each component. This makes it easier to set position out-of-item-tree components even it lm_items has border and padding. Various related simplifications, including item.element is now always meaningful (the lm_item child of lm_items). We can ignore contentInset setting in position calculations; instead we just use it to set item margin. Remove VIRTUAL_ELEMENT_DUMMY static - just use undefined. New contentItem.createElement convenience function.
Configuration menu - View commit details
-
Copy full SHA for 7f2502e - Browse repository at this point
Copy the full SHA 7f2502eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e818016 - Browse repository at this point
Copy the full SHA e818016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0aba6 - Browse repository at this point
Copy the full SHA 0e0aba6View commit details
Commits on Jun 23, 2022
-
Changes to splitter to work better for transparent windows
Add a "background" child of the lm_splitter element. Make the background wider than the splitter, but use negative z-index. On dragging move the drag-handle only.
Configuration menu - View commit details
-
Copy full SHA for f291f25 - Browse repository at this point
Copy the full SHA f291f25View commit details
Commits on Jun 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e16d316 - Browse repository at this point
Copy the full SHA e16d316View commit details
Commits on Jul 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be4a682 - Browse repository at this point
Copy the full SHA be4a682View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5bca25 - Browse repository at this point
Copy the full SHA a5bca25View commit details
Commits on Aug 10, 2022
-
Fix race condition between requestAnimationFrame and dragenter.
We would sometimes get a race where the dragenter would be called before we removed/hid the dragged component in the requestAnimationFrame (called by the dragstart handler). This could cause calculateItemAreas to be wrong.
Configuration menu - View commit details
-
Copy full SHA for dcd1c55 - Browse repository at this point
Copy the full SHA dcd1c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for c580de7 - Browse repository at this point
Copy the full SHA c580de7View commit details -
New constructor GoldenLayout(config, container, position)
This allows more flexible positioning of lm_goldenlayout element. For example it can follow a titlebar or menubar without neeeding to be nested in an extra container. Also nest droptarget-indicator within lm_goldenlayout element, to avoid less clutter in the top-level body.
Configuration menu - View commit details
-
Copy full SHA for 42c6f25 - Browse repository at this point
Copy the full SHA 42c6f25View commit details
Commits on Aug 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6195d2f - Browse repository at this point
Copy the full SHA 6195d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5efae74 - Browse repository at this point
Copy the full SHA 5efae74View commit details
Commits on Aug 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a13de43 - Browse repository at this point
Copy the full SHA a13de43View commit details
Commits on Oct 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 37ec5ad - Browse repository at this point
Copy the full SHA 37ec5adView commit details
Commits on Nov 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2954170 - Browse repository at this point
Copy the full SHA 2954170View commit details
Commits on Feb 2, 2023
-
make drag-end work better using timing heuristics.
Also make old non-drag logic (if useDragAndDrop is false) work again.
Configuration menu - View commit details
-
Copy full SHA for afd9a09 - Browse repository at this point
Copy the full SHA afd9a09View commit details
Commits on Feb 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0c9382d - Browse repository at this point
Copy the full SHA 0c9382dView commit details