Profile Management Guide
Panduan mengelola profil user di aplikasi.
📝 Edit Profile
Buka Profile Page
- Login ke aplikasi
- Klik nama di navbar → Profile
- Atau langsung ke
/profile
Edit Informasi
Field yang bisa diedit:
| Field | Max Length | Description |
|---|---|---|
| Name | - | Nama lengkap |
| Bio | 160 chars | Deskripsi singkat tentang Anda |
| Location | 100 chars | Kota, Negara |
| Website | - | URL website pribadi |
Save Changes
- Edit field yang diinginkan
- Klik "Save Changes"
- Toast notification muncul
- Done! ✅
🖼️ Avatar Upload
Upload Avatar Baru
- Di profile page, klik icon kamera di foto profil
- Pilih file dari komputer
- Format: JPG, PNG, GIF, WebP
- Max: 5MB
- Preview akan muncul
- Klik "Upload Avatar"
- Tunggu upload selesai
- Avatar berubah! 🎉
Cancel Upload
Jika ingin batal sebelum upload:
- Klik X icon di preview
- Atau refresh halaman
Delete Avatar
Untuk hapus avatar (kembali ke default):
- Upload avatar baru, atau
- Contact admin (belum ada fitur delete langsung)
Avatar Default
Jika belum upload avatar:
- Menampilkan initial nama (contoh: "J" untuk John)
- Background gradient biru-ungu
🔒 Security Settings
Change Password
- Di profile page, scroll ke Security section
- Klik "Change" di Password
- Akan redirect ke
/forgot-password - Ikuti flow reset password
Email Verification Status
- ✅ Verified - Email sudah terverifikasi
- ⚠️ Unverified - Belum verifikasi, fitur terbatas
Resend Verification Email
Jika email belum verified:
- Di Security section
- Klik "Resend" di Email Verification
- Check inbox/spam
- Klik link verifikasi
📊 Profile Stats
Di Dashboard, Anda bisa melihat:
- Profile Status - Complete atau Incomplete
- Account Type - Email atau Google
- Total Users - Jumlah user di platform
🐛 Troubleshooting Profile
| Masalah | Solusi |
|---|---|
| "Failed to update profile" | Check internet connection |
| "Email already exists" | Email sudah dipakai user lain |
| "Invalid URL" | Website harus format URL valid (https://...) |
| Avatar tidak upload | Check file size (< 5MB) dan format |
| "Unauthorized" | Session expired, login ulang |
💡 Tips
Bio yang Baik
- Deskripsikan diri Anda singkat
- Mention expertise atau hobi
- Bisa include emoji ✨
Contoh:
Full-stack developer 🚀 | React & Svelte enthusiast | Coffee addict ☕Website URL
- Pastikan URL valid dengan
https:// - Contoh:
https://myportfolio.com - Bisa juga link ke LinkedIn, GitHub, dll
Avatar Quality
- Gunakan foto dengan pencahayaan baik
- Square photo untuk hasil crop terbaik
- Minimal 256x256px
📁 Files Terkait
src/
├── routes/
│ └── profile/
│ └── +page.svelte # Profile page UI
└── routes/api/
└── profile/
└── +server.ts # API GET/PUT profile