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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user