-
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
UI for spam management dashboard #7928
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7928 +/- ##
==========================================
- Coverage 82.05% 81.96% -0.09%
==========================================
Files 97 97
Lines 5645 5657 +12
==========================================
+ Hits 4632 4637 +5
- Misses 1013 1020 +7
|
Ah cool! Can you upload a screenshot please, at both desktop and mobile widths? Thank you so much! |
It is not responsive as of now I am working on that. I will add other features and make more refined UI along with an active user page. |
Wow these are look amazing 🎉 |
@keshavsethi would you like to make the responsive changes on this PR? |
This looks pretty cool @keshavsethi Nice job! |
Sure, I am working on that:) |
Awesome work @keshavsethi 🎉 💯 . |
This is looking good and we will be reviewing today! I'm guessing that "flag posts" and "queue" aren't running yet? I wonder if we should comment them out for now or grey them out, so as to make it clear what functions are currently working? That can also get us to a place where an initial PR can be merged and later ones can build off of it, so the PR does not diverge too far from the master branch over a long period. Working in small chunks, you know? Thank you!!! Lots of excellent work going into this! 🙌 🎉 |
Sure, I will make flag posts and queue grey. btw should I make another PR as it might be lagged behind with master? |
} | ||
.page-header{ | ||
background-color: #0061f2; | ||
background-image: linear-gradient(135deg, #0061f2 0%, rgba(105, 0, 199, 0.8) 100%); |
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.
Hi, @keshavsethi - i think maybe we should just start with minimal, default styles that we already use on the site for now, as I'm not sure we yet want to introduce a lot of new visual styles without thinking through it carefully. You can see the style guide we use here, actually! https://publiclab.org/notes/warren/05-07-2019/introducing-a-draft-style-guide-for-public-lab
Thank you!! I think we're just thinking of colors, fonts, etc here. It's fine for this to be somewhat different from the rest of the site since it's an admin-only dashboard, but perhaps we should aim to develop only a minimum of new visual styles, what do you think?
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.
Sure, I was also thinking of changing the page header and make it as per the style guide. I will surely work on that.
Thanks !!
If you want to test this in a production environment, you should be able to push to the You'll see it building here: https://jenkins.laboratoriopublico.org/ and can view it at https://unstable.publiclab.org -- and it just overwrites what's at that branch. Just ping in the chatroom that you're using it as we only have one, so it can get confusing if others are using it at the same time! |
So, perhaps referring to my comment above (#7928 (comment)), what would be a minimal milestone, or set of changes we could refine and get completely right before merging, leaving further new ideas and projects for later PRs? Thank you, @keshavsethi !!! |
One last thought - we could publish this at a secondary URL like |
This is really a nice idea. I can surely work on that. |
I think we can start with addition of datatable gem and tables in general and then some bulk moderation features like batch spam and batch publish and then some UI changes like Top nav and then sidenav. So, should I make /spam2 or work on the same page with small changes?? I think changing /spam is also fine as all the features of current /spam are added in this PR only. |
Please refer to PR #7969 for latest changes |
Fixes #7927
I have made some changes in UI which I have mentioned in the given issue.
I will do tests after getting approval for the UI and proceed to Bulk moderation features and Digest.
Please give review @jywarren @SidharthBansal @ananyaarun @pydevsg @emilyashley @cesswairimu
Thanks!!