Skip to content

ATLAS-5350: Atlas UI: Enhance Purge Audit Results UI - #708

Open
Brijesh619 wants to merge 2 commits into
apache:masterfrom
Brijesh619:ATLAS-5350
Open

ATLAS-5350: Atlas UI: Enhance Purge Audit Results UI#708
Brijesh619 wants to merge 2 commits into
apache:masterfrom
Brijesh619:ATLAS-5350

Conversation

@Brijesh619

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This patch introduces functional UI enhancements to the Audit Purge view for both the Classic (dashboardv2) and React dashboards to provide a more accurate and comprehensive audit trail.

Summary of Changes:

  • Total Purged Count Calculation: Updated the Purge Summary logic to combine purgedCount and purgedDependenciesCount from the backend JSON payload, ensuring the "Total Purged" card displays the accurate total of all impacted entities.
  • Purge Summary Drawer: Implemented interactive clickable cards on the Purge Summary view that open a side drawer. This drawer paginates and lists all the individual GUIDs that were requested or purged, allowing administrators to easily track exactly which entities were affected by a purge operation.
  • Drawer Pagination: Added proper server-side pagination to the Purged Entities drawer so it accurately limits API requests to the total count of purged entities, displaying the exact results without endless loading.

How was this patch tested?

Manual Tests:

  • Triggered a Purge operation and verified that the "Total Purged" card accurately sums both the base purged count and the dependencies purged count.
  • Clicked on the "Requested" and "Total Purged" summary cards to verify that the side drawer successfully opens and renders the respective lists of GUIDs.
  • Scrolled to the bottom of the drawer list to verify that the server-side pagination correctly loads the next batch of GUIDs and halts exactly when the total count is reached.
  • (Screenshots attached demonstrating the summary cards and the GUID drawers)

@Brijesh619

Copy link
Copy Markdown
Contributor Author

Atlas React UI

Screenshot from 2026-07-30 11-06-33 Screenshot from 2026-07-30 11-06-00 Screenshot from 2026-07-30 11-05-37 Screenshot from 2026-07-30 11-05-30 Screenshot from 2026-07-30 11-04-07

Atlas Classic UI

Screenshot from 2026-07-30 11-12-07 Screenshot from 2026-07-30 11-11-21 Screenshot from 2026-07-30 11-11-14 Screenshot from 2026-07-30 11-11-03

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-07-30 11-47-34

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-07-30 12-06-12

Comment thread dashboard/src/views/Administrator/Audits/AuditResults.tsx Outdated
Comment thread dashboard/src/views/Administrator/Audits/AuditResults.tsx Outdated
Comment thread dashboard/src/views/Administrator/Audits/AuditResults.tsx Outdated
Comment thread dashboardv2/public/css/scss/style.scss Outdated
Comment thread dashboard/src/views/Administrator/Audits/AuditResults.tsx Outdated
Comment thread dashboardv2/public/js/templates/audit/DrawerView_tmpl.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants