Closed timlinux closed 10 years ago
@timlinux, Can you give opinion which attributes can be edited?
For now, I set email attribute as uneditable input. Otherwise, we have to send confirmation to new email. These 2 possibilities are ok for me.
Since we don't check that email has been registered/not when add a user, then email is not unique. For reminder feature, I only fetch the first data returned from query. Should I send email to all data returned from query? or the email should be unique?
Hi
We should definately make the email unique - good catch!
And to confirm, yes all fields should be editable except:
Regards
Tim
On Sat, Nov 9, 2013 at 6:51 AM, Akbar Gumbira notifications@github.comwrote:
Since we don't check that email has been registered/not when add a user, then email is not unique. For reminder feature, I only fetch the first data returned from query. Should I send email to all data returned from query? or the email should be unique?
— Reply to this email directly or view it on GitHubhttps://github.com/timlinux/user_map/issues/12#issuecomment-28118459 .
Visit http://linfiniti.com to find out about:
close?
Problem
Currently there is no way to:
Proposed solution
For editing or deleting their entry, the user should be sent an email with the following wording after initially creating their point:
As the email outline above implies we need a few more views:
/edit/<guid>
- When the user arrives at this view, the map should be loaded as per usual, but an additional button should be available under the [ + ] and [ - ] buttons that when pressed will zoom the user to their map pin and pop up the user's record so that it can be edited./delete/<guid>
- When the user is on edit view (see above) the trash can icon, when clicked should invoke this view and (after prompting the user to make sure they really want to delete themselves) cause the user's record to be deleted. On successful deletion the user should be redirected to the normal user map./reminder/
- Will pop up a form asking the user to enter their email address which when submitted will send the user a repeat of the email as above (if the email exists in our db) and then show a message in the dialog saying email sent, or show a message saying email is not valid.