Repository navigation
MyClientListing columns
Paulo Gomes da Cruz Junior edited this page Jun 16, 2026
·
3 revisions
MyClientListing/constants.tsx exports the column definitions array that drives the My Client List results table.
- Source:
frontend/src/components/waste/MyClientListing/constants.tsx - Tests:
frontend/src/components/waste/MyClientListing/index.unit.test.tsx
TableHeaderType<MyForestClientDto>[] — Column configuration array passed directly to the TableResource component.
| Column key | Header label | Sortable | Default visible | Render component |
|---|---|---|---|---|
client.code |
Client No. | Yes | Yes |
RedirectLinkTag — links to /search?clientNumbers={value} in the same tab |
client.description |
Client name | Yes | Yes | Plain text |
submissionsCount |
RUs created by me | No | Yes | Plain text |
blocksCount |
Draft blocks in my RUs | No | Yes | Plain text |
lastUpdate |
Last Update | Yes | Yes | DateTag |
- The
client.codecolumn redirects to the waste search page pre-filtered by the selected client number. The navigation is same-tab (sameTab=true) using TanStack RouterLink. - All other linked or formatted columns use standard tag components with no feature-flag dependency.
- The
client.coderedirect URL embeds the client number as a query param:/search?clientNumbers={value}. If the search page route or param name changes, this constant must be updated. - Adding or removing columns requires updating both this file and any snapshot tests that assert on the rendered header list.
This wiki documents NR Waste Plus for users and developers. Verify security and deployment guidance against the current application configuration before applying it elsewhere.
- Report an issue or ask a question in the GitHub repository.
- Follow the Contributing Guidelines to propose an update.
- Read the Code of Conduct.
Collection indexes support human browsing and machine retrieval. Keep both current when adding or moving wiki pages.
NR Waste Plus Wiki | GitHub Repository