Commit Graph

176 Commits

Author SHA1 Message Date
nathan
49a706ec50 Implement actions on Et2Widget 2024-11-14 15:15:55 -07:00
nathan
eb105dfad4 Fix Et2Tree dragging of tree items 2024-10-18 13:28:57 -06:00
nathan
3f08f38913 Fix tree drag & drop hover kept items highlighted, marked as selected 2024-10-16 11:36:23 -06:00
nathan
1c06e6864d More changes related to getting tree to handle actions on its leaves
- Fix action system selection vs tree
2024-10-07 13:31:28 -06:00
nathan
1379855543 Further fixes on tree actions
- Fix expand on hover
- Fix trouble with dragging over item children
2024-10-03 10:58:36 -06:00
nathan
557e5bd236 Further fixes on actions
- fixed some duplicate binding causing long delay on tree context menu & general weirdness
- remove some unneeded stuff
2024-10-02 15:31:52 -06:00
nathan
1e277b2460 Fix tree context menu on server-loaded branches 2024-10-01 14:31:05 -06:00
nathan
2c196d3419 Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter 2024-09-30 13:58:31 -06:00
ralf
80b19980bc Et2Image fixes:
- fix EgwMenuShoelace to show bootstrap icons by using bootstap-icons.ts CSS in it's styles()
- Et2Image size internal img tag, if no bootstrap icon, to size of et2-image
- Et2Image width or height are set on itself
2024-08-15 20:23:53 +02:00
ralf
ef04ac9099 remove no longer used dhtmlx drag-drop stuff 2024-08-14 14:28:14 +02:00
ralf
5ea8f27d9d remove flipFallback(Placement|Strategy) as we get a better/working placement without
now clicks close to right end of the window open to the left (and not outside as before)
2024-08-13 15:53:00 +02:00
milan
85137fd4d7 EgwMenuShoelace on checkboxes use a toggle icon to indicate checked state instead of an icon 2024-08-09 14:28:14 +02:00
nathan
2bdde5dc61 Context menu checkbox changes
- Make sure check item does not close sub-menu
- Use different icons ☐/☑ instead of shoelace's check
2024-08-07 13:21:39 -06:00
milan
c4e674d177 do not skip handleSelect on sub-menu click 2024-08-07 15:38:23 +02:00
nathan
5f2aba2af9 Fix context menu "Copy ..." of text contents 2024-08-01 10:36:17 -06:00
nathan
0c2f211ada Fix some tree / drag & drop issues
- tree drop wouldn't work on newly added folders
- tree drop actions sometimes targeted a parent leaf
- flickering on drop hover
2024-07-31 09:52:24 -06:00
milan
357551c7a2 javascript error on non existing nodeToUse 2024-07-26 12:31:56 +02:00
milan
b3e9e50af0 fix for string displayed at copy ... because innerText is not correct with recursive sl-tee-items anymore with new event-Handler binding 2024-07-26 12:03:19 +02:00
milan
6271f71a12 Et2Tree now only binds on eventhandler for contextmenu and one for default instead of binding one for every item
-- EgwPopupActionImplementation now only binds one Handler iff FindActionTarget is implemented and actionObjectInterface has attribute tree set. This is only the case for EgwDragDropShoelaceTree
2024-07-25 15:37:28 +02:00
milan
d5ffc615af cleanup EgwDragDropShoelaceTree.ts
-- use class ... extends ... instead of constructor returning different object
2024-07-25 14:24:57 +02:00
milan
2e3be2b1b7 egwActionObjectInterface now has empty object handlers on default 2024-07-25 14:21:32 +02:00
nathan
b2132c089d Calendar: Drag & drop working for normal view 2024-07-22 16:08:44 -06:00
nathan
d4ecde3ce9 Bigger border on context menu 2024-07-17 10:10:24 -06:00
ralf
9388a8f930 better placement and a little bigger line-height 2024-07-16 21:37:30 +02:00
ralf
b26c7815b1 implement new action attribute color, to specify a color for the caption, instead of the default color 2024-07-16 20:37:56 +02:00
ralf
a670644ad7 remove dhtmlxMenu in favor of Shoelace menu 2024-07-12 09:02:03 +02:00
nathan
54c3252c45 Change shoelace contextmenu style & position
- Reduced line height
- Align labels with/without icon
- Position to side when there's insufficient space above / below
2024-07-11 16:39:28 -06:00
nathan
5fed37087b Fix Shoelace context menu did not properly hide on Esc / click out 2024-07-10 10:10:23 -06:00
nathan
40a7ef6e6b Fix drag & drop error "Cannot read properties of undefined" 2024-07-05 08:42:50 -06:00
nathan
96877abde6 Tree / Action changes
- Remove dragover action handling, it takes too much time and we do nothing with it (use dragenter)
- Fix unregistering actions did not remove eventListeners
- Fix multiple binding of actions in Et2Tree
2024-07-04 13:28:25 -06:00
nathan
615db7683b Api: Fix nm autorefresh breaks in-progress drag & drop 2024-07-03 10:50:47 -06:00
milan
198fabe15e improve performance for tree DragDrop 2024-06-27 17:05:12 +02:00
nathan
ba3aa1c4b5 EgwMenuShoelace bugfixes
- Fix menu does not do action
- Fix menus accumulate in DOM
2024-06-17 09:26:10 -06:00
nathan
45881e0505 Add egw menu implementation using shoelace, use it for kdots framework 2024-06-14 16:22:31 -06:00
milan
99af186a01 expanding a folder on mobile is now possible again
-- regarding #91431
2024-04-18 18:19:53 +02:00
nathan
15eab33bfb Fix input widgets were not properly ignored for action key handling 2024-04-12 10:22:49 -06:00
milan
4077d48491 fix onClick of tree for mobile 2024-04-05 14:13:34 +02:00
nathan
335f618736 Api: Add a paste button to et2-link-to widget
Paste lets you link filemanager files previously put into the clipboard via filemanager context menu
2024-03-20 14:29:36 -06:00
nathan
e228355809 Fix nested action targets (like tree leaves) could cause multiple drag events due to event bubbling 2024-02-28 08:59:20 -07:00
milan
f5476ef133 highlight current target on DragDrop 2024-02-21 16:13:51 +01:00
milan
d1e8a702c0 adding delay of 2sec to expand folder on DragDrop
-- regarding Ticket: 91581
2024-02-21 09:36:56 +01:00
milan
9feac8d3c3 adding expand folder on DragDrop
-- regarding Ticket: 91581
2024-02-15 16:16:59 +01:00
Milan
206fb0dd4b getNode and getDomNode refactoring for compatibility 2024-02-08 22:22:09 +01:00
Milan
2e617c2f47 Et2Tree.ts and Et2MultiselectTree.ts
Sl-Tree
2024-02-08 21:54:42 +01:00
Milan
96760511ea EgwAction changes to suit Sl-Tree 2024-02-08 21:54:42 +01:00
Milan
8750a9801c deactivated autofocusing of a mail on "del" key press 2024-02-08 20:45:10 +01:00
nathan
b03dac3032 Fix drag of non-sequential rows in Firefox
When selecting multiple rows with Ctrl, drag would not work
2023-12-06 11:32:09 -07:00
nathan
1bc26101cd Fix default drag & drop helper did not work well with webcomponents
It doesn't let us do async, so was not waiting for widgets to be updated
2023-11-03 16:13:45 -06:00
nathan
4a7f775a97 Hide tooltips when context menu opens 2023-09-13 14:05:50 -06:00
milan
9cfb44529f cleanup for backport to 23 2023-08-09 17:18:28 +02:00