Sacar pestaña Test del admin
- Borrado public/components/test-panel.js + su nav button + su rango de router + sus rutas /test/products-with-stock y /test/order. - Borrados handleGetProductsWithStock + handleCreateTestOrder y los api wrappers getProductsWithStock + createTestOrder. Ya no se usan en ningún flujo: pruebas de bot se hacen vía simulator. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,6 @@ const ROUTES = [
|
||||
{ pattern: /^\/cantidades$/, view: "quantities", params: [] },
|
||||
{ pattern: /^\/pedidos$/, view: "orders", params: [] },
|
||||
{ pattern: /^\/pedidos\/([^/]+)$/, view: "orders", params: ["id"] },
|
||||
{ pattern: /^\/test$/, view: "test", params: [] },
|
||||
{ pattern: /^\/config-prompts$/, view: "prompts", params: [] },
|
||||
{ pattern: /^\/atencion-humana$/, view: "takeovers", params: [] },
|
||||
{ pattern: /^\/configuracion$/, view: "settings", params: [] },
|
||||
@@ -33,7 +32,6 @@ const VIEW_TO_PATH = {
|
||||
crosssell: "/crosssell",
|
||||
quantities: "/cantidades",
|
||||
orders: "/pedidos",
|
||||
test: "/test",
|
||||
prompts: "/config-prompts",
|
||||
takeovers: "/atencion-humana",
|
||||
settings: "/configuracion",
|
||||
|
||||
Reference in New Issue
Block a user