Commit Graph

149 Commits

Author SHA1 Message Date
ralf
e6b04ac996 do not require kdots in 23.1 2024-07-08 09:48:17 +02: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
milan
b9a723a16f fix use selection instead of drag/drop while pressing crt/alt
egwPreventSelect on mousedown seems to be no longer necessary in nextmatch
2023-08-09 16:56:15 +02:00
hadi
3dbdbc0596 Fix click handling on grid's row no longer works 2023-07-28 15:21:09 +02:00
Milan
0dd7616c5e egw_action copy fixes regarding ticket 84314 2023-07-20 16:40:22 +02:00
Milan
4727b40329 Merge remote-tracking branch 'origin/master' 2023-07-14 15:50:17 +02:00
Milan
b00371c7e1 WIP egw_action copy fixes
paste not working
2023-07-14 15:37:20 +02:00
ralf
40a4d38776 fix not translated context menu
window.egw with a reference to the main window in a popup, egw(_app, window) gives one with correct window context / translation in a popup (_app does not matter for translations, they are requested to be loaded from server-side)
2023-07-14 10:41:48 +02:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
hadi
9c4d1a9fb7 Let the contextmenu be activated from tapandhold in regular template in order to be able to get the contextmenu in some touch devices 2023-06-09 10:44:26 +02:00
hadi
8e0a3a2755 Fix swipe and popup contextmenu being triggered accidentally in touch devices 2023-06-01 15:28:42 +02:00
hadi
1d7d73e8e7 Add more hints for file drag out 2023-05-22 16:46:43 +02:00
hadi
58fd61ad31 Cleanup hover color after drag action ended 2023-05-22 11:45:17 +02:00
hadi
d4e9de9cfa Fix typo 2023-05-17 16:31:11 +02:00
hadi
65eff6de91 * Filemanager: Fix drag out files to desktop 2023-05-17 14:19:51 +02:00
hadi
104ecb2732 Make sure that we are literally marking the row's content before deactivating drag action 2023-05-10 14:56:53 +02:00
hadi
6588759497 Fix typo related to the commit 8e8c664e95 2023-05-03 15:33:23 +02:00
hadi
8e8c664e95 Fix broken 3dots menu for nm in mobile theme 2023-05-02 18:53:42 +02:00
hadi
69e06ca501 Make content marking possible on nm rows 2023-04-24 14:52:07 +02:00
hadi
2e570a0343 Fix toolbar actions not getting their icons displayed when the toolbar is being opened from its none origin apps 2023-04-19 17:50:57 +02:00
nathan
ce141fa152 Disable file drag and drop so normal drag and drop in filemanager works properly 2023-02-27 11:17:23 -07:00
Hadi Nategh
68fdb1b985 Revert "changes to get old eTemplate apps like KnowledgeBase working in 23.1"
This reverts commit d816d837cd.
2023-02-21 13:02:23 +01:00
ralf
d816d837cd changes to get old eTemplate apps like KnowledgeBase working in 23.1
makes some more symbols global again in one block at the end of the files
2023-02-09 14:17:24 +01:00
nathan
2659a8ab63 Filemanager: Add copy to clipboard button to share link dialog 2022-10-28 10:05:03 -06:00
ralf
006199a199 Hopefully fix context for action system applyFunc call 2022-10-10 18:13:24 +02:00
Hadi Nategh
a015217f83 Revert commit 03fdceb847 causes breaking action system 2022-10-10 12:00:43 +02:00
ralf
a0471e1ad1 use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too
Setting now NO context for applyFunc so app objects are used/created in global context/window.
This reverts commit 330461c28b.
2022-10-09 13:34:37 +02:00
ralf
99e0b178ee Revert "Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too""
This reverts commit 330461c28b.
2022-10-09 13:30:59 +02:00
nathan
330461c28b Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too"
This reverts commit 03fdceb847.
2022-10-07 14:08:32 -06:00