-
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
Spam2 (Spam Management Dashboard) #7969
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7969 +/- ##
==========================================
- Coverage 82.04% 77.60% -4.45%
==========================================
Files 97 99 +2
Lines 5643 5840 +197
==========================================
- Hits 4630 4532 -98
- Misses 1013 1308 +295
|
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.
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.
Hey this looks great !
Can you add a screenshot of the latest changes as well ?
Great job 🎉 @keshavsethi 🎉 , could you please take a look at the codeclimate issues and travis fails...ping me if you need any help |
I have made a few more changes to UI and made it more refined and responsive. Please give your reviews. Please check bulk moderation features as well. Now I am working on some table related features and tests. @jywarren @SidharthBansal @ananyaarun @pydevsg @emilyashley @VladimirMikulic @cesswairimu @ebarry Please give your feedback and reviews. |
I have added modal for note body as sometimes it becomes big and doesn't fit in one column. I have also added a hide feature where users can hide some of its columns for a better view. |
Wow, this is really impressive work. I'll need to go through it carefully and hope to today. Thank you! |
Thanks @jywarren, If you have any suggestions regarding some extra filters and more bulk moderation features then I can add them too. Can you please ask other PL moderators regarding some special filter or something else which they need in the dashboard. |
Thanks Keshav! I'm also putting 👀 on this this week :) The interface is looking great (I especially appreciate errors and notifications) and I can't wait to pull down a branch and check it out in real time. |
@cesswairimu @jywarren @emilyashley @VladimirMikulic @ananyaarun @pydevsg Can we merge this?? |
@emilyashley if this does not make any changes to the existing system (either back-end or UI), we could merge it as a beta, since it's at /spam2. I'm afraid I haven't had time to go through it thoroughly. @keshavsethi are there system tests for the UI so I can know exactly what to try out? Thank you! |
@jywarren @emilyashley Right now this PR only has functional tests, I was thinking of adding system tests and other features in other PR as this PR is getting bigger. If you want I can do system tests here only. |
@SidharthBansal @emilyashley @jywarren @cesswairimu @pydevsg @ananyaarun @VladimirMikulic If you want me to work on /spam only then I can shift to that too. This PR is big because every page which was in /spam has to be here in /spam2 as well like wiki, notes, comments, and revisions. /spam2 has all the functionality as /spam including some of the bulk moderation features. If this PR is creating some issues like so big or something then I can either make PR in small parts or I can do this directly in /spam (This will not take much time). Please give your suggestions. |
Spam2 is ambiguous to me. Kindly write some descriptive name for added functionality. |
@SidharthBansal , I have created spam2 as suggested by @jywarren because it will help moderators to provide better feedback and suggest changes by comparing it with old one.
I have made another PR where I have made direct changes to /spam because basic structure and URLs remain the same in master and new /spam. please refer to #8009. I am ok with both /spam and /spam2. Thanks!! |
@jywarren @SidharthBansal @ananyaarun @pydevsg @emilyashley @VladimirMikulic @cesswairimu @ebarry @Uzay-G Please review and merge this. Actually I can't work on further PRs as they are dependent on this. Adding more commits to the same PR will make it very big and difficult to review. |
Hi, thank you! So glad to see the /spam2 URL and will review and hopefully merge today. This will be great. Confirming that nothing in /spam has been changed and will work the same? |
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.
I love this. Very very thorough functional testing. I think this is good to go! Can I request that this UI be system tested thoroughly as well? For future PRs, having system tests means we can read through the specific UI interactions and be sure we understand them as well, so if you could think ahead to including them that would be great and would help speed up reviews too!
Example of a system test here: https://github.com/publiclab/plots2/blob/master/test/system/post_question_test.rb
Great job on this @keshavsethi!!! 🎉
Yay!!! And sorry to repeat myself on system tests. Let's do them in future PRs! If u can open a new PR with system tests for this new code, that'd be great, and link it to here. 🎉 Especially system tests for bulk moderation tasks, as it can happen that future code breaks such carefully written UI and we want to ensure all the JS is working. Thank you!!! One small UI change I might request is to use a button group for the right-side buttons, which can also make it more clear that the grey ones are not enabled, you know? They could be quite small: https://getbootstrap.com/docs/4.4/components/button-group/#sizing |
Yes, Nothing has been changed by me in /spam and it will work the same |
@jywarren I am working on system tests and I will make a PR for this soon. |
@jywarren Sure, I will add a button group for this. Thanks!! |
🎉 |
Fixes #7927
Refer #7969 (comment) to see latest changes and UI
and with the feedback from PR #7928
and in reference to #7961
@jywarren @SidharthBansal @ananyaarun @pydevsg @emilyashley @VladimirMikulic @cesswairimu @ebarry
I have made some changes as per feedback from @jywarren and others
Screenshots
###Gifs
Tests are left as of now I am working on them. I will push them soon.
@jywarren @SidharthBansal @ananyaarun @pydevsg @emilyashley @VladimirMikulic @cesswairimu @ebarry Please give your feedbacks
Thanks!