Admin Lists
Admin list pages should be dense, predictable, and fast to scan. They are tools for repeated operational work, not marketing pages.
UI conventions
Section titled “UI conventions”Use shared table primitives, compact row heights, no-wrap cells, sortable table headers where supported, and row-action menus for secondary actions. The primary column should usually link to the default detail action.
Keep horizontal overflow inside the table wrapper so the dashboard layout remains stable.
Query contract
Section titled “Query contract”Standard list endpoints use:
pagelimitsearchsortBysortOrder
Sort fields are endpoint-specific. limit should be bounded, and search strings should have a reasonable maximum length.
Pagination response
Section titled “Pagination response”Admin list responses should include:
pagination.pagepagination.limitpagination.totalpagination.totalPagespagination.hasNextpagination.hasPrev
Using the same shape across lists keeps UI code reusable and makes API behavior easier to document.