Skip to content

Frontend correctness fixes#14

Open
phyceClaw wants to merge 1 commit into
phyce:mainfrom
phyceClaw:fix/frontend-correctness
Open

Frontend correctness fixes#14
phyceClaw wants to merge 1 commit into
phyce:mainfrom
phyceClaw:fix/frontend-correctness

Conversation

@phyceClaw

Copy link
Copy Markdown

Summary

Small, low-risk frontend fixes (no dependency upgrades):

  • Remove debug logs that dumped the full config object (which can contain API keys) in Settings.vue and Footer.vue.
  • Fix leaked beforeunload listener: Settings.vue added it on mount with no removal, stacking duplicates across navigation. Now removed on unmount.
  • Exception-safe notifications: preview logic disabled notifications then re-enabled them; a thrown Play left them disabled forever. Now re-enabled via try/finally.
  • Declare monaco-editor: it was imported directly but only present transitively (phantom dep). Now declared in package.json.

Testing

npm run build (vue-tsc --noEmit && vite build) passes.

🤖 Generated with Claude Code

- Remove debug console.logs that dumped full config (may contain keys)
- Remove leaked beforeunload listener on Settings unmount
- Re-enable notifications via try/finally so a thrown preview cannot
  leave notifications permanently disabled
- Declare monaco-editor as an explicit dependency (was phantom)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant