Closed p-a-s-c-a-l closed 4 years ago
Drop support for angular-screenshot as it supports only Chrome. See https://github.com/weihanchen/angular-screenshot/issues/2
We use html2canvas to generate a screenshot of the map area that should be included in the report and upload the PNG image to Drupal. However, at the moment Files created with REST API are only temporary!
JSON:API shall be used for saving screenshots: Allow creation of file entities from binary data
Integrated branch 'feature/03-report-generation (68f4cae7514967a12f42c89f47ea008206eac944)' into 'dev (f1b79f57a4dc8376171627cddb82a8f1cb6da6ed)' -- Build 27
done
Don't trust URIs in JSON received from Drupal JSON:API: https://github.com/clarity-h2020/docker-drupal/issues/57
Might become resolved in https://github.com/clarity-h2020/csis-helpers-module/issues/13
We have a report generation now. Can this be closed?
No, it's still not working with the Scenario Analysis App. See https://github.com/clarity-h2020/csis-helpers-module/issues/9#issuecomment-539633877
Is being addressed here.
Add support for Report Generation.
based on angular-screenshot to create a screenshot of the respective diagram DOM Element and send image data to the Drupal REST API.