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 displaying blocked users in account follow pages #9164

Merged
merged 11 commits into from Apr 29, 2022

Conversation

eliegaboriau
Copy link
Contributor

@eliegaboriau eliegaboriau commented Apr 13, 2022

🎩 What? Why?

Remove blocked users from being displaying in the follow/following section

📌 Related Issues

Link your PR to an issue

Testing

Block a user who is following somebody
Check the followers of this somebody

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

♥️ Thank you!

@eliegaboriau eliegaboriau marked this pull request as ready for review April 14, 2022 09:30
@eliegaboriau eliegaboriau marked this pull request as draft April 14, 2022 12:19
Copy link
Contributor

@Quentinchampenois Quentinchampenois left a comment

Choose a reason for hiding this comment

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

Hi,
Just a little change request, otherwise it seems good to me !

decidim-core/spec/system/user_profile_spec.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@Quentinchampenois Quentinchampenois left a comment

Choose a reason for hiding this comment

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

It seems good to me, thanks !

I let Decidim's reviewers take a look

@Quentinchampenois
Copy link
Contributor

I just noticed the failing CI on Comments, it seems to happen on others PRs, is this a known flaky test or maybe the branch should be rebased ?

@eliegaboriau eliegaboriau marked this pull request as ready for review April 15, 2022 08:16
@eliegaboriau
Copy link
Contributor Author

I just noticed the failing CI on Comments, it seems to happen on others PRs, is this a known flaky test or maybe the branch should be rebased ?

It's not failing locally so i don't think it's from my changes

@andreslucena andreslucena changed the title fix displaying block users Fix displaying blocked users in account follow pages Apr 19, 2022
@andreslucena andreslucena added module: core type: fix PRs that implement a fix for a bug labels Apr 19, 2022
@andreslucena
Copy link
Member

I just noticed the failing CI on Comments, it seems to happen on others PRs, is this a known flaky test or maybe the branch should be rebased ?

Don't worry, it's a flaky unrelated to this PR, it comes from #9090

@ahukkanen ahukkanen merged commit 6f239ad into decidim:develop Apr 29, 2022
andreslucena pushed a commit that referenced this pull request May 6, 2022
* fix displaying block users

* able to render ressource

* fix gemfile test

* fix gemfile test

* fix gemfile test

* refactor change

* refactor change

* linter

* add unit test

* linter

* add trait
ahukkanen pushed a commit that referenced this pull request May 10, 2022
* fix displaying block users

* able to render ressource

* fix gemfile test

* fix gemfile test

* fix gemfile test

* refactor change

* refactor change

* linter

* add unit test

* linter

* add trait

Co-authored-by: eliegaboriau <93646702+eliegaboriau@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: core type: fix PRs that implement a fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blocked users appear in public profile tabs (follows and followers)
5 participants