
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."
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
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