apollographql / apollo-studio-community

🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
https://studio.apollographql.com
248 stars 29 forks source link

README Links: Infer logo when adding repository urls #108

Open setchy opened 2 years ago

setchy commented 2 years ago

Firstly, really love the README functionality. This ticket is to propose an enhancement to the Repository Link feature.

Current behavior

All repository links are displayed with a GitHub logo

Enhancement proposal

Support a larger set of logos for popular hosted git platforms (inferred from URL domain) such as:

setchy commented 2 years ago

This same feature could also be used for the Commit ID data on the Checks screen

papollosc commented 2 years ago

Hi @setchy! Thank you for the suggestion. We have made a simple modification where we only show the octocat icon for GitHub and for rest of the platforms, we show the source code icon. Apologies that this does not address your feature request completely, but we have added this to our list of things for us to work on as we evolve our public facing graph documentation.

setchy commented 2 years ago

Thanks for the update @papollosc. That sounds like a nice interim solution 🙂

juancarlosjr97 commented 19 hours ago

I just noticed this shows GitHub even for GitLab, so based on what I read the quick solution is to always show GitHub, right?

It is not a priority, but it would be great to get this roll out :)