shell: 'Log out' button visible while auth is not implemented #111

Open
opened 2026-04-29 13:26:51 +00:00 by rawdaGastan · 0 comments
Member

Problem

The shell toolbar renders a <button title="Log out"> (icon-only). There is no auth in the stack today — SYSTEM_KEY = "system" per hero_archipelagos/.../messaging_service.rs:266 is the dummy identity used 'until auth lands'. Clicking 'Log out' has no meaningful effect.

Two concerns:

  • Misleading UX — implies sessions exist when they don't.
  • Confusing for QA / agents looking at the dock — can't tell whether log-out is broken or simply unimplemented.

Suggested fix

Gate the Log out button on a feature flag / on auth being available. Until then, hide it (or leave it as a stub that surfaces a 'Coming with auth' toast so the intent is explicit).

Found via QA session 2026-04-29.

## Problem The shell toolbar renders a `<button title="Log out">` (icon-only). There is no auth in the stack today — `SYSTEM_KEY = "system"` per `hero_archipelagos/.../messaging_service.rs:266` is the dummy identity used 'until auth lands'. Clicking 'Log out' has no meaningful effect. Two concerns: - Misleading UX — implies sessions exist when they don't. - Confusing for QA / agents looking at the dock — can't tell whether log-out is broken or simply unimplemented. ## Suggested fix Gate the Log out button on a feature flag / on auth being available. Until then, hide it (or leave it as a stub that surfaces a 'Coming with auth' toast so the intent is explicit). Found via QA session 2026-04-29.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os#111
No description provided.