Closed ltseng closed 4 months ago
@ltseng I'm wondering about the concept of deleting slope data and starting over, and general methods around editing collected data. Do we need a way for the user to "unlock" previously collected data in order to delete or change it? In other words, to make it clear their actions will overwrite what's already been collected? In the current app it would be quite easy to tap the previously chosen image without realizing it will delete the data.
Do we want an unlock feature on all the data input sections, and a save button? I'm thinking in terms of a linear workflow, and for some user satisfaction in doing all this hard physical work, a sense of starting and completing a task might be a nice thing.
I think it could be useful, as long as we put up the right guardrails. We would want to check with engineers on the feasibility of this too, since I imagine this would have database complications, and potential for data conflicts. I'm thinking this would be a useful post-MVP feature.
I wonder if it would necessarily have database complications, or if it would a simpler UI thing. For example, the user might need to tap an edit button before making a change to saved data rather than just changing it. Or, if they change previously saved data they get a dialog box asking if they are sure. I think this is worth asking the BLM group.
I'll add this to the list of questions for next week's meeting
Edit: Actually, looks like you best me to it!
@shrouxm and @david-code when we get to building the digital slope meter, keep in mind that this will ideally be built as a reusable component that can be later called from the Toolbox
I've separated out the parts of this task that originally referenced landscape position and slope aspect into their own user story - https://github.com/techmatters/terraso-product/issues/519
@shrouxm is this issue ready to QA? @david-code I'm assuming that you haven't gotten to locking down the contributor and viewer access to slope yet, right? (Just so I don't file additional unnecessary bugs)
@ltseng there are a couple bugs that became obvious once the changes were distributed so i would say hold off on QA until those are resolved!
@CourtneyLee333 I have completed the functional QA of this user story and am now passing this on to you for design QA. Please note the three bugs I have found so far.
@ltseng I'm so excited to see these screens! Here are a few things I found:
@CourtneyLee333 I filed https://github.com/techmatters/terraso-mobile-client/issues/848 to track the styling issues separately. Regarding your last bullet point, I actually asked Garo about that directly, since I had noticed the same thing. They said:
The image selectors aren't slow because of app performance issues but because it's actually saving the updated value to the backend before displaying it on the screen, we haven't implemented the behavior where it updates locally immediately while waiting for the backend response yet, but we'll only need to do that once and then it'll work everywhere!
@ltseng I found one more design bug. On my iPad the dialog either omits the word "or" or it's covered by the close icon. The dialog title should be "Enter steepness percentage or degree".
Thanks for catching that! Adding to https://github.com/techmatters/terraso-mobile-client/issues/848
Gather slope information for a site
References
Slope Test Cases
Design
Figma
Acceptance criteria
User Story