Skip to content

Commit

Permalink
Fix: Fixed timelines title
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSim93 committed Mar 16, 2024
1 parent 71b9f1c commit c6a33c2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pull request analytics action

![Version](https://img.shields.io/badge/version-2.2.2-blue) ![License](https://img.shields.io/badge/license-MIT-green)
![Version](https://img.shields.io/badge/version-2.2.3-blue) ![License](https://img.shields.io/badge/license-MIT-green)

**pull-request-analytics-action**: A powerful tool for analyzing the effectiveness of both teams and individual developers. This action generates reports based on data from pull requests, code reviews, and comments, enabling you to identify your team's strengths as well as areas needing improvement. The statistics collected by this GitHub Action can be displayed in the form of tables and graphs or passed on for further operations as markdown or a data collection.

Expand Down
4 changes: 2 additions & 2 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pull-request-analytics-action",
"version": "2.2.2",
"version": "2.2.3",
"description": "Generates detailed PR analytics reports within GitHub, focusing on review efficiency and team performance.",
"main": "build/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/view/utils/createTimelineGanttBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const createTimelineGanttBar = (
return createGanttBar({
title: `Pull requests timeline(${
type === "percentile" ? parseInt(getValueAsIs("PERCENTILE")) : ""
}th ${type}) ${date} / minutes`,
}${type === "percentile" ? "th" : ""} ${type}) ${date} / minutes`,
sections: users
.filter(
(user) =>
Expand Down
2 changes: 1 addition & 1 deletion src/view/utils/createTimelineTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const createTimelineTable = (
const pullRequestTimeLine = createTable({
title: `Pull requests timeline(${
type === "percentile" ? parseInt(getValueAsIs("PERCENTILE")) : ""
}th ${type}) ${date}`,
}${type === "percentile" ? "th" : ""} ${type}) ${date}`,
description:
"**Time to review** - time from PR creation to first review. \n**Time to approve** - time from PR creation to first approval without requested changes. \n**Time to merge** - time from PR creation to merge.",
table: {
Expand Down

0 comments on commit c6a33c2

Please sign in to comment.