Skip to content

Conversation

leoAshu
Copy link
Owner

@leoAshu leoAshu commented Jul 27, 2025

🚀 Summary

This PR sets up a Zustand store to manage user profile information retrieved from Supabase.

It enables fetching and updating profile data from the profile screen and ensures the state remains in sync with the backend.

🧩 Related Issues / Tasks

🛠️ Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 🧨 Breaking change
  • 🔨 Enhancement/Refactor
  • 📝 Documentation
  • 📜 Other (please describe):

✅ Checklist

  • The code is formatted with Prettier (npm run format or npx prettier --write .)
  • PR references a linked Issue or Task number
  • Tested on both iOS and Android devices/emulators
  • No unnecessary logs or commented-out code
  • UI changes, if any, have been reviewed visually
  • All tests are passing (if applicable)
  • Added or updated documentation where necessary

📸 Screenshots / Videos (UI changes only)

N/A

🧪 Test Plan

  • Verified that the profile data is fetched on visiting /profile route.
  • Edited and saved profile data via a form.
  • Confirmed the data was updated in Supabase and local state reflected the change.

@leoAshu leoAshu requested a review from mano-ranjan July 27, 2025 23:59
@leoAshu leoAshu self-assigned this Jul 27, 2025
@leoAshu leoAshu added the feature New feature or request label Jul 28, 2025
@leoAshu leoAshu merged commit 9f099c4 into main Jul 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Zustand Store for User Profile Management

2 participants