devabhishekpal opened a new pull request, #9203: URL: https://github.com/apache/ozone/pull/9203
## What changes were proposed in this pull request? HDDS-13840. Reset Namespace metadata pagination when path changes Please describe your PR in detail: * In the new UI the Namespace Usage page metadata table is already mounted unlike in the Old UI. In case of the Old UI the metadata table was re-rendered on each path change causing it to properly reset to the first page. * In the new UI since this table is already mounted the path change doesn't re-render the table and hence the pagination state is maintained across path updates causing the path to be persisted. * This PR addresses the issue by explicitly updating the page to 1 i.e the first page when the path is changed ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13840 ## How was this patch tested? Patch was tested manually Before change: https://github.com/user-attachments/assets/c726fc81-a1b2-4d30-9100-4a72a601235f After change: https://github.com/user-attachments/assets/6e8dd4fb-80d3-4a30-8e55-87de4dd8cbd3 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
