monxa
e68e0236e9
Improve performance for TreeSearch ( #1 )
...
* Improve TreeSearch performance.
Experimental, hence this is on a different branch.
This commit vastly improves performance by not updating the tree
for search mask changes.
Relates to: https://github.com/limbonaut/limboai/pull/229
* Fix SearchTree overdraw after performance optimization
* Manage Performance optimizations: TreeSearch no. 2
- Carefully manage callable_cache
- Only clear filter when previously filtered
- Reintroduce sorting for ordered_tree_items
This commit addresses performance issues in TreeSearch and fixes
a critical bug where ordered_tree_items was not being sorted.
The bug was introduced during a merge with the main feature branch.
* Use queue_redraw as much as possible for Tree updates.
* Fix TreeSearch after performance considerations
2024-09-29 14:50:07 +02:00
Alexander Montag
329e90dfc6
Rename TreeSearch::notify_item_edited
...
Also: Run clang-format. Remove comment.
2024-09-28 17:46:29 +02:00
Alexander Montag
9a1641e8ab
Move TreeSearch::update_tree in TaskTree from update_tree
...
Catches all cases where the tree is modified. Also those, where for example the tab is switched.
2024-09-27 15:24:14 +00:00
Alexander Montag
47706e9480
Make TreeSearch::search_panel private and fix nulltpr
2024-09-27 17:08:04 +02:00
Alexander Montag
af15dde4c8
Simplify signals of TreeSearchPanel
2024-09-26 07:53:02 +02:00
Alexander Montag
b8259c6ee7
Address memory leak
2024-09-25 19:47:28 +02:00
Alexander Montag
18a6bbeae6
Implement filtering for TreeSearch
2024-09-25 19:47:28 +02:00
Alexander Montag
b4974bffd2
Run clang-format
2024-09-25 19:47:28 +02:00
Alexander Montag
a80b737319
Implement tree search: highlighting
2024-09-25 19:47:28 +02:00
Alexander Montag
7c4a462a69
Add ui for Tree search
2024-09-25 19:47:28 +02:00
yds
4df6647a75
Improve multiple drag and drop
2024-09-14 11:22:52 -03:00
yds
1742018696
Preserve selection after drop
2024-09-13 09:04:18 -03:00
yds
a460c7898b
Add drag preview
2024-09-13 09:04:18 -03:00
yds
8ee3688da2
Implement task multiple selection and drag and drop
2024-09-13 09:04:18 -03:00
Wilson E. Alvarez
8f294ac5ea
Migrate to Tree::set_custom_draw_callback
...
Due to upstream change:
a32a2eaedc
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez
9410031d45
Fix upstream EditorScale header locations
...
Due to upstream change:
4b55c81eba
2024-06-29 14:52:05 -04:00
Serhii Snitsaruk
c76278b735
Fix task tree warnings column always taking up space
2024-06-10 08:26:18 +02:00
Serhii Snitsaruk
d6076d131f
Fix folding/unfolding selected composite task is not working
2024-06-06 12:58:18 +02:00
Serhii Snitsaruk
9e0489a034
Editor: Tab button to inspect blackboard plan
2024-05-28 11:16:37 +02:00
Serhii Snitsaruk
e0d47ddf08
Fix closing last tab leads to crash on exit
2024-05-27 15:36:17 +02:00
Serhii Snitsaruk
12fd9d00d6
Update file headers and fix whitespace
2024-03-21 21:38:57 +01:00
Serhii Snitsaruk
4c26583007
Remove "p_" from the argument names in the `ClassDB` bindings
2024-03-04 21:36:16 +01:00
Serhii Snitsaruk
3e32051791
Editor: Remember collapsed items in task tree
2024-02-02 16:46:26 +01:00
Serhii Snitsaruk
f546e285b7
Refactor and clean up the code
2024-01-13 17:10:42 +01:00
Serhii Snitsaruk
52f218e6b9
Don't compile editor classes into template builds
2024-01-11 11:22:02 +01:00
Serhii Snitsaruk
8e9cc74857
Fix: User icons are not showing in the task palette
2024-01-10 19:16:43 +01:00
Serhii Snitsaruk
59a8ab97d8
chore: Rename macro LSNAME to LW_NAME
2024-01-09 13:42:54 +01:00
Serhii Snitsaruk
9645baeb30
Port LimboAI plugin and editor
2024-01-09 13:34:24 +01:00
Serhii Snitsaruk
bb346ef5f2
Port TaskTree
2024-01-07 21:20:51 +01:00
Serhii Snitsaruk
60012d984b
Fix drag & drop position in the same branch
...
Also, refactor get_child_index() into get_index().
2023-11-22 13:05:55 +01:00
Serhii Snitsaruk
f9f930133f
Fix Script includes
2023-10-28 13:09:03 +02:00
Serhii Snitsaruk
b5a44c0807
Fix BTProbabilitySelector showing probability for comments
2023-09-26 16:28:47 +02:00
Serhii Snitsaruk
1df821fdfa
Allow editing weight as percent in Probability popup
2023-09-25 22:36:37 +02:00
Serhii Snitsaruk
52a70fdee5
Add editor support for BTProbabilitySelector
2023-09-25 18:07:26 +02:00
Serhii Snitsaruk
e794436c69
Cache theme items in TaskTree
2023-08-29 12:44:40 +02:00
Serhii Snitsaruk
5a0ff91658
Fix task disappearing on drag & drop
2023-08-28 16:22:44 +02:00
Serhii Snitsaruk
0bd60bae88
Extract TaskTree code
2023-08-26 10:24:08 +02:00