Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put badges on flutter/plugins README showing issue and PR count for each plugin #31078

Closed
collinjackson opened this issue Apr 15, 2019 · 3 comments · Fixed by flutter/plugins#5649
Assignees
Labels
c: new feature Nothing broken; request for a new capability P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.

Comments

@collinjackson
Copy link
Contributor

collinjackson commented Apr 15, 2019

The goal would be to make it easy for maintainers/contributors to quickly jump to issues and PRs for a plugin they're interested in. We could also put badges at the top of individual plugin READMEs if it seems like they're useful.

The badges could look like this:

image

I think it should be possible to implement without writing much code, using GitHub API and https://shields.io/

For issues we'd use the plugin labels. For PRs we'd use the PR title.

It might make make more sense to do this somewhere other than the README instead. Feedback welcome.

@collinjackson collinjackson added c: new feature Nothing broken; request for a new capability plugin labels Apr 15, 2019
@collinjackson collinjackson self-assigned this Apr 15, 2019
@moko256
Copy link
Contributor

moko256 commented May 2, 2022

Hello, I am generating badges. It looks like:

GitHub issues by-label GitHub pull requests by-label

Issues:

[![GitHub issues by-label](https://img.shields.io/github/issues/flutter/flutter/p:%20url_launcher)](https://github.com/flutter/flutter/labels/p%3A%20url_launcher)

PRs:

[![GitHub pull requests by-label](https://img.shields.io/github/issues-pr/flutter/plugins/p:%20url_launcher?label=pull%20requests)](https://github.com/flutter/plugins/labels/p%3A%20url_launcher)

I'll add this in the table in top README.md and each README.md.

@moko256
Copy link
Contributor

moko256 commented May 2, 2022

To align the border, issues label in badge would be good.
Some plugin (google_maps_flutter and webview_flutter) has different label in issues and plugin, so in each README.md, "p: maps" issues and "p: google_maps_flutter" pull requests would be good.
screenshot of the table

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2022
@flutter-triage-bot flutter-triage-bot bot added P3 Issues that are less important to the Flutter project and removed P6 labels Jun 28, 2023
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants