Skip to content

[FE] profile page + edit profile flow & BE integration #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 4 tasks
in-mai-space opened this issue Feb 21, 2025 · 2 comments
Closed
2 of 4 tasks

[FE] profile page + edit profile flow & BE integration #145

in-mai-space opened this issue Feb 21, 2025 · 2 comments
Assignees
Labels
feature Introduces a new and complete feature

Comments

@in-mai-space
Copy link
Contributor

in-mai-space commented Feb 21, 2025

Profile & Edit Profile Flow

As a user, I want to be able to view my profile, so that I can view how I look on Dearly.


Acceptance Criteria

Create the user profile page, while ensuring that when changing groups, only the images visible in select groups are shown and any other groups. When the setting buttons is clicked, it should show popup to edit profile. User should be able to take a photo form their camera or select from their photo library, user can also edit their information like name, username, bio, and birthday. Don't worry about the notification and nudge flow for now.

  • Define what API endpoints are needed for the feature and write proper hooks for them with Tanstack Query/Mutation
  • Define what components can be reused and create new component and variant if needed
  • Combine hooks and components together to build the feature
  • Handle visual rendering of empty data state, loading state, and error state with skeletons

Notes

  • Ensure that when the update is pending, disable to save button so it's not spamming API call.
  • Ensure that it will not fetch more data than needed to render on the screen to optimize for speed.
  • Ensure that unnecessary refreshes/API call's are properly cached and aren't re-rendered again using useCallback and useMemo.
  • Ensure that when you pull down the page, it automatically refetch the posts.

Resources

API Documentation
Frontend Practices
Tanstack Query
Tanstack Mutation


Design Notes

Interaction & Accessibility

  • Switch group:
    • ADVANCED: slide up bottom sheet for selecting group
    • BASIC: a whole new page to select group
  • Should show spinner when pulling down the page

Resources

Dearly on Figma - click to Hi-fis


Definition of Done

  • All acceptance criteria are met.
  • Tested and approved by the design team.
  • Code review to ensure reusability and modularity.
@in-mai-space in-mai-space added the feature Introduces a new and complete feature label Feb 21, 2025
@in-mai-space in-mai-space changed the title [FE] profile page & BE integration [FE] profile flow & BE integration Feb 21, 2025
@in-mai-space in-mai-space marked this as a duplicate of #147 Feb 21, 2025
@in-mai-space in-mai-space changed the title [FE] profile flow & BE integration [FE] profile page + edit profile flow & BE integration Feb 22, 2025
@oilagh
Copy link
Contributor

oilagh commented Feb 26, 2025

Image

HI!!! we think that we have notifications set for specific schemas but we only keep track of whether ALL notifs are disabled or enabled. Should design change their figma or should we change the supabase.

@in-mai-space
Copy link
Contributor Author

@oilagh @josh-torre We'll talk with the designers tomorrow to see what they think. Don't worry about this page for now.

@josh-torre josh-torre linked a pull request Mar 27, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Introduces a new and complete feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants