Add a Charging tab to the web app sidebar

Mirror the web-dashboard UI kit's charging screen: a map panel with
charger pins, an active-session card, and a nearby-stations list. Adds
the sidebar nav item, the /charging route, and the Charging view, plus
en/pl/da translations. Session and station data are presentational
placeholders until the server exposes charging telemetry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 4.8 committed 2026-07-18 14:01:44 +02:00
1 parent 52d9614bad
commit 2eeff15925
6 files changed
+268

No files matched your search

+29
View File
@@ -23,6 +23,7 @@
"nav": {
"garage": "Garage",
"charging": "Opladning",
"settings": "Indstillinger",
"users": "Brugere",
"lightMode": "Lys tilstand",
@@ -31,6 +32,34 @@
"logOut": "Log ud"
},
"charging": {
"eyebrow": "Opladning og kort",
"title": "Ladere i nærheden",
"liveMap": "Live-kort",
"youAreHere": "Du er her",
"session": {
"chargingNow": "Oplader nu",
"rate": "Effekt",
"added": "Tilføjet",
"cost": "Pris",
"done": "Færdig",
"stop": "Stop opladning",
"idle": "Oplader ikke",
"idleHint": "Tilslut ved en station for at starte en session."
},
"stations": {
"heading": "I nærheden",
"count": {
"one": "{n} station",
"other": "{n} stationer"
},
"free": "{avail} af {total} ledige",
"full": "Optaget",
"offPeak": "uden for spidsbelastning",
"homeCharger": "Hjemmelader"
}
},
"login": {
"title": "Log ind",
"tagline": "Styr på din bil.",
+29
View File
@@ -23,6 +23,7 @@
"nav": {
"garage": "Garage",
"charging": "Charging",
"settings": "Settings",
"users": "Users",
"lightMode": "Light mode",
@@ -31,6 +32,34 @@
"logOut": "Log out"
},
"charging": {
"eyebrow": "Charging & map",
"title": "Nearby chargers",
"liveMap": "Live map",
"youAreHere": "You are here",
"session": {
"chargingNow": "Charging now",
"rate": "Rate",
"added": "Added",
"cost": "Cost",
"done": "Done",
"stop": "Stop charging",
"idle": "Not charging",
"idleHint": "Plug in at a station to start a session."
},
"stations": {
"heading": "Nearby",
"count": {
"one": "{n} station",
"other": "{n} stations"
},
"free": "{avail} of {total} free",
"full": "Full",
"offPeak": "off-peak",
"homeCharger": "Home charger"
}
},
"login": {
"title": "Sign in",
"tagline": "Your car, on track.",
+31
View File
@@ -23,6 +23,7 @@
"nav": {
"garage": "Garaż",
"charging": "Ładowanie",
"settings": "Ustawienia",
"users": "Użytkownicy",
"lightMode": "Tryb jasny",
@@ -31,6 +32,36 @@
"logOut": "Wyloguj się"
},
"charging": {
"eyebrow": "Ładowanie i mapa",
"title": "Ładowarki w pobliżu",
"liveMap": "Mapa na żywo",
"youAreHere": "Tu jesteś",
"session": {
"chargingNow": "Ładowanie w toku",
"rate": "Moc",
"added": "Dodano",
"cost": "Koszt",
"done": "Koniec",
"stop": "Zatrzymaj ładowanie",
"idle": "Brak ładowania",
"idleHint": "Podłącz na stacji, aby rozpocząć sesję."
},
"stations": {
"heading": "W pobliżu",
"count": {
"one": "{n} stacja",
"few": "{n} stacje",
"many": "{n} stacji",
"other": "{n} stacji"
},
"free": "{avail} z {total} wolnych",
"full": "Zajęte",
"offPeak": "poza szczytem",
"homeCharger": "Ładowarka domowa"
}
},
"login": {
"title": "Zaloguj się",
"tagline": "Twój samochód pod kontrolą.",