chore: code review cleanup across web, macOS, Windows, and docs - #8
Conversation
|
Caution Review failedAn error occurred during the review process. Please try again later. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (15)
💤 Files with no reviewable changes (5)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change updates macOS and Windows desktop behavior, adds static web security and 404 handling, removes the web worker, cleans unused styles, updates documentation, and adjusts repository ignore rules. ChangesDesktop application updates
Web delivery and presentation updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to The cleanup changes are merge-ready after normal checks; no actionable merge-blocking risk remains. Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
pingstats | 948899c | Aug 17 2026, 09:57 AM |
Greptile SummaryThe PR performs cleanup and targeted behavior corrections across the web, macOS, Windows, and repository documentation.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/web/wrangler.toml | Replaces the custom worker entry point with Cloudflare static-asset 404-page handling. |
| apps/web/public/_headers | Defines static security headers for deployed web assets. |
| apps/web/src/pages/404.astro | Adds a styled not-found page with navigation back to the site root. |
| apps/macos/PingStats/PingManager.swift | Reuses a static ping-output regex and aligns stale-host checks across completion paths. |
| apps/macos/PingStats/PingStatsApp.swift | Consolidates status-icon observation into a single publisher subscription. |
| apps/windows/PingStats.Windows/App.xaml.cs | Retains the popup window as application-owned state for its intended lifetime. |
Reviews (5): Last reviewed commit: "style(web): give ghost buttons a solid d..." | Re-trigger Greptile
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
pingstats | 8c408e0 | Commit Preview URL Branch Preview URL |
Aug 17 2026, 12:10 PM |
The site has been throwing Cloudflare Error 1101 on unknown paths since launch: wrangler.toml declared the [assets] directory without a binding, so env.ASSETS was undefined and src/worker.js threw on every unmatched path. Because matched assets are served directly by the platform, the worker's security headers were never applied either. Drop the broken worker and use the platform-native static assets 404 handling instead, which returns the new styled 404 page. Re-add the security headers via _headers, restore the Google Fonts links the earlier cleanup had removed on a wrong premise, and keep sync-brand from pruning _headers.
Transparent ghost buttons read as empty frames on the true-black hero. Use an opaque zinc-900 fill with a stronger border and brighter text so the Windows button reads as a real secondary control next to the solid white macOS primary.
|
@coderabbitai full review |
|
@greptileai review |
❌ Action failedReview failed. |
Problem
A code review pass found dead code and stale docs across all three apps and the repo root.
Changes
style-src 'self',font-src 'self'), so they never loaded; removed them plus 6 unused CSS vars, 4 unused keyframes, the unused.eyebrowclass, and dead.hero-version arules. The worker's 404→index.htmlfallback now only fires fortext/htmlnavigation requests so missing assets return real 404s, and the duplicated security-header loop was extracted.\u2014(XAML doesn't process\uescapes), retained the popup window in a field instead of avar _discard, and collapsed a dead branch inTrayManager.GetColor.@Publishedsubscriptions into oneobjectWillChangesink, hoisted the per-ping regex to a static, and made the error path's stale-check match the success/timeout paths.PingAPI, notping -n 1), removed the dead!docs/**/*.dmggitignore entry, and deletedREADME-INSTALL.md(its content is fully covered byREADME.md).Summary by CodeRabbit
New Features
Bug Fixes
Documentation