plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Liking a question must be allowed from the list item only

Open YashishDua opened this issue 8 years ago • 7 comments

The user can mark the question inappropriate or spam from the list while not even entering into that question. If a user can flag from outside then there should be a feature to like that question also from outside. screen shot 2018-09-22 at 2 01 13 am

Either flagging as spam should not be allowed from outside or liking must be allowed from outside. Find the issue here: https://publiclab.org/questions

We are preparing to participate in Google Code-in, and have reserved this issue for participants in GCI - but we'd love to have your help with another one! Please check out https://code.publiclab.org to see more.

YashishDua avatar Sep 21 '18 20:09 YashishDua

Thanks, this sounds great! I believe the code for this should be in: https://github.com/publiclab/plots2/blob/master/app/views/dashboard/_node_meta.html.erb because of this line: https://github.com/publiclab/plots2/blob/master/app/views/questions/_questions.html.erb#L26


This has been marked as a good candidate for becoming a first-timers-only issue like these, meaning that it's simple, self-contained, and with some extra formatting, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider reformatting or reposting it as a first-timers-only issue, and then ping @publiclab/reviewers to get it labelled. Or, if this is not your first time, try to solve it yourself!


jywarren avatar Sep 22 '18 03:09 jywarren

oops closed it by accident! Reopened!

jywarren avatar Sep 22 '18 03:09 jywarren

Liking is usually done in javascript -- https://github.com/publiclab/plots2/blob/master/app/views/like/_like.html.erb

jywarren avatar Sep 22 '18 03:09 jywarren

@jywarren Thanks for sharing the resource. I will take up this issue.

YashishDua avatar Sep 22 '18 20:09 YashishDua

@YashishDua @SidharthBansal @jywarren can I work on this issue

vikul1234 avatar Sep 30 '18 04:09 vikul1234

Yeah go ahead

SidharthBansal avatar Sep 30 '18 05:09 SidharthBansal

We will be renewing the dashboard as part of Outreachy this winter, and this feature will no longer be needed - but thank you for the idea!!!

jywarren avatar Oct 11 '20 03:10 jywarren