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
nathan
91f70e354d
Stop using hardcoded default of 100 for search
...
Now using max of maxmatches preference and 100
2024-03-20 16:50:52 -06:00
milan
a61dfb8d0c
improve performance by calling _link_actions way less often
2024-03-14 18:24:01 +01:00
milan
8bef376c5c
changed unread badge styling and removed installHandler() unused function
2024-03-14 17:54:41 +01:00
milan
0057d92c9c
fixed a bug where no currently selected Item was set, when onChange has not been called yet
2024-03-14 15:56:16 +01:00
milan
0260b8723a
reduceCounter fix for badges in Mail tree v2
2024-03-07 17:35:51 +01:00
milan
8056460464
cleanup autoloading and autoloading_url
2024-03-07 17:07:14 +01:00
milan
9b5412a494
reduceCounter fix for badges in Mail tree
2024-03-07 17:00:51 +01:00
milan
556757ae5d
change tree attribute to be called badge
2024-03-07 16:25:07 +01:00
milan
a572815fdb
fix for ticket 91761
...
-- get correct account Id now
2024-03-07 14:46:00 +01:00
milan
1d591d5d2b
change unread badge to red
2024-03-07 14:18:55 +01:00
milan
b6803b42c6
add unread counter for mails.
...
style is not perfect yet. Wait for shoelace response for a designated slot
2024-03-07 14:14:06 +01:00
ralf
0287ce0e0d
fix getValue()
2024-03-06 18:20:07 +02:00
milan
317f2fdbb9
fix getValue() for single tree
2024-03-06 16:27:30 +01:00
nathan
7fc73f4c38
Et2TreeDropdownCategory: Get category colors working
2024-02-28 14:59:39 -07:00
nathan
6eba414ce8
Et2Tree: Fix first node was always opened
...
Now respecting what's sent in data
2024-02-28 08:59:20 -07:00
nathan
6727df5d39
Et2TreeDropdown: No need to keep small search size, it's hidden when we don't want it
2024-02-28 08:59:19 -07:00
nathan
762a18e711
Fix Et2TreeDropdown context menu actions & missing validation error
2024-02-27 11:22:55 -07:00
nathan
7f8e62e915
Et2TreeDropdown: Pass actions on to tree
2024-02-26 17:03:57 -07:00
nathan
0f139fb257
Et2TreeDropdown: Single value tag takes full width
2024-02-26 16:54:07 -07:00
nathan
abc25683af
Fix tree showed leaf as selected on partial ID matches
...
eg: 6, 60 & 600 would all be selected if value is "6"
2024-02-26 15:19:41 -07:00
nathan
daf69d0040
Fix suffix positioning
2024-02-23 11:01:06 -07:00
nathan
46836dff66
No need for server-side searching, we can use localSearch()
2024-02-23 10:53:03 -07:00
nathan
a9a26ffe39
Implement local search in SearchMixin & for Et2TreeDropdown
...
Add ability for SearchResult to have children
2024-02-23 10:49:16 -07:00
milan
81a8432429
fixed lazy calculation in Tree
...
-- child == 1 and no item means lazy loading is needed
2024-02-23 08:53:13 +01:00
nathan
b0e8666ecb
Implement searching in Et2TreeDropdown
2024-02-22 14:33:22 -07:00
milan
8ffbff03da
Et2MultiselectTree.ts no longer needed --cleanup WIP
...
Improve subscribeFolder Tree WIP
2024-02-21 20:45:50 +01:00
milan
f5476ef133
highlight current target on DragDrop
2024-02-21 16:13:51 +01:00
milan
ca78e05b6e
Fix error when deleting Mail
2024-02-21 10:05:45 +01:00
nathan
ab27bcd823
Et2TreeDropdown: Document slots
2024-02-20 09:56:29 -07:00
nathan
d5b7ec50d2
Et2Tree: Stop tree item labels from wrapping, they now show ellipsis instead
2024-02-16 11:57:22 -07:00
nathan
fd52ed1ffe
Fix missing admin default icons, tree icons had to be in dhtmlxtree
2024-02-16 11:06:39 -07:00
nathan
48ed89b76f
Update from changes in cce0ab57fa
2024-02-16 09:59:04 -07:00
nathan
cce0ab57fa
Et2Tree: Get all admin tree leaf actions working
2024-02-16 08:59:11 -07:00
nathan
4b8d36c09f
Et2Tree autoload
...
- Autoload when initial options are empty (calendar PM integration)
- Autoload when nodes are marked as open, but no children were provided
2024-02-15 16:16:25 -07:00
nathan
976c5261a9
Get tree working in admin
2024-02-15 14:32:40 -07:00
nathan
79bcabc888
Get tree working in projectmanager
2024-02-15 13:46:27 -07:00
nathan
a076aba728
Fix Et2Tree loses initial value
...
getValue() needs to give back what is set by set_value() or whatever, even if the tree has not rendered yet.
2024-02-15 13:46:27 -07:00
nathan
a60299e114
Get category icons working
2024-02-15 10:41:40 -07:00
nathan
bebd121b60
Show leaf path as title/tooltip
2024-02-15 10:35:06 -07:00
nathan
ff4988b41e
Split dropdown category tree into its own file, get colors working in tags
2024-02-15 10:13:01 -07:00
milan
718e924f91
62d9c222b6
introduced bug --> drag drop stopped working, because actions were no longer linked --- reverted this change
2024-02-15 16:13:09 +01:00
nathan
2bbac91254
Et2TreeDropdown fixes
...
- Fix ID / tag could be doubled by selecting the same tree node multiple times
- Fix global categories had their marker escaped
2024-02-14 15:26:39 -07:00
nathan
5f26b940e3
Et2Tree: Avoid some errors on first leaf selection
2024-02-14 11:29:08 -07:00
nathan
27418ec0f4
Et2Tree: Fix getUserData() did not return the data
...
Find callback did not return, so never matched
2024-02-14 11:18:15 -07:00
nathan
8b21d21291
Et2TreeDropdown: server round-trip working
2024-02-14 10:43:05 -07:00
ralf
af7b4658e7
fix unset this._currentOption prevents folder-change in mail, maybe it would be better to properly initialise this._currentOption
2024-02-14 11:19:41 +02:00
nathan
62d9c222b6
Just get it working WIP
...
- Fix category tree structure
- Switch on tree multiple
probably lots of bugs still, looks like we may have to do click on tree = add / remove and not show the value after all
2024-02-13 17:15:23 -07:00
nathan
6fa102dfc5
Get Et2MultiselectTree loading without errors
2024-02-13 11:15:37 -07:00
nathan
cf8de8f108
Et2Tree: Avoid error if onclick property was not set
2024-02-13 10:41:27 -07:00
nathan
51f23a0dcf
Et2TreeDropdown
...
- Better handling of horizontal space
- Single select closes dropdown immediately
- Selecting tree item actually changes value
2024-02-13 10:40:00 -07:00
nathan
c53e122564
Et2TreeDropdown: Add some keyboard interactions
2024-02-13 10:32:36 -07:00
nathan
94a32d2800
Et2TreeDropdown WIP
...
Initial commit. Sort of works.
2024-02-13 10:32:36 -07:00
nathan
b9f0ef7c41
Get tree widget working on its own
2024-02-13 10:32:33 -07:00
Milan
2ddfb6a596
fix opened folders
...
fix for #91431
--2. one level too much is opened in mail, see screenshot
2024-02-12 23:17:27 +01:00
Milan
206fb0dd4b
getNode and getDomNode refactoring for compatibility
2024-02-08 22:22:09 +01:00
Milan
2e617c2f47
Et2Tree.ts and Et2MultiselectTree.ts
...
Sl-Tree
2024-02-08 21:54:42 +01:00