Commit Graph

68 Commits

Author SHA1 Message Date
milan
57fcc04fb0 fix bug in tree where lazy loading without a result would never stop
(cherry picked from commit f4438ac59d)
2024-09-12 11:59:57 +02:00
ralf
c83fd49f20 fix JS error if no image set in tree stalling projectmanager element-list and search 2024-08-07 10:16:17 +02:00
ralf
5b5f567e97 fix not displayed images in tree in admin, as they already contained an absolute path or full url 2024-08-07 09:03:59 +02:00
milan
5a021bdae8 fix bug in Et2Tree where tree would not consider imagePath 2024-08-06 15:41:59 +02:00
nathan
0425157270 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 19:29:28 +02:00
milan
7f3520d348 changed Mail tree styling and added setClass(..) function to Et2Tree 2024-07-29 19:34:08 +02:00
milan
ec5b853774 fix wrong format for css comment used 2024-07-29 19:33:34 +02:00
milan
e81c45dc95 Mail Tree visual changes according to ticket #95901
-- changed - Leaf image - hover background color
2024-07-29 19:33:34 +02:00
milan
ac8775115f 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-29 19:31:48 +02:00
milan
ba40b800d8 Change color of parent of tree-hover to neutral color 2024-07-29 19:29:38 +02:00
nathan
792b15ef1e Switch some CSS colors from specific values to variables 2024-07-29 19:28:05 +02:00
milan
e12c055ff9 refreshItem directly returns if the item is not currently displayed in the tree 2024-07-24 09:03:41 -06:00
nathan
085c338de3 Et2Tree: Fix searching options did not search children properly 2024-07-24 09:02:53 -06:00
ralf
928eed8c69 fix JS error leaving mail-tree in main window caused by not properly escaped single quotes when constructing a querySelector 2024-07-15 15:23:25 +02:00
milan
a7866e28c0 MailFolders now have the correct icons, depending if they are open or closed
(cherry picked from commit 844eed2eee)
2024-07-11 17:39:32 +02:00
milan
21ffb46658 increase et2-tree icon size by 2px in the new tree
(cherry picked from commit c4a18fe896)
2024-07-11 17:39:26 +02: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
milan
445ec9a318 small padding adjustment for clickable area 2024-06-27 15:01:11 +02:00
milan
7262028539 expanding Tree folder now works everywhere left of the label
--fixes expand bug
2024-06-27 14:48:41 +02:00
milan
f9be01774d Added media Query to Et2Tree style to improve mobile display and made expanding/collapsing of folders easier on mobile 2024-06-20 18:29:33 +02:00
ralf
16d42c69c5 exclude Et2.*(Readonly|Mobile) components from documentation:
- renamed Et2DateSinceReadonly to Et2DateSince as there is no non-readonly class
- enhance getSlClass() in cem.js to also return regular Et2 class, if there is no readonly one
- replace ? in since tag with 23.1 and added @since 23.1.x to Tree widgets (somehow not parsed!)
- updated etemplate2.0.(dtd|rng)
2024-06-18 11:09:06 +02:00
ralf
9974b35420 fix TypeError for numeric _id 2024-06-07 11:55:33 +02:00
ralf
731a9d91af implement not strictly linked multiselect tree by using sl-tree selection="single" and sl-tree-item.selection:
- instead of showing checkboxes, we use the sl-tree-item.selection marker (blue left border) to show the multi-selection and sl-tree sl-selection-change event to set the value accordingly
- implement Et2Tree.setSubChecked(_id, _value) to allow apps to (un)check a hierarchy onclick of parent, still allowing to (un)select single children
- also change several tree methods to return the updateComplete promise to use in mail app.js instead of window.setInterval() to wait for tree loading
2024-04-22 16:52:47 +02:00
ralf
b0ae93155e fixing more issues in mail around tree: folder-management and subscription dialog 2024-04-16 14:23:30 +02:00
ralf
a14109d9c6 fix clicking on expand icon (> or v) was triggering an onclick / reloading mail folder 2024-04-11 18:45:25 +02:00
milan
6e69f35fdc Introduces performance Issues hotfix to get Ids on later opened Items working 2024-04-05 16:18:38 +02:00
milan
3cc5d910b8 click on tree-item now triggers the onclick event --- previous it was only triggered on change of folder 2024-03-28 19:45:13 +01:00
nathan
91f70e354d Stop using hardcoded default of 100 for search
Now using max of maxmatches preference and 100
2024-03-20 16:50:52 -06:00
milan
a61dfb8d0c improve performance by calling _link_actions way less often 2024-03-14 18:24:01 +01:00
milan
8bef376c5c changed unread badge styling and removed installHandler() unused function 2024-03-14 17:54:41 +01:00
milan
0057d92c9c fixed a bug where no currently selected Item was set, when onChange has not been called yet 2024-03-14 15:56:16 +01:00
milan
0260b8723a reduceCounter fix for badges in Mail tree v2 2024-03-07 17:35:51 +01:00
milan
8056460464 cleanup autoloading and autoloading_url 2024-03-07 17:07:14 +01:00
milan
9b5412a494 reduceCounter fix for badges in Mail tree 2024-03-07 17:00:51 +01:00
milan
556757ae5d change tree attribute to be called badge 2024-03-07 16:25:07 +01:00
milan
a572815fdb fix for ticket 91761
-- get correct account Id now
2024-03-07 14:46:00 +01:00
milan
1d591d5d2b change unread badge to red 2024-03-07 14:18:55 +01:00
milan
b6803b42c6 add unread counter for mails.
style is not perfect yet. Wait for shoelace response for a designated slot
2024-03-07 14:14:06 +01:00
ralf
0287ce0e0d fix getValue() 2024-03-06 18:20:07 +02:00
milan
317f2fdbb9 fix getValue() for single tree 2024-03-06 16:27:30 +01:00
nathan
7fc73f4c38 Et2TreeDropdownCategory: Get category colors working 2024-02-28 14:59:39 -07:00
nathan
6eba414ce8 Et2Tree: Fix first node was always opened
Now respecting what's sent in data
2024-02-28 08:59:20 -07:00
nathan
762a18e711 Fix Et2TreeDropdown context menu actions & missing validation error 2024-02-27 11:22:55 -07:00
nathan
abc25683af Fix tree showed leaf as selected on partial ID matches
eg: 6, 60 & 600 would all be selected if value is "6"
2024-02-26 15:19:41 -07:00
nathan
a9a26ffe39 Implement local search in SearchMixin & for Et2TreeDropdown
Add ability for SearchResult to have children
2024-02-23 10:49:16 -07:00
milan
81a8432429 fixed lazy calculation in Tree
-- child == 1 and no item means lazy loading is needed
2024-02-23 08:53:13 +01:00
milan
8ffbff03da Et2MultiselectTree.ts no longer needed --cleanup WIP
Improve subscribeFolder Tree WIP
2024-02-21 20:45:50 +01:00
milan
f5476ef133 highlight current target on DragDrop 2024-02-21 16:13:51 +01:00
milan
ca78e05b6e Fix error when deleting Mail 2024-02-21 10:05:45 +01:00
nathan
d5b7ec50d2 Et2Tree: Stop tree item labels from wrapping, they now show ellipsis instead 2024-02-16 11:57:22 -07:00