chore: remove dead frontend code + enable noUnusedLocals - #34
Conversation
Delete 14 never-called functions from frontend/src/main.ts (~195 lines) and their 3 now-unused Wails-binding imports, and enable noUnusedLocals in frontend/tsconfig.json so dead symbols fail the build going forward. Fix the sidebar version string (v0.5.0 -> v0.6.0). Verified on macOS: tsc --noEmit clean with noUnusedLocals on; go test ./... green.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughRemoves legacy service-card/detail rendering helpers and associated credential/deploy/log action handlers from ChangesFrontend cleanup
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 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 |
First cleanup PR from the
/review-code!audit (spotless pass).frontend/src/main.ts(~195 lines) + 3 now-unused Wails-binding imports.noUnusedLocalsinfrontend/tsconfig.json— dead symbols now fail the build.v0.5.0→v0.6.0.Verified on macOS:
tsc --noEmitpasses clean withnoUnusedLocalson (proves no dead code remains and nothing live was removed);go test ./...green (Go untouched).Summary by CodeRabbit