[claude] Phase 2 cleanup: route remaining fetch() through data/ modules (#421) #461

Merged
claude merged 1 commits from claude/issue-421 into main 2026-03-24 22:07:20 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
3c961beefd refactor: route remaining fetch() calls through data/ modules
Some checks failed
CI / validate (pull_request) Failing after 13s
CI / auto-merge (pull_request) Has been skipped
bookshelves.js used direct Gitea API fetch() for commit banners and
PR bookshelves. weather.js used direct Open-Meteo fetch() for weather.
Route both through their respective data/ modules (data/gitea.js and
data/weather.js). Add fetchMergedPRs() to data/gitea.js.

The one remaining fetch() in weather.js (runPortalHealthChecks) is a
no-cors connectivity probe, not data collection — accepted exception.

Fixes #421

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 18:06:28 -04:00