Main-Website-Linkcollect icon indicating copy to clipboard operation
Main-Website-Linkcollect copied to clipboard

Redundant Theme Change option in Settings>Profle

Open kclalit64 opened this issue 2 years ago • 6 comments

Screenshot from 2023-10-08 00-36-29

If you're interested in working on the settings page, here are a few enhancements you can consider:

  • Delete User Profile Button:

  • Add a "Delete User Profile" button. I believe it's already in the code but commented out. Integrate the API endpoint for user deletion. Here's the API details: API Endpoint: https://dev.linkcollect.io/api/v1/user/delete/userID (Replace userID with the actual user's ID) Modal Confirmation: Ensure there's a confirmation modal that asks the user to retype their email for double confirmation. Pasting should be disabled in this input field. After the API call is successful, redirect the user to the login page and remove their token from local storage.

  • Theme Button:

  • Keep the theme button accessible for now.

  • Bio Character Limit:

  • If not already implemented, add a character limit for the bio field. Information Text:

  • Add informative text below "Select Profile Type" based on the user's selection:

If Private Profile Selected: "This will make your entire profile private, and all public collections will become private too." If Public Profile Selected: "Public collections will be visible to anyone using LinkCollect."

  • Margin Adjustment:

Adjust the margin on the "Select Profile Type" dropdown for better spacing. These enhancements should improve the user experience on the settings page. If you have any questions or need further details, feel free to ask. Thank you for your interest in contributing!

You can create sepearate PR for each settings page issue

kclalit64 avatar Oct 07 '23 19:10 kclalit64

Also, a 150 char limit should suffice for the description. 240 chars is too much imo

kclalit64 avatar Oct 07 '23 19:10 kclalit64

Assign me with this issue

Vishusingh16 avatar Oct 07 '23 19:10 Vishusingh16

Aight, on it. Thanks for assigning!

kclalit64 avatar Oct 08 '23 13:10 kclalit64

Hey @Harsh8055, sorry was afk due to my exams. Am continuing to work on the issue. Btw, do you have any idea on how to fix these ESlint errors? I've never worked with ESlint before so don't have any idea about it. Best thing for this would be to add a section on how to configure ESLint in the readme files for the repo

kclalit64 avatar Oct 27 '23 15:10 kclalit64

Screenshot from 2023-10-27 20-37-54 Here's the screenshot for errors in my VSCode editor

kclalit64 avatar Oct 27 '23 15:10 kclalit64