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

add form-assign-proposal-to-valuator to proposal page #24

Draft
wants to merge 12 commits into
base: release/0.26-stable
Choose a base branch
from

Conversation

antopalidi
Copy link
Member

@antopalidi antopalidi commented Sep 13, 2022

fixes #20

Copy link

@microstudi microstudi left a comment

Choose a reason for hiding this comment

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

Hi @antopalidi
This works perfectly, a couple of improvements before closing:

  • Currently, when you assign a valuator you return to the proposal's list page. We should stay in the same page. The method receiving the assignation should distinct the referer page or, we should add a new action to the controller to handle this assignation and stay in the page. Whatever option is easier.
  • We need to add a test for this behaviour to admin_manages_proposal_valuators_spec.rb or admin_manages_proposals_spec.rb

Copy link

@microstudi microstudi left a comment

Choose a reason for hiding this comment

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

Hi @antopalidi
please check the comments for the things that need a fix.

Additionally, I think we should move the "assign new valuator" to the bottom of the list as it was at the beginning.

Thanks!

Copy link

@microstudi microstudi left a comment

Choose a reason for hiding this comment

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

Hi @antopalidi
very good, there's only 2 details I left on the comments.
After that we're good!!

@microstudi microstudi marked this pull request as draft September 15, 2022 10:26
Copy link

@microstudi microstudi left a comment

Choose a reason for hiding this comment

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

Excelent!

Note that we won't merge this branch, instead we've created a parallel PR #26 to the branch 0.26-lucerne. That's the one that will be used for their application.

This PR will remain in "Draft" status until we need it again in order to port it to the 0.27 version and the develop branch in the future (when new features are accepted again in Decidim)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assign valuators when managing a single proposal in the admin
2 participants