kcigeospatial / MDOT-SHA-NPDES-Next-Gen

Code and issues related to the MDOT SHA NPDES Project. Project codes: Config = 31, Management = 32.
0 stars 0 forks source link

Improve 'Design Subcategory' usability #436

Open talllguy opened 4 years ago

talllguy commented 4 years ago

Prerequisites

New schema design for design subcategories with various types of swales published.

Details

The method for loading Design Subcategory as a free-text field with no requirement introduces the potential for error if users inadvertently alter the text. Best practices for Survey123 UX suggest limiting this kind of potential through the use of domains.

Set up a choice list for the design subcategories in the form and then default them based on an incoming parameter.

talllguy commented 4 years ago

@KCI-Ablowers I added this issue based on our call yesterday. We can wait until the prerequisite is complete but we should keep up the standards the NPDES NG was developed under.

KCI-Ablowers commented 4 years ago

Temporarily updated the "KCI_1 BMP Inspection" to handle the new design sub present in the "additional grass swales." I noticed that Collector on my iPad pulls in the full description name “2A Grass Swale (2A - WPD use only)” while launching the inspection through the web map only pulls through "2A". Examples-

Survey123 on Windows w/ Inspection launched from the AGOL Web Map - image

Survey123 on iOS w/ Inspection launched from Collector - BMP_DesignSub_3

This should be accounted for in the proposed domain (choice) above.

talllguy commented 4 years ago

@KCI-Ablowers that behavior is known (at least to me) when dealing with domains and parameters. There are some ways to work around it though. When do they start using this?

KCI-Ablowers commented 4 years ago

@talllguy For some reason, I thought the codes and descriptions were updated to be identical and the Windows version was cutting the value short. Looking at the 6/2/20 export I have that is not the case.

I believe they will begin working on the additional grass swale inspections sometime this week. They should be good to go with the iPad workflow.

talllguy commented 4 years ago

Shall we close this then as mitigated by the use of the iPad? For maximum compatibility you have to set up a field to receive the domain and do a decode calculation, or figure out another way.

KCI-Ablowers commented 4 years ago

Not sure we should close this yet. Also noticed that the design subcategory value in the inspection is not being carried over to the inbox. I assume this is due to it being hidden or null. We should consider adding this to the inspection feature service so it is retained when making edits.