feat(frontend): always-visible gun bays, idle/plugged/charging lamp language, self-service password

- Control renders every gun declared in the chargers registry, even when
  the charger is offline or has not reported that connector yet (state
  shows Offline / No status yet in gray)
- owner-specified state language: gray = idle, pulsing blue = cable in
  the socket (Preparing), green = charging; suspended/finishing = steady
  blue; fault = red
- POST /api/me/password (requires current password) + /account page,
  username in the topbar links to it
- smoke test: 58 checks (password change round-trip incl. old-password
  invalidation)
This commit is contained in:
2026-07-12 08:37:20 +02:00
parent 75869364b0
commit 3387f8689e
11 changed files with 229 additions and 48 deletions
+3 -1
View File
@@ -55,7 +55,9 @@ export default function Layout() {
))}
</nav>
<div className="topbar__user">
<span className="topbar__who">{me?.name}</span>
<NavLink to="/account" className="topbar__who" title="Account settings">
{me?.name}
</NavLink>
<button className="btn btn--ghost btn--sm" onClick={logout}>
Log out
</button>