Skip to content

Conversation

@GODrums
Copy link
Collaborator

@GODrums GODrums commented Nov 24, 2025

Currently, the extension re-fetches the stall for every new selected item, effectively rendering the local cache useless.

This PR changes this behavior to utilize the cached response until a guaranteed change occurs (e.g. an item is listed through the extension).


Note

Use cached stall data by default and only force-refresh after listing an item.

  • Inventory UI (src/lib/components/inventory/selected_item_info.ts)
    • Add forceRefresh param (default false) to refreshStallData and pass it to gStallFetcher.fetch.
    • On list modal close with listingId, call refreshStallData(true) to force-refresh.
    • Initial/normal stall fetches now use cache by default.

Written by Cursor Bugbot for commit 7a9e716. Configure here.

@GODrums GODrums requested a review from Step7750 November 24, 2025 21:24
@GODrums GODrums self-assigned this Nov 24, 2025
@GODrums GODrums added the bug label Nov 24, 2025
@Step7750 Step7750 merged commit 3a3ad11 into master Nov 24, 2025
2 checks passed
@Step7750 Step7750 deleted the fix/restore-stall-cache branch November 24, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants