]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(ui): second-pass factorization audit implementation
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 01:33:27 +0000 (03:33 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 01:33:27 +0000 (03:33 +0200)
commit5f58e5604c968bad180ba01dd110521cdb9c6c86
treef76a0ad3f9cdc6c2de7ad92ad694568de55d4638
parentdb5f0a30e13a93ef5a52d5b4d57f89256a6a073e
refactor(ui): second-pass factorization audit implementation

- Extend useExecuteAction with onSuccess callback support (backward-compatible)
- Migrate startSimulator/stopSimulator/deleteChargingStation to useExecuteAction
- Remove unused useToast imports from ChargingStationsView and CSData
- Extract .supervision-url CSS to shared.css as .input-url
- Add pickPresent helper for identity-key optional spreading in CLI
- Migrate atg.ts optional connectorIds and station.ts delete to helpers
- Add 12 payload helper tests (buildHashIdsPayload/pickDefined/pickPresent)
- Refactor main.ts config fetch from nested promises to async/await
- Remove 2 eslint-disable promise/no-nesting comments
ui/cli/src/commands/atg.ts
ui/cli/src/commands/payload.ts
ui/cli/src/commands/station.ts
ui/cli/tests/payload.test.ts [new file with mode: 0644]
ui/web/src/assets/shared.css
ui/web/src/components/actions/AddChargingStations.vue
ui/web/src/components/actions/SetSupervisionUrl.vue
ui/web/src/components/charging-stations/CSData.vue
ui/web/src/composables/Utils.ts
ui/web/src/main.ts
ui/web/src/views/ChargingStationsView.vue