-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Introduce a flag to display the progress #2847
Conversation
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.
Thanks for your contribution @ferblape! Code looks good to me, but I left a comment regarding some i18n 😄
Thanks @mrcasals but maybe you didn't submit the review, because I can't see the comments :D |
@@ -173,6 +173,7 @@ en: | |||
heading_parent_level_results: Name for "Results" | |||
intro: Intro | |||
subcategories_label: Name for "Subcategories" | |||
display_progress_enabled: Display progress enabled |
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.
Maybe leave this as "Display progress"?
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.
👍
LOL @ferblape sorry 😞 I left the comment now! |
de90e77
to
54f7559
Compare
@ferblape CI is failing :( ignore the meetings one as it looks like a random failure, but the error in Rubocop is legit (change Please do this and we'll merge it straight away 😄 |
54f7559
to
c891344
Compare
Codecov Report
@@ Coverage Diff @@
## master #2847 +/- ##
==========================================
+ Coverage 98.73% 98.73% +<.01%
==========================================
Files 1636 1636
Lines 38719 38730 +11
==========================================
+ Hits 38230 38241 +11
Misses 489 489 |
Or even better |
@ferblape and they behave differently, and the correct usage here is |
Argh, conflicts in the CHANGELOG too! 😞 |
c891344
to
87958ad
Compare
@ferblape tests are now failing because the i18n is not normalized (keys must be sorted alphabetically). you can run |
87958ad
to
943c889
Compare
Done!
…On 28 February 2018 at 10:40, Marc Riera ***@***.***> wrote:
@ferblape <https://github.com/ferblape> tests are now failing because the
i18n is not normalized (keys must be sorted alphabetically).
you can run i18n-tasks normalize en from the decidim root folder to fix
it 😄 (and there are more conflicts on the CHANGELOG 😭 )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2847 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABE0OJHEiCR7sV4_tR8zFHP01PNdwiqks5tZR8TgaJpZM4SVBV5>
.
--
Fernando Blat
twitter.com/ferblape
Populate / Projects for civic engagement
http://populate.tools
|
Yay, thanks! 🎉 |
👯 |
🎩 What? Why?
This PR introduces a flag to enable/disable progress display in the accountability module. This is useful when there's no progress data uploaded, to avoid all the percentages to be 0% and the progress bar be empty.
📌 Related Issues
📋 Subtasks
CHANGELOG
entry📷 Screenshots (optional)
New setting:
UI with the setting enabled:
UI with the setting disabled: