Commit Graph

63 Commits

Author SHA1 Message Date
milan
c983cf4cc5 Added media Query to Et2Tree style to improve mobile display 2024-06-20 18:25:31 +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