Extract surveys logic to decidim-forms#3877
Conversation
4c6a254 to
1baf4c3
Compare
7526d35 to
821f08d
Compare
821f08d to
297044e
Compare
|
Hi @decidim/lot-core, I think that this is mostly done, so can you do a review on this, please? I have detected two things:
|
I guess yes? I'm not sure if this affects anything or not.
Can't we migrate the data with a migration @rbngzlv? |
|
@oriolgual migrations squashed and added a new migration to migrate the data from surveys to forms. @decidim/lot-core ready to review! |
|
@rbngzlv there seems to be a conflict, can you check it please? |
|
@rbngzlv lets go with your approach then, and maybe add a comment to the upgrade note saying that you should generate a manual migration to delete the old tables when you're sure the data has been properly migrated. |
# Conflicts: # config/i18n-tasks.yml # decidim-surveys/config/locales/en.yml # decidim-surveys/lib/decidim/surveys/component.rb
d600fb0 to
b8ce1bf
Compare
|
@decidim/lot-core The commented changes done. The total coverage changes due to the added rake task that migrates the data. Can you review it? |
|
Please @decidim/lot-core, its 6 days since this PR is waiting review. |
|
@tramuntanal the CI was stuck so I've merged the latest changes from master and triggered a rebuild. If it passes, let's merge this. |
|
@tramuntanal close it? Or review&merge it? 😕 |
@mrcasals review & merge it :) |
|
@decidim/lot-core still waiting for feedback |
|
@rbngzlv @tramuntanal I've added a couple of changes. |
🎩 What? Why?
As we agreed in the last meeting, we are moving the surveys logic to a separate gem:
decidim-forms. This allow us to share this logic withdecidim-meetings, that needs a configurable registration form and a configurable survey at the end of the meeting.📌 Related Issues
📋 Subtasks
CHANGELOGentry