chore(web): surface settings errors, fix catalyst override select, drop dead client code #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/web-polish-deadcode"
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?
Three small items from the repo-wide review, one commit each:
Settings save failures now render (same
text-destructivepattern as Trading) — previously a rejected save (e.g. zod 400 from a partial numeric input) looked identical to success.Catalyst override select fixed: selecting "None" now sends
catalystTag: null(confirmed the PATCH schema clears on null) instead of persisting the literal string "none" that Scanner rendered as a tag; and a current tag outsideCATALYST_CATEGORIES(server accepts any ≤64-char string, e.g. an LLM-produced "spot-bid") is rendered as an extra option so the select reflects reality instead of silently showing the wrong value.Dead code from the Overview-page removal deleted after repo-wide re-verification:
fetchScanner,fetchOutcomes,ackAlert,ackMarketAlertinapi/client.ts(plus their orphaned imports and thefetchScanner-only test). Everything still referenced (dismiss/bulk-dismiss,fetchAlerts,fetchMarketAlerts, settings/positions functions) was kept. The server's unusedannotationstable was intentionally NOT touched — dropping it needs a migration anddrizzle-kit generateis currently broken by missing meta snapshots (separate issue).Tests: 56 files / 313 passing, typecheck clean.
db15a40c63to839de9ac6d