Skip to content

feat(DataTable): default contact & well list pages to 20 rows (BDMS-1525) - #434

Merged
TylerAdamMartinez merged 2 commits into
claude/sleepy-wozniak-2dhqc2from
BDMS-1525-Limit-page-lists-to-20-rows-on-all-views-Preview
Nov 17, 2026
Merged

TylerAdamMartinez merged 2 commits into
claude/sleepy-wozniak-2dhqc2from
BDMS-1525-Limit-page-lists-to-20-rows-on-all-views-Preview

Conversation

@TylerAdamMartinez

@TylerAdamMartinez TylerAdamMartinez commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem / context:

  • Improve the usability of the contacts list by allowing authorized users to view and compare multiple contacts' confidential information simultaneously.
  • Improve the readability of the wells list by preventing linked project names from wrapping across multiple lines.
  • Provide more flexible pagination options and reduce the default number of records displayed per page.

How

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

  • Added reusable expandable row functionality to the DataTable component.
  • Reduced the default page size from 50 to 20 records for both the contacts and wells lists.
  • Updated the wells list Projects column to prevent text wrapping and enforce a minimum column width.

Author Checklist

  • Changes are limited to the intended scope.
  • Tests were added or updated where appropriate.
  • Relevant tests and lint checks pass.
  • No secrets, credentials, or sensitive data were publicly exposed.
  • Documentation was updated where necessary.

Reviewer Checklist

  • Verify authorized users can expand and collapse contact rows.
  • Verify multiple contact rows can remain expanded simultaneously.
  • Verify expanded rows display the correct email, phone, and address information.
  • Verify expanding or collapsing a row does not trigger navigation.
  • Verify contact name links continue to navigate to their respective contact pages.
  • Verify both the wells and contacts lists default to 20 records per page.
  • Verify pagination supports 20, 50, and 100 records per page.
  • Verify linked project names remain on a single line and horizontal scrolling works as expected.
  • Verify existing tables without expandable rows continue to function as expected.

Notes

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

  • No backend or database schema changes are introduced.

@github-actions

Copy link
Copy Markdown

@lizalino

Copy link
Copy Markdown

@TylerAdamMartinez I like it, works well on Well List page. I will say the shorter view on Well List looks a little weird, but I like having the additional room to grow with expanders (similar to what's been implemented on the Contacts page) to show water levels etc., something to keep in mind.

@TylerAdamMartinez
TylerAdamMartinez marked this pull request as ready for review November 16, 2026 21:28
@jirhiker

Copy link
Copy Markdown
Member

Looks good. Only issue I found was that the Projects data grid lacks records per page control

@TylerAdamMartinez
TylerAdamMartinez merged commit 8a24d18 into claude/sleepy-wozniak-2dhqc2 Nov 17, 2026
17 checks passed
@TylerAdamMartinez
TylerAdamMartinez deleted the BDMS-1525-Limit-page-lists-to-20-rows-on-all-views-Preview branch November 17, 2026 20:25

This branch was successfully deployed

1 active deployment
staging — 6b68f02f Deployed Nov 17, 2026 by TylerAdamMartinez via teardown / teardown #797
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