Skip to content

Replace xls with xlsx#7421

Merged
oriolgual merged 19 commits intodecidim:developfrom
mainio:feature/xlsx_exports
Mar 5, 2021
Merged

Replace xls with xlsx#7421
oriolgual merged 19 commits intodecidim:developfrom
mainio:feature/xlsx_exports

Conversation

@lahdeero
Copy link
Copy Markdown
Contributor

🎩 What? Why?

This pull request updates Decidim to newer excel format and because of that, we have to replace spreadsheet gem with rubyXL gem.

📌 Related Issues

https://meta.decidim.org/processes/roadmap/f/122/proposals/14921

Testing

  1. Login as admin
  2. Try to export something (in the excel format) from admin panel (e.g results from a accountability component)
  3. Go to http://localhost:3000/letter_opener and download export
  4. Import proposals (Example file can be found at decidim-dev/lib/decidim/dev/assets/import_proposals.xlsx)
  5. Go to see imported proposals

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

♥️ Thank you!

oriolgual
oriolgual previously approved these changes Feb 23, 2021
Copy link
Copy Markdown
Contributor

@oriolgual oriolgual left a comment

Choose a reason for hiding this comment

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

Could we test this in a staging environment?

@oriolgual
Copy link
Copy Markdown
Contributor

Can be tested here @decidim/product https://decidim-staging-pr-311.herokuapp.com/

@carolromero
Copy link
Copy Markdown
Member

Tested, thanks for the PR @lahdeero!

@oriolgual oriolgual merged commit 792b02c into decidim:develop Mar 5, 2021
@ahukkanen ahukkanen deleted the feature/xlsx_exports branch March 5, 2021 19:46
entantoencuanto added a commit that referenced this pull request Mar 5, 2021
* develop:
  Fix infinite loop when impersonated session time runs out (#7221)
  New Crowdin updates (#7543)
  Migrate Admin menus to Menu Registry Part 2 (#7382)
  Replace xls with xlsx (#7421)
  Use cache_key_with_version instead of cache version (#7532)
  Add support for ElectionGuard voting scheme (#7454)
  Fix record encryptor trying to decrypt empty strings (#7542)
  Revert "Don't schedule CI jobs for locales PRs (#7534)" (#7546)
  New Crowdin updates (#7540)
  New Crowdin updates (#7539)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants