Frun1na opened a new issue, #4596:
URL: https://github.com/apache/rocketmq-dashboard/issues/4596

   ### Before Creating the Bug Report
   
   - [x] I have searched the [open 
issues](https://github.com/apache/rocketmq-dashboard/issues) of this repository 
and believe that this is not a duplicate.
   
   - [x] This is a defect in RocketMQ Studio, not a usage question and not a 
defect in another Apache RocketMQ repository.
   
   - [x] I can reproduce this on the current `master` branch, or I have stated 
the exact version I am running below.
   
   
   ### Studio Version
   
   branch: master
   git commit id: d50ffecc9d7e8f8f46da64198831bd7952e6974e
   deployed as: built from source (`cd web && npm run dev`)
   
   ### Runtime Environment
   
   OS: Windows 11 with WSL2 (Ubuntu 24.04.3 LTS)
   MySQL: not involved in this frontend issue
   browser: Chrome 151.0.7922.174 on Windows 11
   
   ### Connected RocketMQ Cluster
   
   RocketMQ 4.x / 5.x cluster registered in Studio
   access mode: Direct to NameServer/Broker (V4_DIRECT cluster)
   deployment: any cluster registered in Studio; verified by code inspection 
and unit tests with mocked services, no specific cluster deployment required
   
   ### Build Toolchain
   
   _No response_
   
   ### Describe the Bug
   
   #4240 made the Clients page reset its table column filters when the selected 
NameServer changes, but the text search and the type filter still carry over: 
after switching, the search input keeps the old term and the connection request 
keeps the old `type` value (e.g. `Consumer`), so the new endpoint's connections 
can all be hidden by the previous endpoint's filters.
   
   ### Steps to Reproduce
   
   1. Open the Clients page and connect to a NameServer.
   2. Type a search term in the search box and set the type filter to 
`Consumer`.
   3. Switch to another NameServer in the NameServer selector.
   4. The search input still shows the old term and the request is issued with 
the stale `type` value; rows of the new endpoint may be hidden.
   
   ### What Did You Expect to See?
   
   The text search and type filter reset together with the column filters and 
cluster filter when the NameServer changes.
   
   ### What Did You See Instead?
   
   The previous endpoint's search text and type filter persist after switching, 
and the new endpoint's connections can be entirely hidden by them.
   
   ### Additional Context
   
   _No response_
   
   ### Are You Willing to Submit a Pull Request?
   
   - [x] Yes, I am willing to submit a pull request.


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