[OpenNMS/opennms] 1bb3a6: NMS-20153: CSV and PDF export for Resource Graphs
joseanesONMS via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/jira/NMS-20153-resource-graph-export/[email protected]> |
Branch: refs/heads/jira/NMS-20153-resource-graph-export
Home: https://github.com/OpenNMS/opennms
Commit: 1bb3a6567b485740606c9127cb340262ca712e9d
https://github.com/OpenNMS/opennms/commit/1bb3a6567b485740606c9127cb340262ca712e9d
Author: Jose Anes <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M ui/package.json
M ui/src/components/Resources/Graph.vue
M ui/src/components/Resources/Graphs.vue
A ui/src/components/Resources/utils/graphExport.ts
A ui/tests/resourceGraphExport.test.ts
A ui/tests/resourceGraphPdfExport.test.ts
Log Message:
-----------
NMS-20153: CSV and PDF export for Resource Graphs
Each graph gains a CSV button that downloads its data as one column per plotted
metric and one ISO-timestamped row per sample, with gaps left blank. The Resource
Graphs page gains a PDF button that renders every loaded graph — title, chart
image, and legend stats — into a single landscape PDF via jsPDF.
Commit: 2feb276f97c5819457740e7539b6c7c95c656e5e
https://github.com/OpenNMS/opennms/commit/2feb276f97c5819457740e7539b6c7c95c656e5e
Author: Jose Anes <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M ui/pnpm-lock.yaml
M ui/src/components/Resources/Graph.vue
M ui/src/components/Resources/Graphs.vue
M ui/src/components/Resources/utils/graphExport.ts
M ui/src/composables/useDownload.ts
M ui/tests/resourceGraphExport.test.ts
M ui/tests/resourceGraphPdfExport.test.ts
Log Message:
-----------
NMS-20153: address review — useDownload, OnmsIconButton, regenerate lockfile
Per review: route the CSV and PDF downloads through composables/useDownload
(new downloadBlob helper) instead of a bespoke anchor/URL and jsPDF.save, so
there's one download path. The CSV/PDF export buttons use OnmsIconButton with
the DownloadFile icon. Rebased onto the latest develop and regenerated
ui/pnpm-lock.yaml.
Compare: https://github.com/OpenNMS/opennms/compare/14210d81a028...2feb276f97c5
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs