From 53b0bb6b05024da261a657a14119a27879cf3d96 Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Wed, 30 Sep 2026 14:50:43 +0200 Subject: [PATCH 1/6] feat(Consola): switch to consola --- .oxlintrc.json | 2 +- app/components/InfraConnected.vue | 1 - .../Viewer/ContextMenu/InfoCard.vue | 3 +- .../Viewer/ObjectTree/Views/GlobalObjects.vue | 3 +- app/composables/hover_highlight.ts | 5 +-- app/composables/project_manager.ts | 1 - ...n_function_when_microservices_connected.ts | 2 -- app/composables/use_adaptive_styles.ts | 3 +- app/composables/use_quick_colormap.ts | 3 +- app/stores/api.ts | 5 +-- app/stores/app.ts | 4 ++- app/stores/app_helpers/extension.ts | 15 +++++---- app/stores/treeview.ts | 5 +-- app/utils/cloud.ts | 6 ++-- app/utils/extension.ts | 13 ++++---- app/utils/import_workflow.ts | 5 +-- app/utils/log.ts | 5 +-- internal/utils/api_fetch.ts | 3 +- internal/utils/upload_file.ts | 3 +- internal/utils/ws_client.ts | 5 +-- package.json | 1 + scripts/generate_geode_objects.ts | 3 +- server/api/cloud/extensions/run.post.ts | 5 +-- server/api/local/app/kill.post.ts | 3 +- .../api/local/app/project_folder_path.post.ts | 3 +- server/api/local/app/run_back.post.ts | 3 +- server/api/local/app/run_viewer.post.ts | 3 +- server/api/local/extensions/kill.post.ts | 5 +-- server/api/local/extensions/run.post.ts | 5 +-- .../microservice/app/get_is_app_ready.get.ts | 5 +-- .../microservice/app/set_app_base_url.post.ts | 5 +-- .../app/set_back_base_url.post.ts | 3 +- .../microservice/app/set_is_app_ready.post.ts | 5 +-- .../app/set_viewer_base_url.post.ts | 3 +- .../microservice/extensions/download.post.ts | 5 +-- server/utils/app_config.ts | 7 ++-- server/utils/cleanup.ts | 33 ++++++++++--------- server/utils/cloud.ts | 4 ++- server/utils/extension.ts | 7 ++-- server/utils/microservices.ts | 23 ++++++------- server/utils/path.ts | 23 ++++++------- server/utils/scripts.ts | 23 ++++++------- server/utils/server.ts | 7 ++-- shared/scripts.ts | 11 ++++--- shared/utils/call_schema.ts | 3 +- shared/utils/fetch_schema.ts | 4 ++- shared/utils/file.ts | 3 +- tests/integration/setup.ts | 7 ++-- .../stores/data_style/mesh/cells.nuxt.test.ts | 1 - .../stores/data_style/mesh/edges.nuxt.test.ts | 1 - .../stores/data_style/mesh/index.nuxt.test.ts | 1 - .../data_style/mesh/points.nuxt.test.ts | 1 - .../data_style/mesh/polygons.nuxt.test.ts | 1 - .../data_style/mesh/polyhedra.nuxt.test.ts | 1 - .../data_style/model/blocks.nuxt.test.ts | 1 - .../data_style/model/corners.nuxt.test.ts | 1 - .../data_style/model/edges.nuxt.test.ts | 1 - .../data_style/model/index.nuxt.test.ts | 1 - .../data_style/model/lines.nuxt.test.ts | 2 -- .../data_style/model/points.nuxt.test.ts | 1 - tests/unit/stores/app.nuxt.test.ts | 5 +-- 61 files changed, 177 insertions(+), 145 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index fe643e091..1f688a99a 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -33,7 +33,7 @@ } ], "eslint/max-statements": ["warn", 20], - "eslint/no-console": "warn", // Disable for debugging. Disable later to not have browser logs + "eslint/no-console": "error", "eslint/no-magic-numbers": [ "error", { diff --git a/app/components/InfraConnected.vue b/app/components/InfraConnected.vue index e53f0afbe..bf842c7a3 100644 --- a/app/components/InfraConnected.vue +++ b/app/components/InfraConnected.vue @@ -2,7 +2,6 @@ import { useInfraStore } from "@ogw_front/stores/infra"; const infraStore = useInfraStore(); -console.log("TEST", { infraStore });