Skip to content

[BDMS-324]: Add FieldEventHistory accordion to well detail page#211

Merged
TylerAdamMartinez merged 2 commits intostagingfrom
FEAT-TAM-BDMS-324
Mar 12, 2026
Merged

[BDMS-324]: Add FieldEventHistory accordion to well detail page#211
TylerAdamMartinez merged 2 commits intostagingfrom
FEAT-TAM-BDMS-324

Conversation

@TylerAdamMartinez
Copy link
Contributor

Why

This PR addresses the following problem/context:

  • Show who performed the latest field work and what activity occurred.

How

Implementation summary - the following was changed/added/removed:

  • Expanded ISample interface to include optional fields from the API response (field_event, field_activity, contact, etc.).
  • Created FieldEventHistoryAccordion to display field event information (date, activity, staff, organization, method, notes).

Notes

Any special considerations, workarounds, or follow-up work to note?

  • Currently, the table only shows the most recent field event

Example of a well with at least one field event

Captura de pantalla 2026-03-12 a la(s) 11 30 15

Example of a well with no field events

Captura de pantalla 2026-03-12 a la(s) 11 29 41

@jeremyzilar
Copy link
Contributor

Nice!
A few things you might consider:

  • Format the date to a human-friendly date? I believe I have a function for transforming the dates for the DataGrid. We should also talk about what format would be best for dates, or when to use what format.
  • I believe there is a param that you can pass that will hide the Rows per page bit at the bottom when there are less than 10 rows.

@TylerAdamMartinez TylerAdamMartinez self-assigned this Mar 12, 2026
@TylerAdamMartinez TylerAdamMartinez added the enhancement New feature or request label Mar 12, 2026
@TylerAdamMartinez TylerAdamMartinez merged commit 29e60fc into staging Mar 12, 2026
2 of 3 checks passed
@TylerAdamMartinez TylerAdamMartinez deleted the FEAT-TAM-BDMS-324 branch March 12, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants