Skip to content

Hide the public export for Projects votes#13740

Merged
andreslucena merged 2 commits intodecidim:developfrom
greenwoodt:fix/budget-votes-hidden
Dec 13, 2024
Merged

Hide the public export for Projects votes#13740
andreslucena merged 2 commits intodecidim:developfrom
greenwoodt:fix/budget-votes-hidden

Conversation

@greenwoodt
Copy link
Copy Markdown
Member

🎩 What? Why?

Inspired fix from here and #13739, the Projects component now hides show_votes, when the user disabled the option, allowing exportable data not to display the information.

Should be merged directly after: #13675

📌 Related Issues

Testing

decidim-budgets/spec/serializers/project_serializer_spec.rb

📷 Screenshots

♥️ Thank you!

@greenwoodt greenwoodt added module: budgets type: fix PRs that implement a fix for a bug release: v0.28 Issues or PRs that need to be tackled for v0.28 project: 2024-flatfiles Metagov grant release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Dec 11, 2024
@greenwoodt greenwoodt changed the title Hide the public export for Projects' votes Hide the public export for Projects votes Dec 11, 2024
@greenwoodt greenwoodt changed the title Hide the public export for Projects votes Hide the public export for Projects votes Dec 11, 2024
@andreslucena
Copy link
Copy Markdown
Member

Merging with the only failing check of codecov

@andreslucena andreslucena merged commit 6213566 into decidim:develop Dec 13, 2024
antopalidi pushed a commit that referenced this pull request Dec 16, 2024
* extracted fix from #12348 for condition of votes count when voting is disabled

* removed inundated test for displaying votes always in export
@alecslupu alecslupu added no-backport Pull Requests that should not be backported and removed release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: budgets no-backport Pull Requests that should not be backported project: 2024-flatfiles Metagov grant type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Budgets: public export includes vote counts even if show_votes is disabled

3 participants