-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Tags added by banned users are not displayed #9757
Conversation
@jywarren currently I'm not displaying the tags added by the banned users but they still exist in the database. I've done this because if the admin bans a user by mistake, un-banning them will bring back their tags on the notes page. |
Codecov Report
@@ Coverage Diff @@
## main #9757 +/- ##
=======================================
Coverage ? 49.06%
=======================================
Files ? 98
Lines ? 6114
Branches ? 0
=======================================
Hits ? 3000
Misses ? 3114
Partials ? 0 |
Hi @Manasa2850, thanks for working on this, maybe you could create a dedicated issue for this? If this PR is merged, it will close the main issue that you are using to plan your work. You could create another one, similar to #9709 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, great work @Manasa2850
Code Climate has analyzed commit 8e72b79 and detected 0 issues on this pull request. View more on Code Climate. |
Not deleting from the DB sounds great! Thanks for watching for a
destructive step.
…On Wed, Jun 9, 2021, 11:50 AM Manasa Kashyap ***@***.***> wrote:
@Manasa2850 <https://github.com/Manasa2850> requested your review on:
#9757 <#9757> Tags added by
banned users are not displayed.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#9757 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6JYCW764QZNXYJKZTOTTR6EV7ANCNFSM46HT75NQ>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work @Manasa2850 🎉
Great work everyone, and especially @Manasa2850!! |
* tags added by banned users are not displayed * added deleted change * fixed undefined method for nil class error * resolve merge conflict * fix failing test * resolve merge conflict
* tags added by banned users are not displayed * added deleted change * fixed undefined method for nil class error * resolve merge conflict * fix failing test * resolve merge conflict
Part of #9694
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!