NERC-CEH / fit-count-app

Fit Count App & Website
Apache License 2.0
0 stars 0 forks source link

Do we have any options for allowing location details to be added when data is not available? #69

Closed kitenetter closed 2 years ago

kitenetter commented 3 years ago

Feedback from Richard Dawson: It is not possible to view a map without wi-fi / mobile data active / connected which may be an issue in some locations. Without being able to see the map there does not appear to be any way to enter a location, although I assume that the GPS will still function even if the map background cannot be displayed.

Is there a way to input the location later on or manually? If you can’t enter location the app won’t progress to actually do a FiT Count.

I think this could be a concern for promoting FiT Counts where I do the RSPB engagement as there is limited mobile signal at the ‘picnic area’ and it could prevent undertaking FiT Counts via the app at ‘remote locations’ once it is linked to the 1km squares.

CCarvell commented 3 years ago

@kazlauskis if a user is NOT connected to mobile data or wifi, will they still be able to type in their location (eg. place name or post code) in the search box? I understand that they may have to pinpoint the exact location on the map on return to base or signal. @kitenetter if you think this DOES require a text edit in the Read More box (despite my note in the other issue) can we make this TODAY - Thursday? @kazlauskis would it be accurate to add this text? "If you do not have internet signal, enter a location name and return to the map later when uploading your count".

kazlauskis commented 3 years ago

No, the location search only works where there is a network connection. This location name is not saved and is only used for locating yourself within the map when you have a connection. I would say to leave it as it is, the GPS is the primary way to find the current location.

kitenetter commented 3 years ago

This may be too late to change for the first version, but I would suggest changing the Help text at the top of the map page to read: Enable your GPS to set your location, or use the map to zoom in and tap on your location

And in the "Read more" text, the final paragraph could be: If your GPS is switched on your location should already be set, but if not please zoom in to find the spot that best matches your location.

I don't think this is critical to change for the first release.

CCarvell commented 3 years ago

Follow up of dialogue on this from 10/05: Martin's @kitenetter suggested edits above still a good idea, but with possible extra clarification of what to do when you are offline:

I think we need to add a sentence for clarity to the READ MORE Info page that links from the survey page 1 (location). Can this be done with a simple update? I don’t know what the GPS button is, and also can’t find on my own phone where to see that GPS is turned on!

I suggest adding something like this AFTER “Please zoom in to find the spot that best matches your location” and before “Your count results…..” but will need technical correction as this may not be right:

“Make sure you have the GPS location function on your device switched on. If you are conducting a FIT Count offline or without network connection, the app will not find your location on the map, but your GPS should record this for uploading later”??? We should accept that this might not be translated ASAP, or perhaps Ellen would be happy to do this one sentence into Welsh for us asap?

Also perhaps once Martin has a developer account set up to reply to user reviews, we could add a note to the response from that first query about functionality when offline?

kazlauskis commented 3 years ago

Do the screenshot and a slightly reworded phrase look OK? These both would require translations, do you want to contact the translators or should I push this?

READ MORE

Your location can be anywhere where there are flowers to attract pollinating insects, where you have permission to be, and where it is safe to go.

          <p>
            A garden or park, farm or nature reserve are all great locations
            for FIT Counts.
          </p>
          <p>
            Please zoom in to find the spot that best matches your location.
          </p>
          <p>
            Make sure you have the GPS turned on and permissions granted. If
            you are conducting a FIT Count offline or without a network
            connection, the app will not find your location on the map, but
            your GPS should record this for uploading later.
          </p>
          <p>
            Your count results will be visible to others at the 1 km square
            level via the UKPoMS website.
          </p>
Screenshot 2021-05-10 at 21 16 48
CCarvell commented 3 years ago

@kazlauskis thank you - I am happy with these changes. Are you OK to update these bits on Transifex and liaise with Elen ASAP? Elen has not yet invoiced us for final payment, so I hope she can make these additional short updates to the Welsh.

We can mention this to the Cyprus team on Friday.

kazlauskis commented 3 years ago

OK, I will write to Elen, do you want me to wait for her to finish the translations first or should I push this update to the app stores without that?

kitenetter commented 3 years ago

Hi @kazlauskis - @CCarvell and I have discussed this again this morning and I've been checking how the app works on my phone without a data/wifi signal, and for me at least the GPS is functioning as expected, and an accurate location is being captured. However, it is not very obvious to the user that this is happening.

We would like to update things before the website launch on 20 May, which I think means we do have time to get the wording translated by Elen, and we would like to go ahead with the wording changes as shown above.

In addition, is it possible to implement any of these other options:

If any of those above options can be implemented by 20 May that would be great, otherwise they can go on the features list for the next update.

While testing the various apps this morning to check how the GPS function was performing, it was apparent that in some cases the apps take much longer than others to pick up a GPS location. In some cases it took several minutes of 'egg-timer' before a location was found, while in others it happened quite quickly. Is there anything within the app that can be optimised to reduce the waiting time, or does it depend entirely on the phone and perhaps the satellite availability?

kazlauskis commented 3 years ago

Great, I'll wait until the Welsh is finished before uploading the update then. I won't be able to do the new features now but I have set aside 5 days in June when I could work on this. I agree, all the above options would improve the UX (user experience).

The GPS has various options so other apps might use it differently. In this app we wait until the GPS location is at least 100 meters accurate and we only accept "high accuracy" locations, meaning that we want the actual GPS rather than WiFi/4G triangulation for our geolocation. Some other apps use "cached" locations which means that these return quicker but are less precise as the user might have moved in the meanwhile.

CCarvell commented 3 years ago

@karolis as you were going to return to this in June - I am just putting out a reminder to all.

