Skip to content

Fix allocated nodes appearing in unallocated power report list - #10270

Merged
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/power-report-allocated-filter
Aug 23, 2026
Merged

LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/power-report-allocated-filter

Conversation

@mcagnion

@mcagnion mcagnion commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Related to #3810 (partial overlap; this does not close the issue).

Description of the problem being solved:

Allocated passive nodes could appear in Show Unallocated when their computed power was positive, so the report did not match the selected mode.

Explicitly exclude allocated entries from unallocated modes while preserving Show Allocated behavior, including allocated nodes whose removal power is negative.

Steps taken to verify a working solution:

  • Added focused tests covering both regression cases: Show Unallocated excludes a positive-power allocated node, while Show Allocated retains a negative-power allocated node.

Before screenshot:

before-show-unallocated-allocated-resolute-technique

After screenshot:

after-show-unallocated-allocated-resolute-technique

Keep Show Unallocated aligned with its label while preserving negative-power entries in Show Allocated.

Extract this independent fix from the Weighted Score work because the bug already exists on the upstream base. Related issue 3810 covers a broader refresh problem and is not closed by this change.
@LocalIdentity LocalIdentity added the bug: behaviour Behavioral differences label Aug 23, 2026
@LocalIdentity
LocalIdentity merged commit 98e0b25 into PathOfBuildingCommunity:dev Aug 23, 2026
3 checks passed
@LocalIdentity LocalIdentity changed the title Filter allocated nodes from unallocated power reports Fix allocated nodes appearing in unallocated power report list Aug 23, 2026
@LocalIdentity LocalIdentity added the pob2 Label for features that should be ported over to PoB-PoE2 label Aug 29, 2026
LocalIdentity pushed a commit to PathOfBuildingCommunity/PathOfBuilding-PoE2 that referenced this pull request Aug 30, 2026
… list (#2476)

* Apply changes from PathOfBuildingCommunity/PathOfBuilding#10270

* Fix port

---------

Co-authored-by: mcagnion <mcagnion@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: behaviour Behavioral differences pob2 Label for features that should be ported over to PoB-PoE2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants