Display Trade Reversal Status on Steam Profile#371
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!
|
|
||
| .powered-by-link { | ||
| text-decoration: none; | ||
| color: #ebebeb; |
There was a problem hiding this comment.
if the info-link gets a hover-effect, this one should probably get the same one to stay consistent
| .warning { | ||
| display: inline; | ||
| align-items: flex-start; | ||
| justify-content: start; |
There was a problem hiding this comment.
justify-content has no effect on inline display
|
|
||
| .warning { | ||
| display: inline; | ||
| align-items: flex-start; |
There was a problem hiding this comment.
this is the default value, can be omitted


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 integration (
reverse.watch) and injects new UI into Steam profile pages, which could affect page rendering and error handling if the third-party service is unavailable or changes.Overview
Adds a new
FETCH_REVERSAL_STATUSbridge handler that calls thereverse.watchAPI (newreverse_watch_base_api_urlenvironment config) to retrieve trade reversal status for a Steam ID.Injects a new
ReversalStatuscomponent on Steam profile pages that fetches/caches reversal status (30-min TTL) and shows a warning banner with “days since last trade reversal” plus an info link when the user has reversals.Written by Cursor Bugbot for commit b93001c. This will update automatically on new commits. Configure here.