Skip to content

ATLAS-5347: Atlas React UI: Skeleton loader stuck indefinitely in Administration Audit tab when expanding Purge/Auto-Purge entity details#700

Open
Brijesh619 wants to merge 1 commit into
apache:masterfrom
Brijesh619:ATLAS-5347
Open

Conversation

@Brijesh619

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

ATLAS-5347: Fix Skeleton Loader stuck indefinitely in Administration Audit tab for Purge operations

When expanding the details for PURGE or AUTO_PURGE operations in the React UI Administration Audits tab, the skeleton loader would get stuck spinning indefinitely.

This patch fixes the issue by:

  1. Explicitly passing loading={false} to <AuditsTab /> within AuditResults.tsx.
  2. Updating the rendering condition in AttributeProperties.tsx to strictly check for loading === true rather than defaulting to the skeleton loader when loading is undefined.
  3. Updating the corresponding Jest unit tests in AttributeProperties.test.tsx to match the new strict conditional rendering logic.

How was this patch tested?

  • Manual Testing: Verified locally that expanding PURGE and AUTO_PURGE operations in the Administration Audits UI successfully loads the data without freezing the skeleton loader.
  • Unit Tests: Updated and successfully ran Jest unit tests (AttributeProperties.test.tsx) to verify that the loader disappears correctly when entity data is available and loading is not explicitly set to true.

…inistration Audit tab when expanding Purge/Auto-Purge entity details
@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-07-20 17-49-47

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-07-20 17-53-31

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-07-20 18-09-45

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.

1 participant