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

Bump/0.29 budgets booth #15

Open
wants to merge 66 commits into
base: main
Choose a base branch
from
Open

Bump/0.29 budgets booth #15

wants to merge 66 commits into from

Conversation

Stef-Rousset
Copy link

@Stef-Rousset Stef-Rousset commented Dec 27, 2024

####🎩 Description

This PR updates decidim-budgets_booth to 0.29 version, and also deletes old functionalities and updates others (see Readme file for details).

####Testing

  1. To test "Defining cancel voting redirection destinations"
  • as an admin, go to a process, modify the budget's component by adding an "URL to redirect user when canceling voting" like "http://localhost:3000/processes/".
  • in the application, go to the budgets of the process modified above. If there is several budgets, click on vote in one of them.
  • on the projects index page, click on "add to vote" on one project, and then click on 'Exit voting booth', confirm 'Exit voting', and see that you are redirected to processes.
  1. To test "Defining after finishing voting redirection"
  • as an admin, go to a process, modify the budget's component by adding an "URL to redirect user after voting on all available budgets" like "http://localhost:3000/processes/".
  • in the Global Settings workflow, choose "vote in one"
  • in the application, go to the budgets of the process modified above. If there is several budgets, click on vote in one of them.
  • on the projects index page, click on "add to vote" on one project, if it is already possible, click on "Vote budget", otherwise add another project to the vote. Confirm your vote and see that you are redirected to processes.
  1. To test Adding after voting message and after completing voting message
  • as an admin, go to a process with only 2 budgets, modify the budget's component by adding a custom text n°1 in "Popup text after each vote", and add a custom text n°2 in "Popup text after voting in all available budgets"
  • in the Global Settings workflow, choose "vote in all", and check that "Maximum number of budgets that user can vote on" is set to 0.
  • in the application, go to the budgets of the process modified above. Choose one budget, complete the voting process for it and see that you have a modal with you custom message n°1
  • complet the voting process for the second budget, and see that you have a modal with custom message n°2 as you have voted for all available budgets.
  1. To test for maximum number of budgets, in which users can vote.
  • in the application, delete your 2 votes for the previous budgets in test 3.
  • as an admin, modify the budget's component used in test 3., and set Maximum number of budgets that user can vote on" to 1.
  • complet the voting process for the one budget, and see that you have a modal with custom message n°2 as you have voted for the maximum available budgets.
  • see also that you can't access to the second budget projects page.
  1. Testing the grid/list design in projects index
  • as a user, go to the projects index page
  • see that the default view of the project is grid
  • click on the list icon and see that the projects are in list mode
  • click on grid icon and see that you are back to grid view
Capture d’écran 2024-12-27 à 10 22 23

####Tasks
Update specs

@Stef-Rousset Stef-Rousset marked this pull request as ready for review December 30, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant