Claude/track broken affiliate links e cb uy - #182
Merged
Conversation
Replaces the single long-running AJAX call with a batched approach:
1. rtg_check_links_start — returns the list of tires with links
2. rtg_check_links_batch — checks a batch of 5 links at a time
3. rtg_check_links_finish — saves results and sends notification
The UI shows a progress bar with live status text ("Checking link
12 of 38...") and a running broken link count. Page auto-reloads
with a summary once complete.
https://claude.ai/code/session_01Gh8fJc8PBbaxd55cC7TR2N
When the user navigates away while a link check is running, the browser cancels in-flight AJAX requests, triggering jQuery .fail() callbacks that showed "Network error" alerts. Now: - An isUnloading flag suppresses all error alerts/retries on page unload - A beforeunload confirmation warns the user that a check is still running - Batch processing stops early if the page is unloading https://claude.ai/code/session_01Gh8fJc8PBbaxd55cC7TR2N
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.
No description provided.