Skip to content

Fix displaying hidden meetings in processes group's "upcoming meetings" content block#8818

Merged
andreslucena merged 1 commit intodecidim:developfrom
i-need-another-coffee:fix/8101
Feb 15, 2022
Merged

Fix displaying hidden meetings in processes group's "upcoming meetings" content block#8818
andreslucena merged 1 commit intodecidim:developfrom
i-need-another-coffee:fix/8101

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu commented Feb 15, 2022

🎩 What? Why?

Patch highlighted_meetings_cell.rb to use published, not_hidden, upcoming scopes.

📌 Related Issues

Link your PR to an issue

Testing

  1. Create a Participatory process group
  2. Set a space,
  3. Set Meetings in various states ( published, upcomming, past etc )
  4. Visit page Participatory process group
  5. Observe the meetings displayed

📋 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!

@alecslupu alecslupu marked this pull request as ready for review February 15, 2022 09:11
@alecslupu alecslupu requested a review from roxanaopr February 15, 2022 09:12
@alecslupu alecslupu added module: meetings type: fix PRs that implement a fix for a bug labels Feb 15, 2022
@andreslucena andreslucena changed the title Fix Process group - landing page: "upcoming meetings" also shows past meetings Fix displaying hidden meetings in processes group's "upcoming meetings" content block Feb 15, 2022
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.

Wow, thanks for this one!
This actually solves multiple bugs at the same time 😅
I've checked it locally and it works great. I thought there was a bug with this implementation as it went from 8 to 3 meetings. But looking it a second time, I see that the problem was with the lack of the upcoming scope. We were showing the past meetings as upcoming here!!
I see that we don't have any spec for this cell, maybe it's a good time to introduce it if you have the time? 😇. We can do it in another PR, so we don't block this fix.

@andreslucena
Copy link
Copy Markdown
Member

Can you please backport to v0.26-stable 🙏🏽? Thanks

entantoencuanto added a commit that referenced this pull request Feb 18, 2022
* develop: (134 commits)
  Remove Rectify::Presenter references (#8758)
  Clarify the locales on the list of admins (#8838)
  Fix activity cell disappearing author images (#8826)
  Fix notifications when there is a note proposal in other spaces than processes (#8822)
  Fix accountability text search (#8831)
  Fix displaying hidden meetings in show process page (#8823)
  Fix docs for install-decidim.sh permissions (#8839)
  Fix report moderation for all the spaces (#8813)
  Clarify the comment at the resource search class (#8829)
  Fix displaying hidden related resources (#8812)
  Replace Decidim mentions in UI with 'the platform' (#8827)
  Add natively a .keep file to empty directory to include on git committing (#8830)
  Fix scope validation on initiative's creation (#8755)
  Replace `searchlight` with `ransack` which is already a core dependency (#8748)
  Fix characters not encoded in highlighted participatory process group title (#8820)
  Test ensuring the moderated comments are not computed in stats (#8816)
  Update rails to 6.0.4.6 and puma to 5.6.2 (#8817)
  Fix displaying hidden meetings in processes group's "upcoming meetings" content block (#8818)
  Fix displaying hidden meetings in homepage's "upcoming meetings" content block (#8809)
  Improve "Release Candidates" release docs (#8804)
  ...
andreslucena pushed a commit that referenced this pull request Feb 21, 2022
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
@alecslupu alecslupu deleted the fix/8101 branch October 31, 2024 05:42
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.

Process group - landing page: "upcoming meetings" also shows past meetings

3 participants