Screens & ownershipFind routes, owners, and evidence

Screens & ownership

reachableconfiguration-dependent Fresh evidence

Global Profile & account controls

One sheet opened from every active tab shows the shared account, verified phone, KYC status/capabilities, language, onboarding replay, and logout.

Screen

IC-Trade global Profile sheet
Single account surface shared across all active IC-Trade tabs.

Entry points and state

App route
ContentView sheet from GlobalProfileButton
Engineering owner
Account experience
KYC boundary
Always reachable after authentication; offers the KYC continuation action without granting capabilities.

Entry points

  • Header avatar in Watchlist
  • Market
  • Trade
  • Portfolio

State ownership

  • ContentView showsGlobalProfile
  • ProfileSheet local social profile
  • shared AppAuthSessionStore and account

Data provenance

Read this boundary before interpreting realistic market, identity, order, or portfolio presentation as production data.

Mode
configuration-dependent
Primary source
Shared authenticated AppAccount and KYC store projection
Fallback
Demo account in local mode
Persistence
Language/onboarding preference locally; auth and KYC via configured providers
Network boundary
Optional social profile read; logout through configured auth service
Production ready
No
Operational caveat
The profile unifies identity presentation but is not an account-administration or recovery system.

Dependencies and tests

Dependencies

  • AppAuthSessionStore
  • KYC status/capabilities
  • SocialRepository only when social is enabled
  • AppStorage preferences

Characterization evidence

  • Authenticated profile logout tests
  • Root post-logout routing tests
  • SwiftUI preview

Audited source evidence

These are small, sanitized excerpts—not complete source files. A changed hash must be reviewed before this record is marked fresh again.

Alva Online Trading/App/ContentView.swift fresh

Symbol: AppTab.visibleTabs(for:)

IC-Trade resolves to Watchlist, Market, Trade, and Portfolio.
Audited SHA-256
b7f7769f0d1ed5648a29b6616201617d81fd160245ad1c2628e28bf3ac0b79f9
Alva Online Trading/Features/Profile/ProfileSheet.swift fresh

Symbol: ProfileSheet

The global sheet receives account, KYC status/capabilities, auth store, and the KYC action from ContentView.
Audited SHA-256
16e6ce415af07f46e0a15b2148d3498b2decd3e248479ae5b0b6334a90875da0