Commit Graph

138 Commits

Author SHA1 Message Date
milan
69b17bb50c Revert "make expand folder easier to click"
This reverts commit abf1c384f4.
2024-11-21 18:07:19 +01:00
milan
abf1c384f4 make expand folder easier to click 2024-11-21 17:20:42 +01:00
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
nathan
49be819828 Keep dropdown tree open when action context menu opens 2024-11-05 10:13:30 -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
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