From 5c36846f49800fd5242ff3b44ed978e10d2f5158 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 4 May 2026 00:16:34 +0200 Subject: [PATCH] chore: rename webui component to web for naming consistency MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Align the web UI package name and identifiers with the directory structure (ui/web) and the CLI convention (ui/cli → cli). Renames package.json name, release-please component, Dockerfile pnpm filter, SonarCloud project key, and screenshot asset filename. --- .github/release-please/config.json | 4 ++-- ui/web/README.md | 2 +- ui/web/docker/Dockerfile | 2 +- ui/web/package.json | 2 +- ui/web/sonar-project.properties | 8 ++------ ui/web/src/assets/{webui.png => screenshot.png} | Bin 6 files changed, 7 insertions(+), 11 deletions(-) rename ui/web/src/assets/{webui.png => screenshot.png} (100%) diff --git a/.github/release-please/config.json b/.github/release-please/config.json index fccd447d..2b040dd5 100644 --- a/.github/release-please/config.json +++ b/.github/release-please/config.json @@ -20,7 +20,7 @@ "extra-files": ["sonar-project.properties"] }, "ui/web": { - "component": "webui", + "component": "web", "extra-files": ["sonar-project.properties"] }, "tests/ocpp-server": { @@ -32,7 +32,7 @@ { "type": "linked-versions", "groupName": "simulator-ui-ocpp-server", - "components": ["simulator", "ui-common", "cli", "webui", "ocpp-server"] + "components": ["simulator", "ui-common", "cli", "web", "ocpp-server"] } ], "changelog-sections": [ diff --git a/ui/web/README.md b/ui/web/README.md index 2dd6aeaf..3e7a385e 100644 --- a/ui/web/README.md +++ b/ui/web/README.md @@ -6,7 +6,7 @@ Vue.js dashboard for monitoring and controlling the e-mobility charging stations simulator via WebSocket. -![Web UI](./src/assets/webui.png) +![Web UI](./src/assets/screenshot.png) 1. The top bar lets you switch between UI servers, start/stop the simulator, add charging stations, and select themes and skins. 2. Each charging station is a card with status indicators, connector details, and actions: start, stop, open/close connection, start/stop transaction, and more. diff --git a/ui/web/docker/Dockerfile b/ui/web/docker/Dockerfile index 63d24ef6..5506c3fb 100644 --- a/ui/web/docker/Dockerfile +++ b/ui/web/docker/Dockerfile @@ -8,7 +8,7 @@ RUN set -ex \ && corepack enable \ && pnpm install --ignore-scripts --frozen-lockfile \ && cp ui/web/docker/config.json ui/web/public/config.json \ - && pnpm --filter webui build + && pnpm --filter web build FROM node:lts-alpine diff --git a/ui/web/package.json b/ui/web/package.json index b62d1811..a5e5e835 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package", - "name": "webui", + "name": "web", "version": "4.6.0", "readme": "README.md", "engines": { diff --git a/ui/web/sonar-project.properties b/ui/web/sonar-project.properties index db2cf1c9..0a6ff212 100644 --- a/ui/web/sonar-project.properties +++ b/ui/web/sonar-project.properties @@ -1,13 +1,9 @@ -sonar.projectKey=e-mobility-charging-stations-simulator-webui +sonar.projectKey=e-mobility-charging-stations-simulator-web sonar.organization=sap-1 - -# This is the name and version displayed in the SonarCloud UI. -sonar.projectName=e-mobility-charging-stations-simulator-webui +sonar.projectName=e-mobility-charging-stations-simulator-web # x-release-please-start-version sonar.projectVersion=4.6.0 # x-release-please-end - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=src sonar.tests=tests diff --git a/ui/web/src/assets/webui.png b/ui/web/src/assets/screenshot.png similarity index 100% rename from ui/web/src/assets/webui.png rename to ui/web/src/assets/screenshot.png -- 2.53.0