Display Trade Reversal Status on Steam Profile#371
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Non-reactive property used in render output
- I marked
reversalStatuswith@state()so updates to it now trigger Lit re-renders fordaysSinceLastReversaloutput.
- I marked
Or push these changes by commenting:
@cursor push 6055f782aa
Preview (6055f782aa)
diff --git a/src/lib/components/profile/reversal_status.ts b/src/lib/components/profile/reversal_status.ts
--- a/src/lib/components/profile/reversal_status.ts
+++ b/src/lib/components/profile/reversal_status.ts
@@ -14,6 +14,7 @@
@state()
show: boolean = false;
+ @state()
reversalStatus: FetchReversalStatusResponse | undefined = undefined;
static styles = [This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
GODrums
left a comment
There was a problem hiding this comment.
Apologies for the late review. Pretty cool addition!
|
IMO, we can merge this in for the next release even if there's a few little tweaks to the server-side to finish ingestion. Worst case a user has a false-negative report. |


This PR introduces reversal status fetching when viewing a player's steam profile and displays a warning if they have reversed.
Closes CSF-774
Note
Medium Risk
Introduces a new external API call to
reverse.watchand injects new UI into Steam profile pages, which could impact reliability and rendering if the API or DOM structure changes.Overview
Adds a new bridge handler (
FETCH_REVERSAL_STATUS) that calls thereverse.watchAPI (configurable viareverse_watch_base_api_url) to retrieve a user’s trade reversal status.Updates the Steam profile page script to inject a new
ReversalStatuscomponent that fetches (TTL-cached) reversal data for the viewedsteamidand displays a warning banner with “days since last trade reversal” plus info/powered-by links when reversals are present.Written by Cursor Bugbot for commit b9263df. This will update automatically on new commits. Configure here.