Skip to content
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

Fix showing trustees menu on consultations module #7778

Merged
merged 2 commits into from Apr 1, 2021

Conversation

leio10
Copy link
Contributor

@leio10 leio10 commented Apr 1, 2021

🎩 What? Why?

The consultations participatory space doesn't have a components list, so the elections code to show the Trustees menu fails there. This PR fixes that.

This PR also modifies the consultations module to allow to see the Trustees menu in the questions if there is any Elections component. That doesn't seem to have much sense, and I don't like to name the menu as :admin_question_menu, but it will keep the system consistent until we remove that module completely. Anyway, the source of the problem is that the question participatory space is called question instead of consultation_question, so this is a problem that we already had.

📌 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.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

Please add screenshots of the changes you're proposing
Description

♥️ Thank you!

@leio10 leio10 force-pushed the fix/consultations_trustees_menu branch from 117e21c to e238ca1 Compare April 1, 2021 10:37
@leio10 leio10 self-assigned this Apr 1, 2021
Copy link
Contributor

@orlera orlera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐛 🔨

Copy link
Contributor

@slickepinne slickepinne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@oriolgual oriolgual merged commit c09e5b7 into develop Apr 1, 2021
@oriolgual oriolgual deleted the fix/consultations_trustees_menu branch April 1, 2021 14:52
entantoencuanto added a commit that referenced this pull request Apr 5, 2021
* develop:
  fix: remove vote.js from elections manifest (#7795)
  Evote election log (#7757)
  Evote - identify with access code (#7740)
  Add unique trustee name (#7544)
  New translations en.yml (Finnish (plain)) (#7790)
  New Crowdin updates (#7754)
  Remove proposals dependency from the debates module (#7783)
  Make meetings functional without the proposals module (#7784)
  Make accountability functional without the proposals module (#7785)
  Make budgets functional without the proposals module (#7786)
  Remove BOM in CSV of private participants (#7781)
  Move searchlight gem to core and remove unnecessary requires (#7782)
  Admin voting census original load (csv) (#7591)
  Feat/evote count votes (#7769)
  Move votings answer results to its own table (#7767)
  Fix showing trustees menu on consultations module (#7778)
  Add missing assets to the elections manifest (#7773)
@leio10 leio10 added the type: fix PRs that implement a fix for a bug label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract: e-voting Barcelona City Council contract module: consultations module: elections type: fix PRs that implement a fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants