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

Add bulk action for multilingual XLIFF export #1614

Merged
merged 1 commit into from Aug 18, 2022

Conversation

membralala
Copy link
Contributor

Short description

This PR adds a bulk action and a pop-up window for XLIFF export in multiple languages.

Proposed changes

  • Add bulk action option
  • Add a language selection and confirmation pop-up

Resolved issues

Fixes: #1549

@membralala membralala requested a review from a team as a code owner July 30, 2022 16:54
@codeclimate
Copy link

codeclimate bot commented Jul 30, 2022

Code Climate has analyzed commit 1b950a2 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 57.8% (50% is the threshold).

This pull request will bring the total coverage in the repository to 74.1% (0.0% change).

View more on Code Climate.

Copy link
Member

@timobrembeck timobrembeck left a comment

Choose a reason for hiding this comment

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

Thanks a lot, very cool feature and works as expected! 👍
Just a few ideas for improvement.

@membralala
Copy link
Contributor Author

Thanks for your feedback! I changed the behaviour based on your suggestions and I think you're right, it feels a bit more natural this way. Does this match your expectations as well? 🙂

Copy link
Member

@timobrembeck timobrembeck left a comment

Choose a reason for hiding this comment

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

Thanks a lot! 👍
Yes, this looks better! Still have a few ideas for improvement left 😉
After that, could you resolve the conflicts and squash the commits? Thanks!

Update changelog. Fix translations. Fix docstrings.

Update integreat_cms/cms/templates/pages/_page_xliff_export_overlay.html

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/cms/templates/pages/_page_xliff_export_overlay.html

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/cms/views/pages/page_bulk_actions.py

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/cms/templates/pages/page_tree.html

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Enhance interface for multilingual XLIFF export

Improve readability

Update integreat_cms/cms/templates/pages/_page_xliff_export_overlay.html

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update integreat_cms/static/src/js/pages/xliff-export-overlay.ts

Co-authored-by: Timo Ludwig <ludwig@integreat-app.de>

Update translations
Copy link
Member

@timobrembeck timobrembeck left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

@membralala membralala merged commit cf77114 into develop Aug 18, 2022
@membralala membralala deleted the feature/bundle-xliff branch August 18, 2022 07:47
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.

Bundled XLIFF export via pop-up
2 participants