shields icon indicating copy to clipboard operation
shields copied to clipboard

Link directly to builder modals

Open chris48s opened this issue 2 years ago • 2 comments

:clipboard: Description

It would be really nice if the builder modal for each badge had its own URL. So for example if I wanted to link someone straight to

Screenshot at 2021-09-25 16-09-25

I could use https://shields.io/category/build#appveyor/build or https://shields.io/builder/appveyor/build or something (exact implementation details TBD) and that would load the site with that builder modal open.

chris48s avatar Sep 25 '21 15:09 chris48s

Agree this would be a good idea. Lots of possibilities there. Something like https://shields.io/appveyor/build would be pretty cool, though maybe something like https://shields.io/builder/appveyor/build or https://shields.io/services/appveyor/build would be safer. Should definitely be thoughtful about these links since we want them to work permanently.

To accomplish this, we may want to also address the changes I was proposing in #3174, which involved combining multiple variants for the same badge into a single popup.

paulmelnikow avatar Apr 16 '22 21:04 paulmelnikow

Yeah we probably do need to think this through properly if we are going to do something that adds a lot of routes to the frontend given the frontend and service badges share a single URL namespace. We've already got ourselves into a pickle with endpoint.

chris48s avatar Apr 17 '22 18:04 chris48s

This is solved. Every badge documentation/builder page now has its own URL e.g: https://shields.io/badges/circle-ci

chris48s avatar Jun 18 '23 08:06 chris48s