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

feat(statistics): split the stats between issues and PRs #364

Merged
merged 29 commits into from
Apr 27, 2021

Conversation

C0ZEN
Copy link
Contributor

@C0ZEN C0ZEN commented Mar 7, 2021

Changes:

  • Create the logic to display the values as a group (only when two values are at least set)
  • Use toHaveLength in the specs
  • Split the display for all stat which is currently grouping both issues and PRs

Example:

Processed items: 3
├── Processed issues: 1
└── Processed PRs   : 2

Closes #360

C0ZEN and others added 25 commits November 22, 2020 10:55
feat(stale-and-close): add new options to change the days before clos…
Remove the stale label when labeled with an exempt one  (actions#268)
feat(statistics): display some stats in the logs (actions#337)
* docs(only-labels): remove duplicated option and improve descriptions

a bad rebase happend

* docs(readme): use a multi-line array and remove the optional column

the option column was not helpful since each value is optional
the multi-line array will allow to have a better UI in small devices and basically in GitHub too due to the max-width

* style(readme): break line for the statistics

* docs(readme): add a better description for the ascending option

* docs(action): add missing punctuation
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.3.0 to 18.3.2.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](octokit/rest.js@v18.3.0...v18.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@C0ZEN C0ZEN marked this pull request as ready for review March 9, 2021 19:02
@C0ZEN
Copy link
Contributor Author

C0ZEN commented Mar 9, 2021

@hross this one is ready FYI

Copy link
Collaborator

@luketomlinson luketomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @C0ZEN 🥇

@luketomlinson luketomlinson merged commit 5e20aa8 into actions:main Apr 27, 2021
@C0ZEN C0ZEN deleted the feature/statistics branch April 27, 2021 18:47
@C0ZEN
Copy link
Contributor Author

C0ZEN commented Apr 27, 2021

@luketomlinson any chance you will review more PRs?
I am still eager to provide more contributions once the ones opened are handled FYI.
No hurry though.

@luketomlinson
Copy link
Collaborator

hey @C0ZEN! I am working through these and I hope to get to them soon. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate statistics for issues and for PRs
2 participants