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

Profile Modal for Notesphere #14

Open
shubhankertiwari8 opened this issue Oct 11, 2024 · 10 comments
Open

Profile Modal for Notesphere #14

shubhankertiwari8 opened this issue Oct 11, 2024 · 10 comments
Assignees
Labels
20 Points to be awarded for this issue contrihub hacktoberfest hacktoberfest medium level mnnit shubhankertiwari8 mentor

Comments

@shubhankertiwari8
Copy link
Collaborator

Description

Develop a Profile feature for users, presented as a modal centered on the screen. This modal should seamlessly integrate with the existing design and aesthetics of Notesphere, ensuring a consistent user experience. The profile modal will retrieve and display the following user information from the database:

  • Name (pre-populated from the database)
  • Email (pre-populated and non-editable)

Features to Include:

  1. Profile Photo Upload and Management:

    • Allow users to upload a profile photo.
    • Implement a size restriction for the image upload (e.g., limit to 2MB). If the image exceeds this limit, display a clear, user-friendly warning message.
    • Ensure the image is validated for proper formats (e.g., PNG, JPG).
    • Provide users with the ability to update or delete their profile photo. If the user opts to delete their photo, display a default avatar in its place.
  2. Editable Fields:

    • Allow users to change their name.
    • Provide additional fields for users to input or update:
      • Date of Birth (DOB)
      • Registration Number
      • Any other relevant optional details.
  3. Restrictions:

    • Users should not be able to modify their email address, as it serves as a primary identifier.
  4. Update Functionality:

    • Provide users the option to save and update their details.
    • Ensure that any changes made (name, DOB, registration number, etc.) are reflected in the database upon submission.
  5. Profile Deletion:

    • Include a "Delete Profile" button, allowing users to permanently delete their profile.
    • Upon deletion, all user-related data (profile photo, name, DOB, registration number, etc.) should be removed from the database.
    • Before proceeding with deletion, show a confirmation modal asking the user to confirm their decision. Clearly communicate that this action is irreversible and all associated data will be lost.
  6. Accessing the Profile Modal:

    • A button to launch the profile modal should be placed at the top right corner of the screen, positioned beside the logout button for easy accessibility.
  7. Design Considerations:

    • The modal should match the overall look and feel of Notesphere, utilizing the same color scheme, fonts, and design elements to maintain visual consistency.
    • Ensure the modal is responsive and looks good on various screen sizes and devices.

Summary:

This version includes the ability for users to update or delete their profile photo. The button to open the modal is located in the top right corner, next to the logout button.


The profile feature enhances personalization by allowing users to customize their information, such as name and photo, improving engagement. It gives users control over their data, enabling easy updates or deletion. This also streamlines data management and provides quick access, leading to a better overall user experience.

@shubhankertiwari8 shubhankertiwari8 added medium level shubhankertiwari8 mentor 20 Points to be awarded for this issue hacktoberfest hacktoberfest mnnit contrihub labels Oct 11, 2024
@VishalMinj
Copy link

I'd like to work on it

@VishalMinj
Copy link

Here's the design preview for profile page, please provide your feedback.
Then I'll Start working on populating it with info

image

@VishalMinj
Copy link

Hey @shubhankertiwari8 is this issue assigned to anyone on contrihub rn? I'm trying to send assignment request but it's saying can't be assigned right now

@Manish-Sharma26
Copy link

@shubhankertiwari8 I have requested the issue assignment on contrihub, so can you please assign it to me.

@shubhankertiwari8
Copy link
Collaborator Author

@VishalMinj Try making request again as i have not assigned this issue to anyone else

@VishalMinj
Copy link

Okay

@VishalMinj
Copy link

I'm facing this issue since yesterday
image

@Manish-Sharma26
Copy link

Can this issue be assigned to me as I have already made a request and the request is still pending?
Screenshot_2024-10-21-14-46-55-387_com android chrome

@Vaishnavi1047
Copy link

If it's already assigned could u pls remove my req @shubhankertiwari8

@Manish-Sharma26
Copy link

@shubhankertiwari8 Any update to whom this issue will be assigned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
20 Points to be awarded for this issue contrihub hacktoberfest hacktoberfest medium level mnnit shubhankertiwari8 mentor
Projects
None yet
Development

No branches or pull requests

4 participants