candle-annotator/src
Marko Djordjevic 36182986b6 Extract magic numbers and colors to named constants in CandleChart.tsx
Replace inline magic numbers (8px, 60s, 2, 1, 0.15, 0.25, 100) and hardcoded
color strings with named module-level constants for better maintainability and
clarity. Organized constants into logical groups:
- Magic number constants (tolerance, intervals, sizes, alphas)
- Dark theme colors
- Light theme colors
- Candlestick colors
- Prediction overlay colors
- Predefined label colors

This improves code readability and makes it easier to adjust UI parameters globally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 15:24:32 +01:00
..
app feat: add bounded prediction cache (max 100 entries, FIFO eviction) 2026-02-18 15:22:38 +01:00
components Extract magic numbers and colors to named constants in CandleChart.tsx 2026-02-18 15:24:32 +01:00
lib fix: replace all SQLite references with PostgreSQL in scripts and lazy-init db connection 2026-02-17 23:48:47 +01:00
plugins fix: resolve TypeScript narrowing errors and renamed lightweight-charts exports 2026-02-16 16:05:54 +01:00
types fix(frontend): update ModelInfoResponse types to match backend structure 2026-02-15 21:39:38 +01:00
middleware.ts feat: add API key auth middleware for /api/* routes (task 3.1) 2026-02-18 11:02:51 +01:00