NWFWMD-IT / Hydrologic-Monitoring-Project

0 stars 0 forks source link

Order MeasuringPoints by Most Used (ENH-000158597) #86

Closed mripp closed 6 months ago

mripp commented 1 year ago

Requirements

When the user pulls up the survey the Measuring Point in the 1st position is the location that gets used most frequently

Persisting Display Order

We desire to control the display order of Measuring Points in the Survey123 and, optionally, Field Maps geodatabase clients. The Aquarius application / users does not have this requirement and, in turn, does not have an attribute for sorting Measuring Points. Alternatives such as embedding the display order as a prefix in the Measuring Point name, or adding a tagged display order property to the free-form text description are unpalatable.

Accordingly, the system-of-record for Measuring Point display order should be the geodatabase.

The existing model supports storing this information in the MeasuringPoint.DisplayOrder attribute. We need a workflow for preserving these values when updating the geodatabase, both during:

The production update workflow still needs to be designed.

For now, during testing, we should preserve a copy of the MeasuringPoint table outside the hydro geodatabase (which will be dropped during update). Upon subsequent update, we can transfer the prior DisplayOrder values to the updated MeasuringPoint table by joining it to the copied table on the AquariusID attribute.

To Do

mmannion commented 1 year ago

Database requires that client (Survey) determines sort order (ORDER BY). Need to figure out how to pass ORDER BY clause from Survey.

mmannion commented 1 year ago
mripp commented 1 year ago

Based on email correspondence with James Tedrick on April 17, 2023. There isn't a parameter in Survey123 to order the records queried from an Inbox.

Based on this information I think we should talk about terminated this tasks. If there isn't a way to sort in the database and their isn't a way to sort in Survey123 this will not be possible.

mmannion commented 1 year ago

Per team meeting, do back-end work and file enhancement request for order by support

SarahNWF commented 1 year ago

Morgan to look into how measuring points are being ordered How to customize order of radio buttons

mripp commented 1 year ago

On next call Morgan to demo how Measuring Points are shown in Applications

Example: 008099, 008481

FieldMaps ordered by OBJECTID Image

Survey123 Shown under Inventory Section, ordered by OBJECTID by default Image

Shown in the Stage, and Groundwater section, can be ordered by OrderBy field since it comes from the external CSV Image

mripp commented 1 year ago

Discussed on 8/14

mripp commented 1 year ago

ENH is still under review. I emailed the tech support representative since they never responded from a previous email

mmannion commented 6 months ago

Per 2024-05-13 team meeting:

Therefore, this would be nice to have, but not critical. Moving to Rejected.