Commit Graph

117 Commits

Author SHA1 Message Date
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
nathan
308f371b95 Make select & tree dropdown have same border radius 2024-09-19 16:25:28 -06:00
nathan
c45246eac2 Et2TreeDropdown: search input has "search" as placeholder when it has focus 2024-09-19 16:07:12 -06:00
milan
26673f87fb fix type error if widget does not have div or body 2024-09-19 17:36:27 +02:00
nathan
62f876de12 Et2TreeDropdown: hide popup on escape 2024-09-18 14:05:58 -06:00
nathan
cfbcaf3bab Et2TreeDropdown: close search results & tree on tab 2024-09-18 11:32:12 -06:00
nathan
1294220e7e Et2TreeDropdown style fixes
- multiple display of placeholder
- vertical alignment of tags when there's only 1 row of them
2024-09-18 10:42:16 -06:00
nathan
a3c7237907 Et2TreeDropdown / Et2SelectCategory: Icons & category colors 2024-09-18 10:08:36 -06: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
nathan
b7160e6eaf Et2TreeDropdown: stop constantly listening for document clicks, only listen when open 2024-09-12 08:32:28 -06:00
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