mirror of
https://github.com/exchanges-lab/view.git
synced 2026-08-05 05:36:06 +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:
+1
-1
@@ -26,7 +26,7 @@
|
||||
- [x] **专业图表引擎** — 完整的指标和画图工具支持
|
||||
- [x] **自定义指标** — 净成交量(NV-C)和累积成交量差(CVD-C)
|
||||
- [x] **多图表布局** — 单图、垂直分割、水平分割、1 左 + 2 右布局,分隔线可拖动
|
||||
- [x] **画布持久化** — 按品种保存命名画布,每 5 分钟自动保存
|
||||
- [x] **图表保存/加载** — 通过内置 `save_load_adapter` 实现保存/加载(元数据存 localStorage,图表内容存后端 API),支持自动保存
|
||||
- [x] **深色/浅色主题** — 主题切换同步到图表组件和 UI
|
||||
|
||||
### 自选列表与交互
|
||||
|
||||
Reference in New Issue
Block a user