Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin panel - Export Donations to excel #1245

Merged
merged 6 commits into from
Dec 11, 2022

Conversation

AndreyGoranov
Copy link
Contributor

Closes #700
Goes together with a PR made on the API repo podkrepi-bg/api#391

Motivation and context

  • Add a new button for downloading a file to the Donations AppGrid with a translated title
  • Add the new endpoint
  • Update donation service to make requests to the new endpoint

Screenshots:

The new UI change
image
image
Excel file with specific columns
image

Paste screenshot|Paste screenshot

Testing

Tested by clicking on the icon and expecting to download a file in excel format
Tested with both API methods one with specified columns and one default with all available columns
Tested with no data ( It shows that there is a problem) and won't export an empty file

Steps to test

Affected urls

Environment

New environment variables:

  • NEW_ENV_VAR: env var details

New or updated dependencies:

The new dependency is on the server side -> https://github.com/exceljs/exceljs

Dependency name Previous version Updated version Details
dependency/name v1.0.0 v2.0.0

@github-actions
Copy link

github-actions bot commented Dec 9, 2022

❌ Not all tests have run for this PR. Please add the run tests label to trigger them.

@kachar kachar added the run tests Allows running the tests workflows for forked repos label Dec 9, 2022
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 9, 2022
@kachar kachar added the run tests Allows running the tests workflows for forked repos label Dec 9, 2022
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 9, 2022
Copy link
Member

@kachar kachar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@kachar
Copy link
Member

kachar commented Dec 9, 2022

Waits for backend PR to be merged

@kachar kachar merged commit 2593a22 into podkrepi-bg:master Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Admin panel - Export Donations to excel
3 participants