Skip to main content

Shell Identity Shell Identity Success

EPIC: shell_identity
Shell identity & proxy
STORY: shell_identity
The shell top-bar reflects the active member, switching the lens updates both avatars, and a proxied companion is read-only.
AC: success
Self-view shows the companion avatar with no viewing cue and no balance pill; switching to a child shows the "Viewing Nova" cue on the top bar AND the Profile nav icon; Profile hosts settings + switcher + logout + household-switch; proxied My Cosmos is read-only.

self-view: the top-bar shows the active member companion avatar, no "Viewing" cue, and no balance pill

Expect:
  • the active-member companion avatar is in the top bar
  • no "Viewing Nova" cue during self-view
  • no token/balance pill in the top bar (removed by owner decision); the companion balance lives in Household/My Cosmos

switching the active member to Nova updates the top-bar avatar AND the Profile nav icon together (the "Viewing Nova" cue appears)

Expect:
  • the top-bar "Viewing Nova" cue appears once proxied
  • the Profile nav label now shows Nova — the nav icon tracks the same active identity as the top-bar avatar
Events:
  • ActiveIdentity_Cubit
  • TodayViewingAsChanged
  • ActiveIdentity_Cubit

the Profile tab hosts settings, the account switcher, a bottom logout row, and (single-household here) no household-switch row

User Actions:
  • Tapped: widget with text "Nova" (ignoring all but last)
Expect:
  • the Profile tab is shown
  • the inline account switcher is present (canSwitch=true)
  • the settings tiles render on Profile
  • the bottom logout row is present
  • no household-switch row for a single-household account (the multi-household case is covered in household_switch_test)
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged
  • AccountSwitcherCubit

opening My Cosmos while proxied shows the read-only view — the editor controls (enable toggle / rename / type) are absent

User Actions:
  • Tapped: widget with key [<'MorePage.companionEntry'>]
Expect:
  • the My Cosmos page is open
  • the enable toggle is hidden while proxied
  • the rename control is hidden while proxied
  • the type segmented control is hidden while proxied
  • the ambient segmented control is hidden while proxied
  • the read-only stage row stays visible while proxied
  • the read-only stardust balance row stays visible
Events:
  • [ANALYTIC] [page]: MyCosmosRoute