Reuse the live price stream for the product catalog and physical delivery list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-10 22:11:55 +03:30
co-authored by Cursor
parent 6facf5d72d
commit 751d9a34e3
23 changed files with 13037 additions and 556 deletions
+2
View File
@@ -3,6 +3,7 @@ import type { Product } from '@/models/products'
import { Modal } from 'ant-design-vue'
import { getConfigApp } from '@/utils/config'
import { applyProductsListFromStream } from '@/utils/productStreamBridge'
import { syncCatalogFromStream } from '@/composables/useProductsCatalog'
import {
priceSocketConnected,
priceStreamConnectingSince,
@@ -505,6 +506,7 @@ function handleListPayload(payload: unknown) {
touchStreamActivity()
priceStreamList.value = products as Array<Record<string, unknown>>
syncCatalogFromStream(products)
applyProductsListFromStream(products)
}