nathan
73a606f6ba
Et2Tree: When drag + hover over a leaf, only open it if it actually has children
2024-11-15 08:49:37 -07:00
nathan
1b3f6ea95d
Et2Tree: Stop doubled onclick call
2024-11-14 10:03:37 -07:00
nathan
f05c0880c0
Api: Fix Et2TreeDropdown lazy-load / initial load still conflicted after 2e469a00de
2024-11-12 13:59:19 -07:00
nathan
2e469a00de
Fix lazy load in Et2TreeDropdown emptied the tree
2024-11-05 11:42:19 -07:00
milan
66e222e035
added possibility to scroll Et2TreeDropdown on open to current selection.
...
-- set openAtSelection="true" attribute on the et2-tree-dropdown
-- use for timezone selection in preferences
-- regarding Ticket #97411
2024-10-31 13:41:10 +01: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
14bc21de98
Fix new account does not update but stays at "loading"
2024-10-15 14:57:19 -06:00
nathan
f654b4ee00
Mail: Fix issues adding email account
...
- Et2Tree.refreshItem() wrong return type
2024-10-09 09:43:39 -06:00
nathan
0add086707
Et2Tree: Add "unselectable" attribute to TreeItemData
...
unselectable=true is like disabled, in that the item cannot be selected, but if it has children it can still be expanded so children can be selected.
disabled=true cannot be expanded.
Also some restructuring due to method size
2024-10-08 15:13: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
2c196d3419
Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter
2024-09-30 13:58:31 -06:00
milan
b04d4b28b7
remove drag-drop hover effect on drop regarding #97141
2024-09-27 15:17:13 +02:00
milan
378ea11c6c
fix click on new mail account does not display unseen badges --ticket #99041
2024-09-26 16:09:28 +02:00
nathan
279952d6f6
Make sure Et2TreeDropdown always closes when a tree-item is clicked, even if tree value does not change
2024-09-20 09:19:34 -06:00
milan
26673f87fb
fix type error if widget does not have div or body
2024-09-19 17:36:27 +02:00
nathan
2da2ac81fa
Et2TreeDropdown improvements
...
- multiple=false rendering
- fix some display search vs tree weirdness
- fix some keyboard actions
- translate placeholder
- blur widget after option selected when multiple=false
- implement clearable attribute
2024-09-18 08:11:25 -06:00
milan
f4438ac59d
fix bug in tree where lazy loading without a result would never stop
2024-09-06 16:49:49 +02:00
nathan
dcece87c9c
Et2TreeDropdown: Better sizing & styling to more closely match select & other widgets
2024-09-05 14:56:54 -06:00
milan
986e83750c
bind overall tooltip only on the combobox and not on the whole popup.
...
The tree can now show its own tooltips without interference
2024-08-28 18:23:37 +02:00
nathan
0465465fb2
Et2Tree: Fix unneeded ellipsis in item label
2024-08-27 13:46:45 -06:00
ralf
3f80021c8e
fix wired icon-sized in tree (by defaulting img in et2-image to width: 16px and not max-width: 100%)
2024-08-27 12:25:36 +02:00
nathan
0f5a1a2b5a
Et2SelectCatagory: Fix missing category icons & colors
2024-08-26 11:37:59 -06:00
ralf
c18be4cf4d
do not return folders, if leafOnly is set and some more docu
2024-08-22 14:18:54 +02:00
milan
0605f6c2f5
LeafOnly selection of et2-tree now possible
...
et2-tree-dropdown can now also be leafOnly used e.g. in timezone preferences
2024-08-22 12:54:38 +02:00
milan
888f859097
cleanup tree and make Leaf Selection possible
2024-08-21 20:50:17 +02:00
ralf
67dedb7705
fix JS error if no image set in tree stalling projectmanager element-list and search
2024-08-07 10:15:29 +02:00
ralf
bd78cefa3e
fix not displayed images in tree in admin, as they already contained an absolute path or full url
2024-08-07 09:03:22 +02:00
milan
bfbf350cee
fix bug in Et2Tree where tree would not consider imagePath
2024-08-05 19:24:07 +02: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
8abe03af9f
changed Mail tree styling and added setClass(..) function to Et2Tree
2024-07-27 17:47:12 +02:00
milan
296dda44f1
fix wrong format for css comment used
2024-07-26 14:29:00 +02:00
milan
47cfe1ba39
Mail Tree visual changes according to ticket #95901
...
-- changed - Leaf image - hover background color
2024-07-26 13:22:48 +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
111bb27f34
refreshItem directly returns if the item is not currently displayed in the tree
2024-07-24 15:57:54 +02:00
milan
cb87d60427
Change color of parent of tree-hover to neutral color
2024-07-24 09:56:56 +02:00
nathan
64fd79b788
Et2Tree: Fix searching options did not search children properly
2024-07-23 16:13:58 -06:00
nathan
7559ae4f21
Switch some CSS colors from specific values to variables
2024-07-15 08:24:47 -06:00
ralf
833a9a1c4c
fix JS error leaving mail-tree in main window caused by not properly escaped single quotes when constructing a querySelector
2024-07-15 15:22:33 +02:00
milan
844eed2eee
MailFolders now have the correct icons, depending if they are open or closed
2024-07-11 17:12:01 +02:00
milan
c4a18fe896
increase et2-tree icon size by 2px in the new tree
2024-07-11 13:58:49 +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