mirror of
https://github.com/exchanges-lab/view.git
synced 2026-08-07 14:14:44 +08:00
Replace custom canvas save/load with built-in save_load_adapter
- Remove custom canvas selector UI (HTML popup, CSS styles, toolbar button) - Remove all custom canvas JS functions (toggleCanvasSelector, loadCanvas, saveCanvas, autoSaveCanvas, startAutoSave, newCanvas, deleteCanvas, etc.) - Add createSaveLoadAdapter() implementing TradingView's save_load_adapter: - Chart layouts: localStorage index + backend API storage (no backend changes) - Study/Drawing/Chart templates: pure localStorage - Enable load_last_chart and auto_save_delay in widget config - Add DEV_MODE auth bypass for localhost development - Update auth-config.js with production API URL and OAuth client ID - Update README.md and README_CN.md feature descriptions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ If deploying the backend is too difficult, you can temporarily use my public bac
|
||||
- [x] **Professional charting engine** — Full indicator and drawing tool support
|
||||
- [x] **Custom indicators** — Net Volume (NV-C) and Cumulative Volume Delta (CVD-C)
|
||||
- [x] **Multi-chart layouts** — Single, vertical split, horizontal split, and 1L+2R layouts with draggable dividers
|
||||
- [x] **Canvas persistence** — Named drawing canvases per symbol, with auto-save every 5 minutes
|
||||
- [x] **Chart save/load** — Built-in save/load via `save_load_adapter` (metadata in localStorage, chart content in backend API), with auto-save
|
||||
- [x] **Dark & Light themes** — Full theme toggle synced across widget and UI
|
||||
|
||||
### Watchlist & Interaction
|
||||
|
||||
Reference in New Issue
Block a user