pawarprasad123 opened a new pull request, #636:
URL: https://github.com/apache/atlas/pull/636
## What changes were proposed in this pull request?
Administrator — Audit pagination
The audit API does not provide a global total. The shared table footer was
effectively treating the *current page size* as the total, producing misleading
text (e.g. “Showing 26–50 of 25”).
*`paginationSummaryVariant="audit"`* on the admin audit table only.
Footer copy: *`Showing {n} records From {start} - {end}`* using offset +
current page row count (last page shows the real partial count).
*Files:* `AdminAuditTable.tsx`, `TableLayout.tsx`, `TablePagination.tsx`,
`tableLayoutType.ts`, `COMPREHENSIVE_TEST_DOCUMENTATION.md` (note only).
Masonry layout (new)
Adds a responsive CSS Grid–based masonry-style layout and card wrapper, with
local styles.
`dashboard/src/components/Masonry/MasonryGrid.tsx`
`dashboard/src/components/Masonry/MasonryCard.tsx`
`dashboard/src/components/Masonry/masonry.css`
`dashboard/src/views/MasonryDemo.tsx` (demo; not wired to `Router.tsx`
unless you add a route in a follow-up)
Other UI / behavior fixes (high level)
*Session / config:* `Global.ts` uses nullish coalescing where `false`/`0`
must be preserved; `sessionSlice` improves rejected-action error messaging.
*Components:* QueryBuilder `Filters` default for BM defs; ShowMore edge
cases; Table pagination a11y (`role`, `aria-label`); `CustomButton` forwards
extra props; DatePicker header prop typing; Import layout keys and file-size
display; mui / lineage / search result fixes.
*Detail / entity:* Safer parsing and defaults (BM, classification layouts,
attribute tables, audit details, lineage, glossary term panels, relationship
lineage keys and D3 guard); `EntityForm` reducer export and safer entity name
extraction; layout header QuickSearch visibility and *session modal* close
handler fix.
*Statistics:* `ServerStats` nested metric key handling and stable table cell
keys.
*Misc:* `RelationShipSearch` entity-def lookup and column merge; `Utils`
comment; trivial license whitespace where touched.
## How was this patch tested?
Manual test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]