Skip to content

Make proposals handle i18n#6285

Merged
Leusev merged 29 commits intodevelopfrom
feature/make-proposals-handle-i18n
Jul 28, 2020
Merged

Make proposals handle i18n#6285
Leusev merged 29 commits intodevelopfrom
feature/make-proposals-handle-i18n

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

@mrcasals mrcasals commented Jul 8, 2020

🎩 What? Why?

This PR follows the spirit of #6276 in the sense that it's fixing fields so that #6127 will work as expected.

In this case, this PR makes proposals aware of i18n. It doesn't change anything else from the UI, so proposals won't be translatable from the admin yet and thus this will be invisible to the user.

📌 Related Issues

None

📋 Subtasks

  • Add migration
  • Make sure tests pass

📷 Screenshots (optional)

None

@mrcasals mrcasals self-assigned this Jul 8, 2020
@mrcasals mrcasals force-pushed the feature/make-proposals-handle-i18n branch from 39806a2 to 886ce4c Compare July 8, 2020 12:23
@mrcasals
Copy link
Copy Markdown
Contributor Author

@decidim/core hi! Could you review this PR please? 😄

@mrcasals mrcasals force-pushed the feature/make-proposals-handle-i18n branch from aa8572d to 695ff83 Compare July 27, 2020 07:43
Copy link
Copy Markdown
Contributor

@Leusev Leusev left a comment

Choose a reason for hiding this comment

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

A huge job @mrcasals , well done!

Copy link
Copy Markdown
Contributor

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

I see that the change extended to all this modules: accountability, budgets, consultations, core, dev, meetings, proposals, sortitions. This is probably where the roots of proposals arrive 😉

@mrcasals
Copy link
Copy Markdown
Contributor Author

@Leusev @tramuntanal CI is green, is there anything else required for this PR to be merged? 😄 Thanks!

@Leusev Leusev self-requested a review July 28, 2020 07:10
Copy link
Copy Markdown
Contributor

@Leusev Leusev left a comment

Choose a reason for hiding this comment

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

Ok, looks good for me @mrcasals
Thanks a lot for this huge work! 👍

@Leusev Leusev merged commit 194e996 into develop Jul 28, 2020
@Leusev Leusev deleted the feature/make-proposals-handle-i18n branch July 28, 2020 07:12
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Aug 14, 2020
* Add migration

* Start fixing bugs

* Fix component seed

* Fix ProposalPresenter

* Fix sortitions specs

* Use translation helper for proposals title and body

* Fix accountability tests

* Fix budgets specs

* Fix meetings specs

* Fix core specs

* Remove forgotten byebug

* Fix some proposals unit tests

* Fix more tests

* Fix specs

* Fix some admin system specs

* Extract "admin filter proposals" behavior into spec file

No point in this being a shared behavior, since it's only used by a single spec

* Fix filtering proposals by title in the admin

* Move "view proposal details from admin" behavior to spec file

IT's not used anywhere, so if we move to a file we get a better way to run those specific specs

* Fix systems specs

* Extract "manage proposal wizard steps help texts" into spec file

* Fix proposal similarity

* Fix more specs

* Lint files

* Fix public system specs

* Fix more specs

* Lint files

* Fix system specs

* Fix consultations specs

* Fix linting error
@mrcasals mrcasals mentioned this pull request Sep 14, 2020
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.

3 participants