Wells list: prioritize key columns and add column descriptions#264
Wells list: prioritize key columns and add column descriptions#264jeremyzilar merged 6 commits intostagingfrom
Conversation
Reorder DataGrid columns so Name, Site name, Monitoring, and Created At appear first. Add site_name column with empty-string fallback. Set description on each column for MUI header accessibility and columns panel.
Use formatAppDate instead of formatAppDateTime for the Created At column and tighten column width.
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
Use API site_name with NMBGMR alternate_id fallback to match backend Thing.site_name. Apply on wells list column and well show ContactsCard.
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
|
@jeremyzilar Updating the sort breaks in preview. |
|
Thank you @TylerAdamMartinez -- will fix |
|
Instead of trying to patch sorting. Why not remove it for now.... |
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
…lter limits Enable sorting on Associated Sites, Aquifers, and Contacts where the API defines rules and add column descriptions for sort semantics. Update data-tables.md for MUI X Community single column filter in the panel, multi-filter capability on the API side, and refresh sortability in the column tables. Clarify site name description and simplify README deployment hosting examples.
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
|
@jeremyzilar I'm taking it that DataIntegrationGroup/OcotilloAPI#665 needs to be merged first. |
After each successful thing/water-well details fetch, log a JSON snapshot and pretty-printed copy so the full response is inspectable in DevTools in dev, staging, and production.
Preview DeploymentPreview URL: https://preview-feature-wells-list-columns-reorder-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |

Waiting on DataIntegrationGroup/OcotilloAPI#665 to be merged
What is changing
Reorders the wells DataGrid so the first visible columns are Name, Site name, Monitoring, and Created At, then the rest of the fields in a familiar order. Adds a site_name column (from
IWell.site_name).Column descriptions
Each
GridColDefnow has adescriptionstring for clarity in the MUI X column header metadata and related UI (for example the columns management experience where supported).