Integrate Fiber State Management and Float Ranks#399
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 48bc033. Configure here.
Step7750
left a comment
There was a problem hiding this comment.
Apologies for the late review!
The fiber parsing is quite nifty, thanks for figuring all that out -- certainly seems required with the lack of context when injecting.
I'm thinking we can potentially move this PR to be more declarative instead of injecting a wrapper that then finds a child element to manually inject into. This would require expanding the InjectionGuard to a degree, but IMO would enable us to directly configure injecting the rank element.

Closes #398
Step 2 of #395
Adds state management integration with Fiber and first Fiber-based listing enhancement: float ranks. More enhancements to follow separately.
Screenshot
Note
Medium Risk
Relies on undocumented React Fiber/DOM structure and brittle card selectors that may break when Steam updates the beta UI; changes are gated to the beta market only.
Overview
Adds React Steam Market (beta) support by reading listing data from React Fiber instead of legacy
g_rgListingInfo/g_rgAssets.A new
getFiberPropshelper walks the__reactFiber$tree to pull typedMarketListingprops (listing id, asset, inspect link, wear from asset properties).BetaListingEnhancercontinuously injects into beta listing cards whenisReactSteamMarket()is true, fetches inspectItemInfovia the existing float fetcher, and mountsBetaListingRankbeside the wear value span (matched by float text). The market listing page script now loads this enhancer alongside the legacyItemRowWrapperpath.Only a trivial newline fix in
mode.ts; legacy market behavior is unchanged.Reviewed by Cursor Bugbot for commit 48bc033. Configure here.