Commit Graph

130 Commits

Author SHA1 Message Date
nathan
21aec1a93d Et2TreeDropdown: Fix readonly & disabled styles
Still allowed dropdown, and did not look disabled
2024-10-30 11:31:58 -06: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
3376ed3fc4 Et2TreeDropdown: Open option list on space 2024-10-10 10:35:50 -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
9f90aaf085 Et2TreeDropdown: Don't need to blur all the time 2024-10-08 08:21:24 -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
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