ralf
928eed8c69
fix JS error leaving mail-tree in main window caused by not properly escaped single quotes when constructing a querySelector
2024-07-15 15:23:25 +02:00
milan
a7866e28c0
MailFolders now have the correct icons, depending if they are open or closed
...
(cherry picked from commit 844eed2eee
)
2024-07-11 17:39:32 +02:00
milan
21ffb46658
increase et2-tree icon size by 2px in the new tree
...
(cherry picked from commit c4a18fe896
)
2024-07-11 17:39:26 +02: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
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
762a18e711
Fix Et2TreeDropdown context menu actions & missing validation error
2024-02-27 11:22:55 -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
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
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
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
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
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
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
cf8de8f108
Et2Tree: Avoid error if onclick property was not set
2024-02-13 10:41:27 -07:00