-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Remove description from questions in elections #9401
Conversation
This should be ready for review @ahukkanen @andreslucena |
decidim-elections/app/commands/decidim/elections/admin/setup_election.rb
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall.
@microstudi Is it on purpose you are still preserving the description
field in the database? Maybe we should remove it from the DB as well if we want to get rid of that field. But maybe you have a valid reason to preserve it?
Another place where it is still preserved is the translations:
description: Description |
Thanks for your sharp eye @ahukkanen ! |
Great thanks @microstudi ! But note that there was one spec that was calling the |
all green @ahukkanen ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏽
* remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec
* remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec
* remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec
* remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec
…9522) * Remove description from questions in elections (#9401) * remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec * Fix Rails version on migration Co-authored-by: Ivan Vergés <ivan@platoniq.net>
…9522) * Remove description from questions in elections (#9401) * remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec * Fix Rails version on migration Co-authored-by: Ivan Vergés <ivan@platoniq.net>
* remove description * remove description from tests * send empty description to keep bulletin board happy * fix schema * fix question type spec * remove description from questions in the DB * remove failing spec
🎩 What? Why?
Description is not used at all in elections UI.
This PR removes the description but still sends to the bulletin board and empty "subtitle" for the question just to keep compatibility. This should ease things up if one day description must be reinstated.
📌 Related Issues
Link your PR to an issue
Testing
Describe the best way to test or validate your PR.
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/
.📷 Screenshots
Please add screenshots of the changes you're proposing
