-
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
Link login modal questions #4255
Conversation
Even with original
Even with master
Even with master
@SidharthBansal Is it ok? When the user is not logged in and he clicks the spam button the login modal shows up and then redirects. |
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.
Awesome. Please claim the task on the dashboard so that we can reward you.
Thank you! |
Generated by 🚫 Danger |
@jywarren please review and merge this. |
I think it's starting to take up a lot of space here -- and we'd like to have the "flag" associated with the "spam" -- what if we had a single Flag button which opens up a Bootstrap popover, which shows "Flag" this to moderators (email) and "Spam" this if you are a moderator (and link to learn more about moderators). These could fit under just one tiny flag icon, and expand out when you click it. However, you've successfully completed the original task even if this isn't merged yet -- so you should get approved for the task! Thanks! |
I have already rewarded him the points |
I think we should merge this now. And open up a different issue for the above comment. We can brainstorm on it. What do you say? |
It's OK - we can just leave it open with the task approved... and solve this in follow-up in the same PR. Sound OK? |
Sounds great!!!
…On Mon, Dec 10, 2018 at 10:50 PM Jeffrey Warren ***@***.***> wrote:
It's OK - we can just leave it open with the task approved... and solve
this in follow-up in the same PR. Sound OK?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4255 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUACQyA38FRdCx_lZH6eEwqVdC9kG5fFks5u3pfvgaJpZM4ZLoND>
.
|
OK - thanks for your patience - how about this as a solution: where the top has a flag icon, the two middle ones have the ban (like circle with slash) icon, and the bottom is a link to /moderators (mockup made in this doc) |
The ones that say "only mods and admins" could be a link instead that says "Log in to moderate" maybe... but really you'd still have to become a mod or admin to be able to so I don't know if it's necessary? And since we have these flag icons in so many places, maybe we should think about making this a partial template or something standard (as with the login modal) we can insert anywhere? |
Oh it is so nice. |
@@ -22,7 +22,12 @@ | |||
<span id="tag_<%= tag.id %>" class="label label-primary"><a href="/questions/tag/<%= tag.name %>"><%= tag.name %></a></span> | |||
<% end %> | |||
</span> | |||
<p style="margin-top:30px;"><% if logged_in_as(['admin','moderator']) %><a class="btn btn-default btn-xs" href="/moderate/spam/<%= node.id %>"><i class="fa fa-ban"></i> Spam</a><% end %> | |||
<p style="margin-top:30px;"> |
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.
These changes are no longer needed due to new PRs merged.
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.
Please feel free to open a new pr @okonek
Thanks for awesome work you are doing at PL
Fixes #4159 (<=== Add issue number here)
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!