badge-poser icon indicating copy to clipboard operation
badge-poser copied to clipboard

Add the possibility to click on the badge

Open agiuliano opened this issue 11 years ago • 11 comments

As subject suggests, it'd was cool if the badge would be a link directed to the pugx's page. In this way an user interested to apply a badge for his project, could find an easy way to generate his own. In particular, the page linked by the bedges will point to a page (in pugx.io site) with all the statistics information we have about the project but as addiction it'll be a link create you own badge where the user can view the links for his designed project.

agiuliano avatar Jun 21 '13 12:06 agiuliano

currently, the markdown generated by Poser is a link to packagist.

stof avatar Jun 24 '13 00:06 stof

Mmm packagist is the best option imho, about stats yes we'd find a way to show them in a dedicated page.

liuggio avatar Jun 24 '13 06:06 liuggio

Yes, but suppose you saw the badge on a package, and you like it. How can you add your own on your project? How can you know where you can find for adding it? For these reasons I think is better to add a link in which you can see the complete statistics of the bundle from where you come and the instructions for adding your own

agiuliano avatar Jun 24 '13 07:06 agiuliano

@agiuliano I agree with you I received few emails about that.

Maybe the best'd be adding a link into the packagist website.

@seldaek what do you think?

liuggio avatar Nov 07 '13 14:11 liuggio

yeah we can add that somewhere the question is where, maybe a dedicated page for related services/sites.

Seldaek avatar Nov 11 '13 10:11 Seldaek

@Seldaek if you want and if @liuggio also agree we can integrate poser directly in composer site. In this way, when you register a package on composer site, we can show the links for the different badges. What do you think?

agiuliano avatar Nov 11 '13 10:11 agiuliano

I'd rather not have to maintain it so I'm happy to have it a separate service, but we can add a link to it where it makes sense on packagist. It's just not easy to add things without turning the whole stuff into a mess.

Seldaek avatar Nov 11 '13 10:11 Seldaek

@Seldaek you're right, we can create a small section that appear while submitting the package on packagist, otherwise we can add a link on the package page when the owner is logged in showing the link to add the badge that point to poser web site

agiuliano avatar Nov 11 '13 11:11 agiuliano

I love symmetry, what do you think about:

before: before

after after

liuggio avatar Nov 11 '13 11:11 liuggio

I'd love it, but if it'd be possible, I'd add the section also in the package view, because if you are the package owner probably you'll see more often that page rather than the "install page" :)

agiuliano avatar Nov 11 '13 11:11 agiuliano

Do you think it makes sense to keep still open this discussion?

JellyBellyDev avatar May 19 '20 10:05 JellyBellyDev