yx9o opened a new pull request, #743:
URL: https://github.com/apache/rocketmq-dashboard/pull/743

   ## What is the purpose of the change
   
   The instance page previously loaded all instances and filtered them in the 
browser, although the backend already supports filtering by instance type and 
search keyword.
   
   This change connects the page filters to the backend while preserving 
searches by instance name, remark, and endpoint.
   
   ## Brief changelog
   
   - Forward instance type and search parameters through the API and service 
layers
   - Add debounced server-side filtering with stale response protection
   - Reload the current filtered results after create, update, and delete 
operations
   - Support endpoint matching in the backend instance repository
   - Keep mock filtering behavior consistent with the backend
   - Add API, service, page, and repository regression tests
   
   ## Verifying this change
   
   - `npm test -- --run src/api/instance.test.ts 
src/services/instanceService.test.ts 
src/pages/instance/__tests__/InstancePage.test.tsx`
   - `npm test -- --run --silent=passed-only`
   - `npm run lint`
   - `npm run build`
   - `mvn test`
   - Manually verified endpoint search, type filtering, combined filtering, and 
empty results with the frontend connected to the backend


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