plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Add # of comments and date to post cards

Open jywarren opened this issue 7 years ago • 5 comments

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!


We need some small tweaks to the post cards shown here (building on ideas from https://github.com/publiclab/plots2/issues/6307):

image

These appear on pages like https://publiclab.org/tag/babylegs

It would be great to get them looking more like this:

image

This would include:

  1. making the "Post by ______" smaller and grey (#222 is a good color)
  2. making it closer to the title, maybe by deleting the empty "meta" paragraph tag
  3. adding a new line below it, starting with the "comment" icon from FontAwesome: <i class="fa fa-comment-o"></i> 1 in a link, with the # of comments (<%= node.comments.size %>)
  4. making the display of time more minimal as shown in the mockup above

Here is the code for the card:

https://github.com/publiclab/plots2/blob/7e2ebf018d021f6f31d5a9d99d242eb5048ba2ba/app/views/notes/_notes.html.erb#L34-L44

We'd love help with this, thanks!!!

jywarren avatar Sep 27 '19 16:09 jywarren

Hi!! Can i work on this issue? Thanks

AdityaShD avatar Sep 30 '19 12:09 AdityaShD

Please go ahead. Let us know if you need any help!!

On Mon, Sep 30, 2019, 6:09 PM Aditya Sharma [email protected] wrote:

Hi!! Can i work on this issue? Thanks

— You are receiving this because you are on a team that was mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/6345?email_source=notifications&email_token=AJXHQZY4HZZ23JVW7P2AR63QMHXO7A5CNFSM4I3IH2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD75PYGA#issuecomment-536542232, or mute the thread https://github.com/notifications/unsubscribe-auth/AJXHQZ5Z7555CZP764UWIQTQMHXO7ANCNFSM4I3IH2EQ .

IshaGupta18 avatar Sep 30 '19 12:09 IshaGupta18

@publiclab/reviewers This issue has been claimed by @AdityaShD but we already have a PR for it by another contributor (#6368). Maybe we need a taken label in a vivid color for claimed issues to avoid this in the future.

EDIT: same issue with... issue #6359 EDIT 2: Ok, I can see a claimed label there. It should be used a little more.

seabl avatar Oct 01 '19 23:10 seabl

is this open?

iamprakash13 avatar Oct 02 '19 10:10 iamprakash13

is this open?

A PR has been raised already, @iamprakash13 pls look for more

coderjolly avatar Oct 02 '19 21:10 coderjolly