Skip to content

Allow recursive build list search with class filtering - #10084

Merged
LocalIdentity merged 4 commits into
PathOfBuildingCommunity:devfrom
xoxorwr:recursive-build-search
Aug 3, 2026
Merged

Allow recursive build list search with class filtering#10084
LocalIdentity merged 4 commits into
PathOfBuildingCommunity:devfrom
xoxorwr:recursive-build-search

Conversation

@xoxorwr

Copy link
Copy Markdown
Contributor

Fixes # .

Description of the problem being solved:

Like many others, I like to organize my past builds into folders, this however makes searching for specific builds very hard, because current control doesn't search recursively.

I solved both problems by making the search recursive, and allowing for some basic class filtering: class:assassin poison.

Steps taken to verify a working solution:

Link to a build that showcases this PR:

Before screenshot:

After screenshot:

image

@Wires77Wires77 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue I made a long time ago might be related to the work here: #2773

Comment threadsrc/Modules/BuildListHelpers.lua Outdated
if not fileHnd then return nil, nil, nil end
local headerText = fileHnd:read(2048)
fileHnd:close()
if not headerText then return nil, nil, nil end

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep using OpenCloudErrorPopup here? I believe we've mitigated many of the root causes, but I'd like to keep this error pop-up in case people run into Cloud syncing issues

Fix recursive build search safety and performance
Cache the recursive build index so searches filter in memory instead of rescanning files on every keystroke. Prevent folders from being copied or moved into their own descendants, preserve selections using full paths, and restore cloud-read error reporting.
Also fix folder copy paths and add regression tests for filtering, duplicate filenames, cloud failures, and unsafe folder targets.
@LocalIdentityLocalIdentity added the enhancement New feature, calculation, or mod label Aug 3, 2026

@LocalIdentityLocalIdentity left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed a few issues with my commit

@LocalIdentity
LocalIdentity merged commit 27ed9a5 into PathOfBuildingCommunity:devAug 3, 2026
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@xoxorwr@Wires77@LocalIdentity