Repository navigation
chore: remove comments and encode what they explained - #219
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The inline theme script lost a comment, so its CSP sha256 is recomputed in both index.html and nginx.conf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The spec checks that the meta and header policies match apart from frame-ancestors, and that script-src allows exactly the inline script hashes, so the sync comment in nginx.conf is no longer needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
importSettings and BrowserSettingsStorage.read never throw, so the empty catches in ImportExportService and ItemSortService and the spec forcing a throw are removed. removeUnavailablePosterReferences becomes deleteUnavailablePosterIds to say it mutates, and restoreFocus becomes focusWindowWhenPickerCloses. Spec stubs return undefined instead of holding comments in empty bodies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@CodeWithMaBot is attempting to deploy a commit to the Ma's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary
Removes comments across the whole codebase, specs included, and fixes the code that needed a comment to be understood.
src/index.htmlandcontainers/nginx.conf.src/content-security-policy.spec.tsfails if the meta and nginx policies drift (apart fromframe-ancestors) or ifscript-srcdoesn't match the inline script hashes. This replaces the "must stay in sync" comment.tsconfig.spec.jsonnow includesnodetypes.importSettingsandBrowserSettingsStorage.readnever throw, so the emptycatchblocks inImportExportServiceandItemSortServiceand the spec that forced a throw are removed.deleteUnavailablePosterIds,focusWindowWhenPickerCloses, aREMOVEmarker and named patch types inItemEdit,clearPendingImportIfStillin settings,linkedSignalfor the item card's reveal reset, anditemSnapshotin item detail.Note: commit
16b9245holds all four of the last refactors although its message names only theItemEditone.Testing
bun run lint,bun run test --no-watch(1062 passed), andbun run buildpass.index.htmlCSP hash matches its inline script, and that the new spec fails when the script changes.bun run e2ewas not run: no working Chromium was available on this machine.🤖 Generated with Claude Code
Summary by CodeRabbit