Aias00 opened a new pull request, #801: URL: https://github.com/apache/rocketmq-dashboard/pull/801
### What changed This PR makes the LiteTopic page fail closed when capability detection is unavailable. Previously, if `/api/liteTopic/capability` failed, the page assumed LiteTopic support and continued to load list/quota data. Now it clears current data, stops loading, and renders the unavailable state instead. ### Why The UI should not expose LiteTopic management when Studio cannot confirm that the backend/provider path supports it. This avoids misleading users with an enabled management surface during backend/provider failures. Fixes #795. ### Verification ```bash npm test -- --run src/pages/studio/__tests__/LiteTopic.test.tsx ``` Result: 1 test file passed, 9 tests passed. -- 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]
