[
https://issues.apache.org/jira/browse/ATLAS-5296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad P. Pawar updated ATLAS-5296:
-----------------------------------
Parent: ATLAS-5173
Issue Type: Sub-task (was: Bug)
> ATLAS UI: React UI fixes, audit table pagination text, Masonry grid
> -------------------------------------------------------------------
>
> Key: ATLAS-5296
> URL: https://issues.apache.org/jira/browse/ATLAS-5296
> Project: Atlas
> Issue Type: Sub-task
> Components: atlas-webui
> Affects Versions: 3.0.0
> Reporter: Prasad P. Pawar
> Assignee: Prasad P. Pawar
> Priority: Major
>
> ## 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.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)