bountysource / core

Bountysource is the funding platform for open-source software.
https://www.bountysource.com/
MIT License
629 stars 187 forks source link

[Question] Are the badges gone from the UI? #1367

Open tuxayo opened 5 years ago

tuxayo commented 5 years ago

I remember that it was possible from the page of the bounty to get the markdown code that would display a badge with the amount.

But now I find nothing related to badges in a bounty page.

edit: workaround to manually make a badge for a given bounty. (thanks @dandv) Just change the issue id in the first part and paste the whole bounty URL in the second part.

[![Bountysource](
https://api.bountysource.com/badge/issue?issue_id=61636970
)](
https://www.bountysource.com/issues/61636970-create-analytics-free-flavor
)
dandv commented 5 years ago

What the hey @bountysource! Markdown badges are the easiest way to bring visibility to BountySource from Github issues.

Where are they?

I've just posted a bounty, and I get only social media links.

Do I need to concoct a badge myself?

There's money on the line. Please respond.

@NoNonsense126 @wkonkel @hjchan @JalenOng

Cervator commented 5 years ago

I'm not sure where the markdown snippet went, and yep, I agree that's useful. Still does work though - the following snippet [![Bounties](https://img.shields.io/bountysource/team/MovingBlocks/activity.svg)](https://www.bountysource.com/teams/MovingBlocks) for instance results in an org-wide activity meter Bounties

However, I'm not sure activity.svg is necessarily what you'd want - the number for open bounties seems like it would be more useful (even if overall bounty activity might seem more impressive at times..) - and of course there's also the per bounty badge, which I can't find an example of right now, but you figured out one there already.

tuxayo commented 5 years ago

Thanks @Cervator Is there a way to get a badge for a specific bounty?

tuxayo commented 5 years ago

@dandv can you edit your message to get the code of the badge that you put there?

dandv commented 5 years ago

@tuxayo: did you mean you wanted the code I used? You can use the "Quote reply" context menu for the comment to get that. Anyway, here it is:

[![Bountysource](https://api.bountysource.com/badge/issue?issue_id=35788114)](https://www.bountysource.com/issues/35788114-retain-the-line-column-position-for-recent-files?utm_source=35788114&utm_medium=shield&utm_campaign=ISSUE_BADGE)
tuxayo commented 5 years ago

Thanks a lot! :D

Using Quote reply, I get a non-dynamic version

> [![Bountysource](https://camo.githubusercontent.com/53c5cf5ee41b8cdfd6eb6dcc8eb43578abed18c8/68747470733a2f2f6170692e626f756e7479736f757263652e636f6d2f62616467652f69737375653f69737375655f69643d3335373838313134)](https://www.bountysource.com/issues/35788114-retain-the-line-column-position-for-recent-files?utm_source=35788114&utm_medium=shield&utm_campaign=ISSUE_BADGE)

edit: Example code to easily reuse as a workaround.

[![Bounty on Bountysource](
https://api.bountysource.com/badge/issue?issue_id=61636970
)](
https://www.bountysource.com/issues/61636970-create-analytics-free-flavor
)
tuxayo commented 5 years ago

Should I open a new issue to ask for reintroducing the UI for generate the markdown snippet? Or should I rename this one?