Skip to content

Show all projects if none is selected when the voting has finished#11090

Merged
andreslucena merged 3 commits intodecidim:developfrom
openpoke:feature/display_project
Jun 28, 2023
Merged

Show all projects if none is selected when the voting has finished#11090
andreslucena merged 3 commits intodecidim:developfrom
openpoke:feature/display_project

Conversation

@ElviaBth
Copy link
Copy Markdown
Contributor

@ElviaBth ElviaBth commented Jun 22, 2023

🎩 What? Why?

As long as no project has been given a "selected/unselected" status, all projects should be displayed.

📌 Related Issues

Testing

  1. Allows filtering by status.
  2. Does not filter selected by default.

📷 Screenshots

Voting enabled:
image

Voting finish (not status yet)
image

♥️ Thank you!

@request-info
Copy link
Copy Markdown

request-info bot commented Jun 22, 2023

It seems like you did not give us much information about what you are trying to do here. We would appreciate it if you could provide us with more info about this issue/PR!

@ElviaBth
Copy link
Copy Markdown
Contributor Author

Hi @andreslucena, this PR is done. Can you take a look, please?

@andreslucena andreslucena added module: budgets type: fix PRs that implement a fix for a bug labels Jun 27, 2023
@andreslucena andreslucena changed the title Shows all projects if not selected Shows all projects if none is selected when the voting has finished Jun 27, 2023
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

I've tried it locally and it works as expected. I only have a tiny change to make it more clear and we're good to go.

I've also changed the title so its easier to understand in the generated CHANGELOG

@andreslucena andreslucena changed the title Shows all projects if none is selected when the voting has finished Show all projects if none is selected when the voting has finished Jun 27, 2023
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

👍🏽

@andreslucena andreslucena merged commit b9e628e into decidim:develop Jun 28, 2023
entantoencuanto added a commit that referenced this pull request Jul 3, 2023
* redesign/sync-develop-2: (150 commits)
  Adapt tests to redesign
  Fix stylelint offenses
  Fix linter offenses
  Fix sanitizer
  Recover deleted translation
  Recover test fix
  Fix method definition and syntax
  Check for supported locale in Emoji picker (#11079)
  Fix configuration param and documentation links in CSP (#11098)
  Show all projects if none is selected when the voting has finished (#11090)
  Add Content Security Policy support (#10700)
  Replace `bootstrap-tagsinput` npm package with `tom-select` (#11076)
  Avoid password change to be requested when user registration mode is disabled (#11070)
  Lock sass-embedded to 1.62 (#11074)
  Add a button to send a newsletter to the admin (#10896)
  Fixing more tests
  Fixing more specs
  Fixing most of the failings specs
  Fixing most of the failings specs
  Bump doorkeeper from 5.5.4 to 5.6.6 (#11002)
  ...
andreslucena pushed a commit that referenced this pull request Jul 18, 2023
…11090)

* Add a condition to default_filter_status method

* add test to check if does not filter selected by default

* add method to improve readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: budgets type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Displaying projects when Voting finished

3 participants