User Profile
User Profile
Section titled “User Profile”The Profile screen displays the authenticated user’s account information including avatar, display name, username, organization badge, and activity statistics. Users can edit their profile details and manage their account. The profile is accessed via the avatar icon on the TopAppBar (not a tab).
Key Capabilities
Section titled “Key Capabilities”- Avatar & Identity — Profile picture with teal fallback, display name, username, organization badge, approved badge
- Stats Row — Posts count, Comments count, Wallet status indicator
- Editable Details — Name, bio, phone, website, email, organization (with save/cancel)
- Wallet Public Key — Display of the user’s Solana wallet public key
- Sign Out — Logout with confirmation dialog
- Hidden from Tab Bar — Accessed via avatar tap on the TopAppBar
User Flow
Section titled “User Flow”- Tap avatar icon on TopAppBar → navigate to Profile
- View personal info, stats, and wallet key
- Tap “Edit” → modify fields (name, bio, phone, website, email)
- Tap “Save” → profile updates via the EarthTeam servers
- Tap “Sign Out” → confirmation dialog → logout
How It Works
Section titled “How It Works”When you open your profile, the app securely fetches your account data from the EarthTeam servers and displays it on screen. Your avatar, display name, stats, and wallet key are all loaded in one request. When you edit any field and tap Save, the changes are sent back to the server and immediately reflected in your profile — no manual refresh needed. Signing out clears your local session and returns you to the login screen, with a confirmation step to prevent accidental logouts.
Related Features
Section titled “Related Features”- Authentication — Login and session management
- Wallet — Wallet balance and transactions
- Web Profile — Profile management on the web platform