xiao8579 / QuickCapture-Testing

Repo for feedback and issues during QuickCapture testing events.
0 stars 0 forks source link

Button user input improvements #71

Open xiao8579 opened 2 years ago

xiao8579 commented 2 years ago

Description

In this release, we made a few improvements to button user input.

  1. One button can have at most 3 button user inputs associated with it.
  2. For buttons that capture Lines, and Polygon features, now you can decide when to show button user input after pressing the button: Start of capture, or End of capture.

Test

Create multiple button user inputs

  1. Sign in to QuickCapture designer.
  2. Create a new project, or use an existing project on the project gallery page.
  3. Select a point button in the project.
  4. On the Data tab of the selected button, create a button user input from a text field. Make it required. image
  5. Create a second butter user input from a text field with coded value domain. Make it required. image
  6. Create a third button user input from an integer field. Make it Optional. image

Test on the mobile app

  1. Download the project to QuickCapture mobile app.
  2. Tap on the point button, verify that button user inputs are shown by order.
  3. Verify that the first and second button user inputs are required (can't bypass unless entering an input on the dialog).
  4. Verify that the third button user input is optional (can skip without entering an input).
  5. Enter corresponding inputs to the button user inputs, and send the data from the mobile app.
  6. Go to the feature layer to which the data sends, and verify your entered inputs are sent successfully and correctly.

Create button user inputs for Lines and Polygon features

  1. In the same QuickCapture project,
  2. Select a button that captures a line feature.
  3. On the Data tab of the selected button, and create a button user input.
  4. In the options, select "Start of capture" and save. image
  5. Make a copy of the line feature. image
  6. On the Data tab of the selected button, on the same data field, create a new button user input.
  7. In the options, select the "End of capture" and save.
  8. Save the project.

Test on the mobile app

  1. Download the project to QuickCapture mobile app.
  2. Tap on the first line button, verify that button user input is shown right after you press the button.
  3. Walk a line and end capture, send captured data.
  4. Tap on the second line button, and start walking.
  5. End capture. Verify that the button user input is shown after you end capture on the line button.
  6. Go to the feature layer to which the data sends, and verify your entered inputs are sent successfully and correctly.