ems-frontend icon indicating copy to clipboard operation
ems-frontend copied to clipboard

AB: Dashboard Export Feature

Open HasnatL-Adapptlimited opened this issue 1 year ago • 1 comments

Description

Dashboards can be exported to PDF, PNG, or JPEG Format and will be exported as the default size.

  • [ ] Widgets shown on the dashboard at the current time will be exported (if a user deletes a widget this widget won't be present in the export)
  • [ ] When Exporting a dashboard with a map in either, PDF or PNG the base map and web maps are replaced with a grey/ Black and white map with the layers persisted.
  • [ ] Included ability to add Header and Footer (header contains current date, name of the dashboard and link to page on the bottom).
  • [ ] The Widget toolbar, etc. shouldn’t be in view.

Useful links

  • https://dev.azure.com/WHOHQ/EMSSAFE/_workitems/edit/52683

Type of change

  • [X] New feature (non-breaking change which adds functionality)
  • Backend PR: https://github.com/ReliefApplications/ems-backend/pull/1121

Checklist:

( * == Mandatory )

  • [x] * I have set myself as assignee of the pull request
  • [X] * My code follows the style guidelines of this project
  • [X] * Linting does not generate new warnings
  • [X] * I have performed a self-review of my own code
  • [x] * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • [X] * I have commented my code, particularly in hard-to-understand areas
  • [X] * I have put JSDoc comment in all required places
  • [X] * My changes generate no new warnings
  • [X] * I have included screenshots describing my changes if relevant
  • [x] * I have selected labels in the Pull Request, according to the changes with code brings
  • [ ] I have made corresponding changes to the documentation ( if required )
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

HasnatL-Adapptlimited avatar Oct 02 '24 09:10 HasnatL-Adapptlimited

Hey @AntoineRelief

PR has been opened for Dashboard Export

CC: @Matthis-M-ReliefApps, @morgang-adappt, @Nazir-Ahmed-adappt

HasnatL-Adapptlimited avatar Oct 02 '24 10:10 HasnatL-Adapptlimited

@HasnatL-Adapptlimited

merged in another branch we changed some code to avoid duplication & simplify it

AntoineRelief avatar Oct 18 '24 08:10 AntoineRelief