Skip to content

Offer Show All for empty Spectre Library searches - #10599

Open
zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10576-spectre-empty-search
Open

zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10576-spectre-empty-search

Conversation

@zubSero

@zubSero zubSero commented Nov 26, 2026 •

Copy link
Copy Markdown

Fixes #10576.

Description of the problem being solved:

The Spectre Library only searches the recommended spectres unless Show All is ticked. Searching for something like Forged Frostbearer gives an empty list with no hint why.

When a search comes back empty and Show All would find something, the list now says "No recommended matches" and has an "Enable Show All" button. The button keeps the search text and the other filters as they are. It doesn't appear when Show All wouldn't help either, for example with Corpse Only on, with that monster type unticked, or for a name that doesn't exist.

Steps taken to verify a working solution:

  • Added tests for the button showing up, for the cases where it shouldn't, and for Corpse Only staying on after clicking it. The tests pick their spectres from the data instead of using a fixed name.
  • Opened Manage Spectres, searched for Forged Frostbearer and clicked the button.

Before screenshot:

Empty result list for Forged Frostbearer

After screenshot:

The same search with the Enable Show All button

The button was shown for any empty search, including searches that
Show All could not satisfy because of Corpse Only, a monster type
filter or a name that matches nothing. Check the search against the
list Show All would produce, and pick the test Spectres from the data
instead of relying on a fixed name.
@zubSero
zubSero force-pushed the fix/10576-spectre-empty-search branch from d9106d3 to 8a02f02 Compare November 27, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing non corpse spectors in manage spectors

1 participant