coder999o opened a new pull request, #5105: URL: https://github.com/apache/rocketmq-dashboard/pull/5105
## What is the purpose of the change The LiteTopic page omits the required `instanceId` when extending TTL, causing the backend to reject the request. Allow operators to select an Apache instance and include its identifier in the request, while retaining the backend ownership checks. ## Brief changelog - Add an Apache instance selector to the TTL update dialog. - Automatically select the sole Apache instance and require explicit selection when multiple instances exist. - Disable submission until an instance and a positive TTL are provided. - Add API and page regression tests for the request payload and instance selection. ## Verifying this change - `cd web && npm test -- src/api/liteTopic.test.ts src/pages/studio/__tests__/LiteTopic.test.tsx` (24 tests passed) - Changed-file ESLint: no errors; one existing Fast Refresh warning. - `git diff --check` - Not tested against a live RocketMQ broker. -- 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]
