Frontend: 13 stray console.error / console.warn calls in production JSX #123
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
04ce096. Newwindow.DF_LOG.{debug,warn,error}helper indata.jsx: warn/debug are gated behind?debug=1,localStorage.df_debug=1, orlocalhost. Editor + ingest screens converted their strayconsole.warn/console.errorcalls toDF_LOG.warn. Critical errors (player MediaError, app load failure, S3 settings load failure) keepconsole.error.zgaetano referenced this issue2026-05-26 18:22:49 -04:00
Fix Plan — #123 Stray console.error/warn in production JSX
Root cause: 13
console.error/console.warncalls left in production JSX. Leak internal details to browser console.Locations:
screens-editor.jsx:108,128,140,149,165,214,248,295,325,661,screens-asset.jsx:395,screens-ingest.jsx:509,app.jsx:24.Fix — wire toast into error handling:
Ensure
shell.jsxlistens fordf:toastand renders a toast notification component.Files:
screens-editor.jsx,screens-asset.jsx,screens-ingest.jsx,app.jsx,shell.jsxEffort: ~1h
**Priority: P3 — polish