KLKLine FrontendDashboard · Preview · Embed shell

Object Tree Persistence QA

Persistable Object Tree draft contract

این صفحه وضعیت F023 را مشخص می‌کند: Object Tree هنوز به backend mutation واقعی وصل نشده، اما schema و adapter لازم برای تبدیل snapshot به draft امن اضافه شده تا بعداً ذخیره‌سازی auditدار بدون قاطی‌کردن UI و chart instance پیاده شود.

Implemented now

F023 adds a frontend Object Tree draft schema that can represent indicators and drawings without chart instances, DOM nodes, functions or tokens.

Drafts are scoped by widgetId, symbol, interval and layoutKey so future persistence can respect tenant/widget/symbol boundaries.

A persist request contract now exists for create/update/delete/restore operations, but the frontend still does not call a real audited mutation endpoint.

The api-client has a safe probe for the existing backend drawing-config-preview endpoint and a future endpoint map for audited persistence.

The runtime package can convert a runtime Object Tree snapshot into a JSON-safe draft for future restore/persist workflows.

Endpoint contract map

preview: /api/admin/chart-runtime-config/drawing-config-preview

future persist: /api/admin/chart-runtime-config/object-tree-drafts

future restore: /api/v1/widget/object-tree