Add statistics cell to votings landing page and reuse it in other places#7413
Merged
Add statistics cell to votings landing page and reuse it in other places#7413
Conversation
f5efb68 to
1acc6e6
Compare
1acc6e6 to
b5e3286
Compare
b5e3286 to
db67618
Compare
db67618 to
fbb1f95
Compare
0a229f6 to
9e628cc
Compare
9e628cc to
80583b2
Compare
feat(spaces): use core's statistics cell
80583b2 to
db11e0e
Compare
db11e0e to
a692ac4
Compare
mrcasals
approved these changes
Mar 3, 2021
Contributor
Author
|
Yuhuuu! Thanks @mrcasals 😄 |
entantoencuanto
added a commit
that referenced
this pull request
Mar 4, 2021
* develop: Update the workflow cleanup action to the latest version (#7535) Don't schedule CI jobs for locales PRs (#7534) Fix record encryptor trying to decrypt or decode non-String values (#7536) Add Votings landing page to the design app (#7527) New Crowdin updates (#7530) Fix non-unique IDs element in filter hash cash (#7531) New Crowdin updates (#7485) Add statistics cell to votings landing page and reuse it in other places (#7413) Add Votings landing page layout (#7440) Add share modal to budgets (#7519) Do not change the global test app configs during specs (#7525) Change the order of attachments in budgets (#7524) Remove console warnings from the conversations views (#7523) Don't allow filtering meetings by user group if setting is disabled (#7514) Remove duplicated migration (#7517) New Admin users cannot accept Terms and conditions (#7516) Let installations delay TranslatorJob initialization (#7507) Exit on CI workflow dispatch failures (#7502) Invalidate all user sessions when destroying the account (#7506) Audit vote (#7442)
Contributor
|
I bumped into this looking at the context of the translations and I left a comment at: #7112 (comment) This removes the possibility to translate the different cases for the statistic title (above or below the number) which is a problem for the Finnish language. |
Contributor
Author
|
@ahukkanen Thank you very much for the feedback! Highly appreciated. 😀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
This PR implements the public side of the Decidim::Votings::ContentBlocks::LandingPage::StatisticsCell.
It also cleans up (stats) views from other modules which where redundant, so its been refactored so all spaces use or inherit from the
Decidim::StatisticsCellin favor of maintenance.Due to this refactor the ConferenceCell stats are updated with the current design/styles.
Plus it adds the
electionscomponent to the Voting seeds.📌 Related Issues
Testing
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Screnshots from other spaces all look the same as before: