spacetraders-v1 v0.19.1
Table performance
Created a useTableCap hook to automatically prune old records from Dexie tables. The hook runs on mount and periodically (every 5 minutes), deleting records older than a configurable number of hours. This prevents the trades table from growing unbounded and slowing down the UI.
Applied the table cap to the trades view and improved the table rendering performance. Also fixed some TypeScript warnings and added proper indexing to the database tables for faster queries.
Minor cleanup including removing unused debug code and fixing warning messages in the strategy toggle component.
More spacetraders-v1
My first implementation against the spacetraders api is an entirely browser-based UI and automation tool · source · play spacetraders-v1 · spacetraders api · posts