@d3lm/pr-stats 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Without flags, it covers PRs from the last 90 days across all repositories you c
|
|
|
27
27
|
|
|
28
28
|
- **Queue** lists the open PRs awaiting your review with their wait time, and below them the open PRs you already reviewed. A fresh review request moves a PR back into the awaiting list.
|
|
29
29
|
- **Your PRs** splits into your open PRs and a merged-and-closed report with merge-time, first-review, backlog, and outcome charts plus a reviewer leaderboard. The `t` key switches the sub-tabs.
|
|
30
|
-
- **
|
|
30
|
+
- **Reviews** counts the PRs you reviewed on request next to the review rounds they took, and charts your review times as a histogram, trend, heatmap, and weekly volume, plus review cycles, verdicts, an off-hours gauge, and the requests still waiting on you.
|
|
31
31
|
- **PR size** carries the same charts for PR sizes and adds a weekly net-lines trend.
|
|
32
32
|
- **Comments** holds a histogram of comments per PR, a scatter against PR size, and the most commented PRs.
|
|
33
33
|
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
<key>CFBundlePackageType</key>
|
|
20
20
|
<string>APPL</string>
|
|
21
21
|
<key>CFBundleShortVersionString</key>
|
|
22
|
-
<string>0.2.
|
|
22
|
+
<string>0.2.17</string>
|
|
23
23
|
<key>CFBundleVersion</key>
|
|
24
|
-
<string>0.2.
|
|
24
|
+
<string>0.2.17</string>
|
|
25
25
|
<key>LSMinimumSystemVersion</key>
|
|
26
26
|
<string>13.0</string>
|
|
27
27
|
<key>LSUIElement</key>
|
|
Binary file
|
package/dist/tui-app.mjs
CHANGED
|
@@ -2472,7 +2472,7 @@ function RepoList({
|
|
|
2472
2472
|
}
|
|
2473
2473
|
|
|
2474
2474
|
// src/tui/state/browse.ts
|
|
2475
|
-
var TABS = ["1 Awaiting you", "2 Your PRs", "3
|
|
2475
|
+
var TABS = ["1 Awaiting you", "2 Your PRs", "3 Reviews", "4 PR size", "5 Comments"];
|
|
2476
2476
|
var initialBrowseState = {
|
|
2477
2477
|
tab: 0,
|
|
2478
2478
|
authoredTab: "open",
|
|
@@ -5752,7 +5752,8 @@ function buildReviewView(raw, target, repo = null, width = 100, expanded = false
|
|
|
5752
5752
|
const results = repo === null ? raw.reviewResults : raw.reviewResults.filter((result) => result.pr.repo === repo);
|
|
5753
5753
|
const stats = computeReviewStats(results, { targetHours: target?.hours, now: raw.fetchedAt });
|
|
5754
5754
|
const strip = [
|
|
5755
|
-
countCell(stats.
|
|
5755
|
+
countCell(stats.cycles.length, "PRs reviewed"),
|
|
5756
|
+
countCell(stats.reviewed.length, "review rounds"),
|
|
5756
5757
|
countCell(stats.pending.length, "awaiting you", true),
|
|
5757
5758
|
countCell(stats.expired.length, "closed unreviewed", true),
|
|
5758
5759
|
[{ text: `${stats.unrequested.length} reviewed unasked (excluded)`, fg: theme.dim }]
|