Skip to content

HDDS-13840. Reset Namespace metadata pagination when path changes#9203

Merged
ArafatKhan2198 merged 1 commit intoapache:masterfrom
devabhishekpal:HDDS-13840
Oct 28, 2025
Merged

HDDS-13840. Reset Namespace metadata pagination when path changes#9203
ArafatKhan2198 merged 1 commit intoapache:masterfrom
devabhishekpal:HDDS-13840

Conversation

@devabhishekpal
Copy link
Contributor

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:

Screen.Recording.2025-10-27.at.19.03.35.mp4

After change:

Screen.Recording.2025-10-27.at.19.02.37.mp4

@devabhishekpal
Copy link
Contributor Author

@devmadhuu @ArafatKhan2198 could you help with taking a look?

@devmadhuu devmadhuu self-requested a review October 28, 2025 03:16
Copy link
Contributor

@devmadhuu devmadhuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @devabhishekpal for the patch. Changes LGTM +1

@ArafatKhan2198 ArafatKhan2198 merged commit d5be986 into apache:master Oct 28, 2025
69 of 70 checks passed
@devabhishekpal devabhishekpal deleted the HDDS-13840 branch October 28, 2025 06:46
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jan 12, 2026
… changes (apache#9203)

(cherry picked from commit d5be986)
Change-Id: I7fc2b5ed64d4ec19af4e03037b1d72a959bb7696
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.

3 participants