Brijesh619 opened a new pull request, #700:
URL: https://github.com/apache/atlas/pull/700

   ## 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`.
   


-- 
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]

Reply via email to