IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

[FEATURE] Profile restore action #2245

Closed esmeetewinkel closed 3 months ago

esmeetewinkel commented 3 months ago

What? Ability for a (new) user ID to set their contact fields the same as those from another user ID whose data is stored on the server.

Why? Someone loses or changes their phone and wants to continue using the app. E.g. FacilitatorApp use case

How? A "settings page" with a text box where a user can submit their previous user ID, and a "recover data" button which sends a request to the server for the contact fields stored for that user ID. It could be helpful also to have some sort of success/fail feedback ("Your data recovery was successful" vs "This user ID could not be found" / "Could not connect to the server" / other error )

Other details As follow-ups,