I have created a user profile page that shows info from database for each user.
What would be the best way to make this page editable for logged in user?
Shall I create hidden “edit” buttons for each section and set them visible only when this page is viewed by logged in user and only when this page show this user’s profile?
Or should I duplicate it and leave as a separate page with a link to is visible only for logged in users?
I’m also concerned in terms of privacy rules.
Unfortunately, I haven’t found any detailed tutorials on how to set user profiles and editable features.
Privacy rules are the first thing you should set up. If those are done correctly, how you set up the edit profile flow is mostly inconsequential.
There’s no right or wrong way to set up the profile editing. You can have a separate account section where they update this data. Or you can have a button that only shows when the profile matches current user which allows them to edit the fields, either inline or via a popup.
I assume you’re working with a template right? If so, doesn’t it already have UI built for this?
Hi @alex.esposito.1108 Thanks for the feedback. I’m not working with a template. I’m building from scratch
Only header is from Bubble component set
@chuprygin almost no wrong way but “Or should I duplicate it and leave as a separate page with a link to is visible only for logged in users?” would be wrong and be difficult to maintain.