ATLAS-5296: ATLAS UI: React UI fixes, audit table pagination text, Masonry grid#636
Open
pawarprasad123 wants to merge 1 commit into
Open
ATLAS-5296: ATLAS UI: React UI fixes, audit table pagination text, Masonry grid#636pawarprasad123 wants to merge 1 commit into
pawarprasad123 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tsxdashboard/src/components/Masonry/MasonryCard.tsxdashboard/src/components/Masonry/masonry.cssdashboard/src/views/MasonryDemo.tsx(demo; not wired toRouter.tsxunless you add a route in a follow-up)Other UI / behavior fixes (high level)
Session / config:
Global.tsuses nullish coalescing wherefalse/0must be preserved;sessionSliceimproves rejected-action error messaging.Components: QueryBuilder
Filtersdefault for BM defs; ShowMore edge cases; Table pagination a11y (role,aria-label);CustomButtonforwards 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);
EntityFormreducer export and safer entity name extraction; layout header QuickSearch visibility and session modal close handler fix.Statistics:
ServerStatsnested metric key handling and stable table cell keys.Misc:
RelationShipSearchentity-def lookup and column merge;Utilscomment; trivial license whitespace where touched.How was this patch tested?
Manual test






<img width="1849" height="1131" alt="image" src="https://github.com/user-attac
hments/assets/2279dfad-d6d6-4d8a-9a83-6eafb4d2ea8a" />