messere1 opened a new pull request, #1912: URL: https://github.com/apache/rocketmq-dashboard/pull/1912
## Summary - return a filename together with the exported Grafana dashboard bundle - download mock-mode bundles as JSON instead of labeling JSON bytes as a ZIP archive - preserve ZIP downloads for real backend exports ## Root cause The mock implementation serialized dashboards as JSON but assigned `application/zip` and the UI always used a `.zip` filename. The resulting download could not be opened as a ZIP archive. Closes #1694 ## Validation - `npm run test -- --run src/services/grafanaService.test.ts` (7 passed) - `npm run test -- --run src/components/__tests__/GrafanaDashboardList.test.tsx` (6 passed) - focused ESLint on all four changed files - `npm run build` - `git diff --check` -- 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]
