Aias00 opened a new pull request, #891: URL: https://github.com/apache/rocketmq-dashboard/pull/891
## Summary - add a shared `downloadBlob` helper that appends a hidden temporary anchor before clicking it - reuse the helper for DLQ export, audit log export, alert rule export, and message body download - add unit coverage for anchor attachment, cleanup, and object URL revocation ## Tests - npm test -- --run src/utils/download.test.ts src/pages/instance/__tests__/DLQPage.test.tsx src/pages/ops/__tests__/AuditPage.test.tsx src/pages/studio/__tests__/AlertManagement.test.tsx src/pages/instance/__tests__/MessagePage.test.tsx - npm run lint -- src/utils/download.ts src/utils/download.test.ts src/pages/instance/dlq.tsx src/pages/ops/audit.tsx src/pages/studio/AlertManagement.tsx src/pages/instance/message.tsx - git diff --check Closes #890 -- 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]
