Baluduvamsi2006 opened a new pull request, #3305:
URL: https://github.com/apache/apisix-dashboard/pull/3305

   ### What this PR does
   
   This PR introduces a reusable `ResourceListPage` component and refactors 
existing resource list pages to use it.
   
   Previously, each resource list page (Services, Routes, Consumers, Upstreams, 
etc.) duplicated the same ProTable setup, pagination handling, toolbar logic, 
page header, and empty-state behavior. This duplication made maintenance harder 
and increased the risk of inconsistencies.
   
   With this change:
   - Common list-page logic is centralized in `ResourceListPage`
   - Resource pages now only define resource-specific columns and hooks
   - UI behavior, DOM structure, and user experience remain unchanged
   - Future list-page updates can be applied in a single place
   
   Additionally, this PR improves E2E test stability by tightening selectors, 
improving cross-platform path handling, and reducing flakiness during parallel 
execution.
   
   ### Why this change is needed
   
   - Reduces duplicated boilerplate across multiple pages
   - Improves long-term maintainability
   - Keeps list-page behavior consistent across the dashboard
   - Improves test reliability without changing functionality
   
   ### Checklist
   
   - [x] UI refactor only (no API or behavior changes)
   - [x] Backward compatible
   - [x] Lint passed
   - [x] Build passed
   - [x] E2E tests passing
   


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