Skip to content

Claude/track broken affiliate links e cb uy - #182

Merged
RivianTrackr merged 3 commits into
mainfrom
claude/track-broken-affiliate-links-ECbUY
Mar 2, 2026
Merged

Claude/track broken affiliate links e cb uy#182
RivianTrackr merged 3 commits into
mainfrom
claude/track-broken-affiliate-links-ECbUY

Conversation

@RivianTrackr

Copy link
Copy Markdown
Owner

No description provided.

claude added 3 commits March 2, 2026 00:59
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
@RivianTrackr
RivianTrackr merged commit 538ed6e into main Mar 2, 2026
6 of 7 checks passed
@RivianTrackr
RivianTrackr deleted the claude/track-broken-affiliate-links-ECbUY branch March 2, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants