-
-
Notifications
You must be signed in to change notification settings - Fork 236
Add a button to send edit link by email in anonymous mode #1102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Is that possible to make the link clickable? Last time I tried I failed (because it was not on the top layer?) |
If you click it, you'll lose it :p It will open a page that will add a cookie (which is already present in this case, given the map has just been created), then redirect to the map with the normal URL. |
Maybe a |
In an ideal world, that would help a lot. But that message comes from the backend, so that would need more refactorisation, let's keep that for a further step ? |
I don't think so, did you use the Navigator.clipboard API? (e.g. https://code.larlet.fr/javascript/#copier-dans-le-presse-papier) |
Yep, see last commit :) |
@@ -114,6 +114,9 @@ | |||
) | |||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' | |||
|
|||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" | |||
FROM_EMAIL = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still wonder if we should add FROM_EMAIL = "test@example.com"
to local.py.sample
to see the feature in action when developing or if that's really an on-demand one 🤔
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
This is a work I started last year, and not yet finished.
The goal is to add a button "Send me the link" when creating a map in anonymous mode.