Brijesh619 opened a new pull request, #694: URL: https://github.com/apache/atlas/pull/694
## What changes were proposed in this pull request? **ATLAS-5303: ATLAS React UI: Audit Filters dropdown UI breaks when audit table has no data** - Refactored `AdminAuditTable` to pass the "Filters" button natively into the `TableLayout` via the `customLeftButton` property. - Removed the floating `div` wrapper and negative margins that previously caused the UI layout to break when the table was empty. - Disabled the Filters button during table loading to prevent API race conditions. - Updated the `TableLayout` mock in the test suite to properly render `customLeftButton`. ## How was this patch tested? - **Unit Tests:** Updated `AdminAuditTable.test.tsx` to assert the disabled loading state and verify the mock structure. Verified all 50 tests pass successfully (`npm run test`). - **Manual Tests:** Verified the Filters button aligns cleanly within the table toolbar when the audit table is fully populated and when it displays "No Records found!". -- 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]
