Skip to content
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

Implement User Widget Functionalities #77

Open
3 tasks
RutikKulkarni opened this issue Aug 3, 2024 · 3 comments
Open
3 tasks

Implement User Widget Functionalities #77

RutikKulkarni opened this issue Aug 3, 2024 · 3 comments
Labels
enhancement New feature or request Frontend Issues related to user interface, design, and client-side functionality of the application good first issue Good for newcomers

Comments

@RutikKulkarni
Copy link
Owner

We need to add functionality to the User Widget to display the user's first name and location based on their logged-in status and the information provided. The widget design is already created, and we need to implement the following features:

  1. Display First Name:

    • When the user is logged in, display their first name in the widget.
    • Ensure that the first name is fetched from the user data after login.
  2. Location Display:

    • When a user registers for the first time, display a blank location in the widget.
    • After the user fills in the AccountInfo Form (available at EditAccountInfo), update the widget to display the location they mentioned in the form.

Note: The form is only visible when the user is logged in. (At the time of login and signup, the backend may take some time (up to 1-2 minutes) to respond, so please be patient.)

Tasks:

  • Fetch and display the user's first name in the widget after login.
  • Initialize the location as blank when the user registers for the first time.
  • Update the widget to display the user's location after they fill out the AccountInfo Form.
  • Ensure that the widget dynamically updates to reflect changes in user information.
  • Check the utils folder and use the endpoint for the backend URL like this: ${Config.endpoint}.

Screenshot:
image

Notes:

  • Ensure to handle user data securely and follow best practices.
  • Verify that the widget updates in real-time based on user interactions.
@RutikKulkarni RutikKulkarni added enhancement New feature or request good first issue Good for newcomers Frontend Issues related to user interface, design, and client-side functionality of the application labels Aug 3, 2024
@anudeep009
Copy link

Hi! I’m Anudeep, and I would like to work on this issue. Could you please assign it to me?

@RutikKulkarni
Copy link
Owner Author

Hi! I’m Anudeep, and I would like to work on this issue. Could you please assign it to me?

I have assigned it to you. Ensure you follow the outlined tasks and notes to handle the user data securely and update the widget dynamically.

@RutikKulkarni RutikKulkarni added the Assigned Assigned to someone label Aug 8, 2024
@RutikKulkarni
Copy link
Owner Author

RutikKulkarni commented Aug 8, 2024

In this Pull Req: #83

It seems the changes are not working as expected, and the problem isn't fully resolved.

Here’s a summary of the issues we're still facing:

  1. First Name Display: The user's first name is not appearing correctly in the widget after login.
  2. Location Initialization: The location should be initialized as blank for new users, but this doesn't seem to be happening.

Check the database to ensure that the user data is being stored and fetched correctly? Also, verify that the widget is properly connected to the backend and is receiving the necessary data in real-time.

Review the implementation and make sure the widget dynamically updates based on the user's interactions.

image

@RutikKulkarni RutikKulkarni removed the Assigned Assigned to someone label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend Issues related to user interface, design, and client-side functionality of the application good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants