Kurdistan Tech MinistryandClaude 9ca14ec300 fix: Sync field names between ProfileSettings and Dashboard
Root Cause:
- ProfileSettings was saving to: phone, (missing location, website)
- Dashboard was reading from: phone_number, location, website
- Field name mismatch caused "Not set" despite successful saves

Changes to ProfileSettings:
1. Renamed field: phone → phone_number (matches Dashboard & migration)
2. Added fields: location, website (now editable)
3. Updated state initialization, loadProfile, and updateProfile functions
4. Added UI inputs for Location and Website

Now ProfileSettings saves to:
- username, full_name, bio ✅
- phone_number, location, website ✅ (was: phone ❌)
- language, theme ✅

Dashboard reads from same fields:
- full_name, phone_number, location, website ✅

Result: Profile updates now persist correctly!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 04:25:18 +03:00
2025-10-22 18:05:19 -07:00
S
Description
No description provided
Readme MIT
141 MiB
1 Watchers 0 Forks
Languages
TypeScript 82.9%
PLpgSQL 8.8%
Rust 3.9%
JavaScript 2.4%
CSS 0.7%
Other 1.2%