Commit Graph

106 Commits

Author SHA1 Message Date
nathan
cc8f060cdd CSS changes to make Et2TreeDropdown multiple=false look more like regular selectbox 2024-09-10 08:49:14 -06:00
nathan
26b1431c31 Et2TreeDropdown: Ellipsis on tags 2024-09-09 09:46:43 -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
ralf
51e7269d88 using bootstrap icons as stock icons for categories (former api/images) and allow to search arbitrary bootstrap icons when adding/editing categories
also fixed error editing categories in the root ('0' is not allowed validation message)
2024-09-05 18:00:18 +02:00
nathan
b34fec2363 Et2TreeDropdown: Fix dropdown trigger got hidden if placeholder was larger than available space 2024-08-29 13:54:47 -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
e6593a101b Et2TreeDropdown: Make minimum height the same as other inputs
Fixes Et2Dropdown was a little too tall
2024-08-26 14:12:36 -06:00
nathan
0f5a1a2b5a Et2SelectCatagory: Fix missing category icons & colors 2024-08-26 11:37:59 -06:00
ralf
dacd2e0c94 display emptyLabel as placeholder, until non-multiple UI is more selectbox like 2024-08-25 11:02:12 +02:00
milan
f683947836 changed tree-dropdown popup strategy to fixed to avoid auto resizing issues 2024-08-22 16:48:27 +02:00
ralf
38ae6e4408 fix some warnings 2024-08-22 14:35:36 +02:00
ralf
c18be4cf4d do not return folders, if leafOnly is set and some more docu 2024-08-22 14:18:54 +02:00
milan
3e577c738f changed Et2SelectCategory to be the Et2TreeDropdownCategory and and removed theold one 2024-08-22 14:18:29 +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
4ba8866d9c Dropdown tree now has leafOnly property to pass on to et2-tree 2024-08-22 10:52:41 +02:00
milan
8de6bd0c25 possibility to replace et2-select-cat with et2-tree-cat 2024-08-21 20:50:17 +02:00
milan
888f859097 cleanup tree and make Leaf Selection possible 2024-08-21 20:50:17 +02:00
milan
bca9931fba cat tree for selection of categories fix if value is not a string 2024-08-21 13:06:59 +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
nathan
d8d9847012 Fix Et2TreeDropDown did not properly handle required 2024-07-26 10:16:49 -06: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
28db39c18e Fix dropdown tree search
Was constantly re-setting search term & dropdown
2024-07-10 13:13:55 -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
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
a22ef1a268 remove unused Et2MultiselectTree.ts 2024-03-28 19:49:19 +01: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