Conversation
…lders endpoint + Add fuzzy text search like the legacy loader has since #2066
iLLiCiTiT
reviewed
Sep 18, 2026
| self._fetch_children_async(self._root) | ||
|
|
||
|
|
||
| class BulkTreeModel(QAbstractItemModel): |
Member
There was a problem hiding this comment.
TBH I'm not sure about reusability of this model. This will work only if you have 1 column, as soon as you add more columns and different filters based on the column this will become unusable.
Also at the end, the class is so big because it has to implement everything what QStandardItemModel does implement for you. But QStandardItemModel allows more flexibility. It would also support using the async task.
For case of folders I'd say you can copy and modify what we have in tools/utils/folders_widget.py and use the async task to reset the items.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Description
In browser folder widget - do not query per folder only use the bulk request.
Additional info
Putting the draft up just so we have the intermediate state already, to get the discussion going.
Testing notes: