Skip to content

Add modern CWMS tabular data upload - #322

Open
krowvin wants to merge 7 commits into
USACE-WaterManagement:mainfrom
inguyen314:feature-cwms-data-upload
Open

Add modern CWMS tabular data upload#322
krowvin wants to merge 7 commits into
USACE-WaterManagement:mainfrom
inguyen314:feature-cwms-data-upload

Conversation

@krowvin

@krowvin krowvin commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • convert Ivan's vanilla tabular-data prototype into the reusable React CWMSDataUpload input integrated with CWMSForm
  • add Groundwork hooks and helpers for workbook validation, CDA comparison, plotting, filtering, and confirmed submission/deletion workflows
  • replace the prototype's vendored libraries, standalone styles, sample binaries, and static assets with current Groundwork components and Tailwind styling
  • export the new form surface and add focused component/helper tests, a Changeset, and an interactive documentation route

Validation

  • npm test — 14 test files and 51 tests passed
  • npm run build-lib
  • npm run build-docs-prod
  • npm run check-changeset
  • interactive docs route verified in a browser with upload controls, table, plot, and filtering rendered without console errors
  • npm audit --omit=dev --audit-level=high — no high-severity production advisories; two moderate transitive uuid advisories remain through ExcelJS

@krowvin

krowvin commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

I'll start converting this to React, Tailwind CSS, Groundwork, and Groundwork Water components, hooks, forms, styles, and documentation.

@krowvin krowvin changed the title Prototype CWMS tabular data upload Add modern CWMS tabular data upload Aug 18, 2026
@krowvin
krowvin requested a review from inguyen314 August 18, 2026 05:39
@krowvin
krowvin marked this pull request as ready for review August 18, 2026 05:39
@krowvin

krowvin commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

CWMSDataUpload preview

The interactive docs example uses controlled in-memory rows, so it demonstrates the complete presentation and form-registration path without reading from or writing to CDA.

Workbook upload and summary

CWMSDataUpload workbook picker, technology badges, and parsed upload summary

Workbook time-series plot

CWMSDataUpload workbook values rendered in the Groundwork Water time-series plot

Validated row preview

CWMSDataUpload validated rows with status, office, TSID, date, value, quality, and text columns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants