coder999o opened a new pull request, #5242: URL: https://github.com/apache/rocketmq-dashboard/pull/5242
## What is the purpose of the change A LiteTopic row can contain multiple session IDs, but View Sessions always opens the first one. Operators cannot inspect the other sessions from that row. ## Brief changelog - Add a searchable session selector to the detail drawer when a row has multiple sessions. - Reuse the existing session query and request ownership when switching IDs. - Clear selection and invalidate pending detail responses when the drawer closes. - Cover switching to a second session in the page regression test. ## Verifying this change - `cd web && npm test -- src/pages/studio/__tests__/LiteTopic.test.tsx` (15 passed). - `cd web && npm test` (1362 passed). - `cd web && npx tsc -b` (passed). - `cd web && npm run lint` (0 errors, 11 warnings in existing files). - `cd web && npx prettier --check src/pages/studio/LiteTopic.tsx src/pages/studio/__tests__/LiteTopic.test.tsx` (passed). - `git diff --check` (passed). - No live Broker session lookup was run; the UI test uses mocked responses. -- 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]
