hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
208 stars 265 forks source link

[Fix] Profile Details Information should persist the information after saving #1096

Open Zaraorji opened 3 months ago

Zaraorji commented 3 months ago

Description

Ensure that profile details such as username, pronouns, job title, and bio persist correctly in the application. Currently, these details do not persist, which means there is an issue with the backend endpoint is not being called.

Requirements:

  1. Verify that profile details (username, pronouns, job title, bio, etc.) are correctly saved and persist after being updated.
  2. Ensure that the appropriate backend endpoint is being called when profile details are updated, and that it processes and saves the data correctly. 3: Confirm that the frontend retrieves and displays the persisted profile details correctly after a page reload or navigating away and back.

Acceptance Criteria

  1. Profile details are successfully saved and persist after updating.
  2. The correct backend endpoint is called and handles the saving of profile details.
  3. Updated profile details are displayed correctly after a page reload .

Expected Outcome:

  1. Users see their updated profile details (username, pronouns, job title, bio, etc.) persist and correctly reflected in the application.

Links

| FIGMA LINK

Images

image

Zaraorji commented 3 months ago

Screen Shot 2024-08-22 at 3 03 14 AM Screen Shot 2024-08-22 at 3 02 46 AM