From discussions with @JimChiazzese1 and SURPASS team it is likely that they would want to include the option listed above: Add a box above the map that allows the user to add an optional free text place name

This would help users who may be without signal or unable to store the GPS location of their count or see the correct place on the map. It could be essential if an offline user was conducting multiple FIT Counts at different locations on the same day? Is it possible to get this into Transifex, or is it already there?

JimChiazzese1 commented 3 years ago

@kazlauskis @CCarvell Just a comment on the freeform location box. I assume it will possible to flag this field was used before the user submits the survey (when back on a connection). i.e if submitting a survey that only has a text box location description and not an actual mapped location can the user be prevented from submitting the survey and get a prompt that they have to verify the location correctly? Apologies if that's already been discussed in the past.

kazlauskis commented 3 years ago

The location name is merely a search field that works only when there is a network connection. The location name is discarded after the user navigates away from the page. To navigate to the step 2, the app has to geolocate the device or the user has to select some location on the map so the user can't skip the step 1 without setting some valid location to the survey.

JimChiazzese1 commented 3 years ago

@kazlauskis Sorry Karolis, I think my question probably confused things - it was really just me thinking aloud about possible functionality.

I'll wait until you comment on Claire's previous question - lack of signal/inability to use GPS etc seemed to be an issue that the S.American teams are keen to have a work around for.

kazlauskis commented 3 years ago

Just a comment on the freeform location box. I assume it will possible to flag this field was used before the user submits the survey (when back on a connection). i.e if submitting a survey that only has a text box location description and not an actual mapped location can the user be prevented from submitting the survey and get a prompt that they have to verify the location correctly?

We can reuse the same location search input field as a survey location-name. The app could save whatever was entered in that field for upload to the warehouse then. If the app is online then this field would also suggest possible locations as well as zoom in on the map to that location. If offline, then this would simply be a location-name field.

At the moment, it isn't possible to navigate to step 2 without a valid location set. We could remove this restriction for progressing through the survey but ask the user to enter the location before uploading.

We could also show selected location coordinates/gridref somewhere on that page and possibly allow to edit this manually.

kazlauskis commented 2 years ago

@JimChiazzese1 at the moment, the user has to have a functioning GPS onboard the device OR network connectivity to select the location manually using the map. The app prevents the user from navigating further the survey pages before the location is selected and we could improve this but I am not yet sure of the best way to do this as this depends on tweaking the survey requirements.

To submit a valid survey, we currently require a location to be set. I understand we won’t drop this but instead change when when this is made mandatory, is that right?

One idea would be to add a ‘Skip’ button to the location page so that the user can progress the survey pages whilst in the field and add the location information at home before uploading the survey. There would also have to be some sort of reminder to set the location manually in the app - the GPS option would not then work as the user is probably at home by then.

Do you think of any other ideas?

JimChiazzese1 commented 2 years ago

"One idea would be to add a ‘Skip’ button to the location page so that the user can progress the survey pages whilst in the field and add the location information at home before uploading the survey. There would also have to be some sort of reminder to set the location manually in the app"

I think that would work perfectly. User gets the option to skip if location not working and then is prevented from submitting the survey/receives a prompt if there is no location on the survey and adds it manually by using the map function. @CCarvell - I think this is what we discussed previously as the best solution? While most users, most of the time should have functioning GPS, they might not have location settings properly enabled or know how to do that and if also no network then they won't be able to select from the map. With the above solution, no-one is prevented from undertaking any survey due to GPS, network, technical knowledge, whilst in the field.

JimChiazzese1 commented 2 years ago

@kazlauskis @CCarvell Just to pick this up again - Is it possible to implement this functionality and if so, at what stage should it be done. One other refinement is to allow the user to add text so they can easily identify the survey when adding the location when back online before submitting. So workflow becomes:

kazlauskis commented 2 years ago

To keep it simple, I suggest to split the text box requirement into a separate ticket for now. We can work on adding the 'Skip' functionality sometime this winter if that's not too late? I would need a few days to work on this, would this come out of SURPASS?

JimChiazzese1 commented 2 years ago

Thanks Karolis, let me discuss with @CCarvell and France.

JimChiazzese1 commented 2 years ago

@kazlauskis do you have any sense of cost for implementing this - both the skip functionality and the text option?

kazlauskis commented 2 years ago

We've done this one now.

This is how it used to look like for offline users:

localhost_8000_survey_new_83660777-7fdf-4371-8ff5-74de8772d60c_location(iPhone SE (2020))

It looks like this now:

localhost_8000_survey_new_3dc69647-19ac-4fba-b0f1-98508d01ad04_location(iPhone SE (2020)) (1)

localhost_8000_survey_new_3dc69647-19ac-4fba-b0f1-98508d01ad04_location(iPhone SE (2020))

If the location isn't entered then the user can also enter the current site name:

localhost_8000_survey_new_4fbd6d06-4738-417e-8649-68366784594a_location-name(iPhone SE (2020))

This has created a bunch of new interface terms that are now uploaded to Transifex for translations.

JimChiazzese1 commented 2 years ago

Thanks Karolis. Including @CCarvell on this as well.

To clarify then; If the user can't use the maps they can enter just GPS...if they can't do that either they can just add a location name. Couple of questions:

  1. Do we have any text that informs the user that if they can't use GPS or maps then they can enter a name and then update the location details at a later date when they submit the count.
  2. If they try and submit a count without the location data are they stopped and prompted for the location data?

On point 1 I can suggest some text if needed.

Thanks

Jim

kazlauskis commented 2 years ago
  1. The only text that helps the user with this scenario is in the screenshots.
  2. Yes, the app won't allow to upload records without a valid location and will notify the user to fill it in if missing.
JimChiazzese1 commented 2 years ago

Great. Thanks Karolis