backstage / community-plugins

Community plugins for Backstage
Apache License 2.0
172 stars 237 forks source link

🚀 Copilot: Seat Analysis tab #1521

Open leonarhv opened 1 month ago

leonarhv commented 1 month ago

Plugin Name

copilot

🔖 Feature description

The plugin could have another tab that shows cards about how many users have licenses, how many of them have never used copilot, and also how many have not used in the last X days

Captura de Tela 2024-10-11 às 14 21 05

🎤 Context

Github Copilot api has data about users that have copilot licenses. This would be useful to check if we have any license that is not being used and also track adoption up close.

✌️ Possible Implementation

Use the api endpoint https://api.github.com/enterprises/{ENTERPRISE}/copilot/billing/seats as described on the github api docs and retrive data about seats usage

👀 Have you spent some time to check if this feature request has been raised before?

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else

esw-afabiano commented 1 month ago

@leonarhv Heyy, sure.. it would be really cool to add this feature.. I don't really know how it works.. but I would say that if you're going to implement it, wait a bit because there is a pull request refactoring 90% of everything in the plugin, I should work on it in sequence and finish it soon.

Anyway, it's planned to be added soon