xiao8579 / QuickCapture-Testing

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

[Exercise] Better button user inputs: 'Date' data type #81

Open xiao8579 opened 1 year ago

xiao8579 commented 1 year ago

Description

Allow users to enter date/time from the button user input.

Test

How to configure?

  1. Sign in to QuickCapture designer QA website https://qaext.arcgis.com/apps/quickcapture/

  2. Create a new project, or use an existing project on your project gallery page.

  3. Make sure your project feature layer has a Date field type. If not, create a new Date field for this feature layer. Then, refresh web designer project, and you will see the new field from the DATA tab.

  4. Select a button. On the DATA tab, find the Date field.

  5. Create a button user input for this field.
    Animation

  6. Make additional configurations to this date button user input:

    • Label: specify the label of this button user input.
    • Default value: specify whether to use the current date on mobile device as the default value.
    • Date range: set the minimum and maximum dates of the 'Date picker' on the mobile app.
    • Display time input: specify whether to show 'Time picker' on the mobile app.
    • Show user input dialog: show the dialog before or after the capture. Does not apply to Point capture.
  7. Finish creating this button user input and apply it to the date field for the selected button.

  8. When you are done, save the project.

How does it work on the mobile app?

  1. Use your own project, and verify your project configurations.

  2. Or scan project QR code below to download the test project to your QuickCapture app. image

  3. Open the QuickCapture project.

  4. On the project page, tap the button: Low.

  5. Verify the default date/time value on the button user input.

  6. Use the Date picker and Time picker to update the date/time value.

  7. Send your captured data and verify your submitted results here: https://www.arcgis.com/apps/mapviewer/index.html?webmap=6e3b58a201dc46b89ab6f5dc01087c4f

IsmaelInRedlands commented 1 year ago

BUG:

  1. Configure a button user input to ask for a date. Do NOT set a date range
  2. In the mobile app, I can only enter values within the current year

The expectation is that I should be able to enter date values without restriction.

iOS QuickCapture Build 1.16.270 and 1.16.272

jenlangevin commented 1 year ago

When the date selection field opens the date is listed as 12/31/99 but the calendar is on August 2022. I think it would make more sense if these were the same. So if the default date is 12/31/99 then the calendar is set to December 1999. data

jackiequill commented 1 year ago

I saw the same date issue as above. The default is 12/31/99 but I am unsure why? The time is correct. I noticed this issue on my test project and the photo inspection project provided above.

xiao8579 commented 1 year ago

BUG on 1.15.272 build

Add two date button user inputs for two separate fields for a button. On the mobile app, the value for the first date input get carried on to the second input.

Expected result: The mobile app should clear the previous input when enter the next input dialog.

Mor-test commented 1 year ago

Build 1.16.270 (iPhone Xs - iOS 16.1) / 1.16.272 (Google Pixel 6 - Android 13)

Incorrect date format when trying to rewrite the date manually - there is a mask and the app follows it correctly so it isn't a bug, but it would be better if the date could still follow the locale, as in main calendar.

1_EN2 1_EN1

lbotha commented 1 year ago

I've set date range from 1 - 9 Novemeber. In app (windows), the min date works, the max date allows me to pick until 30 Nov.

Set Up:

date 1

App:

image

Priya97317 commented 1 year ago

I have set a date range from 1/10/1996- 1/10/2022. However, it gives the error "Invalid date" when I try to add it manually. (Oppo Reno7-Android-12)

image IMG_20221109_091940

nswses-gis-pete commented 1 year ago

Build: 1.16.272 - Samsung Galaxy Note20 5G, Android 12, One UI v 4.1

Tested Low and used date and time pickers. Works with no issues other than date format, and as expected. Great feature. Just needs to be able to set date format for your local region.

J8L commented 1 year ago

'Start of capture' vs 'End of capture' seemed to make no difference for a point - comes up after the photo. Manual date entry format is MM/DD/YYY not DD/MM/YYYY as expected (and as per organisation settings / device local time settings). Otherwise seemed to work as expected. iOS (iPad) 1.16.270

alexhogan01 commented 1 year ago

works on Samsung galaxy s10 android 10

chrislandvogt commented 1 year ago

The manual date format is US, while the date picker is AU (presumably from the device settings) - it would be great if this was consistent.