Description
Note: Am an outreachy applicant and these are some of the changes I would like to propose in my proposal but after acquiring your minds on them.
Suggested updates to the editor
Resetting the text-area and most probably the whole form
Currently our editor has no option of resetting and clearing the fields, this would include also clearing all the markup and rich text from the input text area in case one has changed their mind or would want to start a fresh on what they were writing about.
This can either be general by adding one button, once clicked, resets all form fields to empty but this would result into losing all fields' contents, so, each field can be cleared independently especially the textarea.
On the editor, another node can be added to the current menu, to just trigger field clearing. The current one looks like below.
However a clear field #clear
can be added preferably next to the #markdown
.
The major role of this is to reset the field back to empty again.
Reusing saved address
When the user first signs up and log into the platform, they are asked to enter their address, I would suggest that the address on the editor should be available from the saved one.
How?
When a user creates an account on https://publiclab.org/dashboard they are requested to provide access to their current address in form of long and lats, these can be saved(which is probably the case). And if it so, then instead of these fields below where one can just use their current location or add a new one as shown below
I suggest prior checking if on the incoming user profile, there is some associated location coordinates, the area gets pre-selected and a use my saved location
checkbox provided preferably below Blur my current location
.
Also, if they didn't have any location coordinates before, and they provide new ones, an option of save as my location
can also be made available replacing the above suggested use my saved location
. On the next posting, the editor can always first check if there is any address on the incoming profile and auto select it on the map while auto checking the use my saved location
. Unless the user explicitly changes it, it can be maintained.