Add a Radius Jewel Finder - #10057
Draft
mcagnion wants to merge 29 commits into
Draft
Conversation
mcagnion
force-pushed
the
feature/radius-jewel-finder-pr
branch
5 times, most recently
from
August 7, 2026 18:27
55ff588 to
3411fbe
Compare
Add the Tree tab Radius Jewel Finder UI, data catalog, computation helpers, and manifest entries.
Cover socket discovery, variant handling, ranking, apply safety, occupied sockets, and state restoration for the Radius Jewel Finder.
Default variant-aware jewel types to All variants, and constrain compute/find paths when a specific variant is selected.
Adapt the finder to the current per-mod Foulborn data model, preserve selected variants through Find and Compute, and cover the regression paths. Excludes Foulborn Might of the Meek until its radius is modelled.
Ensure All occupied scores a replacement after removing the cluster's allocated passives.
Refresh generated hashes after resolving manifest conflicts against origin/dev.
mcagnion
force-pushed
the
feature/radius-jewel-finder-pr
branch
from
August 15, 2026 15:55
3411fbe to
d33c7aa
Compare
Reuse ItemsTab's main-tree comparison predicate in Radius Jewel computations while keeping Cluster Jewel rebuilds explicit.
Keep the finder focused on popup orchestration while loading result and detail controls through their class-named modules.
Use the established sortValue field across compute and finder rows, and call the existing best-per-socket method directly.
Remove test-only Finder API surface, centralize the full Massive radius boundary, and keep the Finder header tied to the data catalogue owner.
Preserve each control's tooltip placement order while centralizing viewport and overlap handling, and reuse one node-label builder across Finder and Compute.
Separate variant preparation, socket grouping, representative evaluation, result fan-out, and plan-detail expansion while preserving cache and progress invariants.
Separate popup setup and Find, Compute, and Apply orchestration so Open remains a small composition boundary.
Separate popup, data, and compute coverage while sharing fixture helpers without changing the 93-test Finder set.
Drop nested requirement source objects from tooltip snapshots because stat comparison tooltips consume only scalar values. Cover both stored snapshots with a regression test.
Keep the data module API limited to active consumers and normalize popup wiring indentation for review.
mcagnion
marked this pull request as ready for review
August 16, 2026 12:15
mcagnion
marked this pull request as draft
August 16, 2026 12:26
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.
Description of the problem being solved:
Finding a good socket for a radius jewel currently means manually comparing each socket, its passive radius, and the effect on the build.
This adds Find Radius Jewel to the Tree tab. Select a jewel family—or
All jewels—and PoB ranks the supported jewel and socket combinations against the chosen stat. Results can be previewed and applied directly to the build.Use the panel to select the jewel family and comparison stat, then run the calculation. The result list shows the gain, percentage gain and gain per passive point; selecting a row shows the affected socket, passives and any Foulborn mutation.
The finder can restrict searches to free sockets, safely replace ordinary occupied jewels, or consider all occupied sockets. Replacement details identify the existing jewel, while position-sensitive jewels are excluded from
Safe occupiedmode. Full replacement evaluation also handles cluster-tree and Timeless Jewel state safely.The finder covers the radius jewels it can evaluate generically, including applicable Foulborn variants. Timeless Jewels continue to use their dedicated finder; conversion jewels such as Cold Steel and Fireborn are outside this tool's scope. Foulborn Might of the Meek is not included until its radius is modeled.
Steps taken to verify a working solution:
All jewelsview.Screenshots
Technical notes for reviewers
RadiusJewelDataowns the supported jewel catalogue and variant construction.RadiusJewelComputeowns socket evaluation, replacement handling and disconnected-passive planning. Popup workflows are separated from construction, while result, detail and tooltip controls are dedicated class modules.