@d3lm/pr-stats 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/dist/tui-app.mjs +9 -3
  2. package/package.json +1 -1
package/dist/tui-app.mjs CHANGED
@@ -1178,7 +1178,10 @@ function Placeholder({
1178
1178
  }
1179
1179
  function LoadProgress({ load }) {
1180
1180
  if (!load.total) {
1181
- return /* @__PURE__ */ jsx5("text", { fg: theme.muted, children: loadLabel(load) });
1181
+ return /* @__PURE__ */ jsxs4("box", { flexDirection: "row", columnGap: 1, children: [
1182
+ /* @__PURE__ */ jsx5("text", { fg: theme.muted, children: loadLabel(load) }),
1183
+ /* @__PURE__ */ jsx5(Spinner, {})
1184
+ ] });
1182
1185
  }
1183
1186
  const done = load.done ?? 0;
1184
1187
  const cells = Math.min(done / load.total, 1) * BAR_WIDTH;
@@ -1196,7 +1199,7 @@ function LoadProgress({ load }) {
1196
1199
  ] });
1197
1200
  }
1198
1201
  function loadLabel(load) {
1199
- return load.phase === "search" ? "searching PRs..." : "fetching PR details";
1202
+ return load.phase === "search" ? "searching PRs" : "fetching PR details";
1200
1203
  }
1201
1204
 
1202
1205
  // src/tui/components/QueuePanel.tsx
@@ -4008,7 +4011,10 @@ function buildHeatmapCard({ title, subtitle, grid, columns, legend }) {
4008
4011
  });
4009
4012
  const columnWidths = columns.map((column) => column.label.length + 2);
4010
4013
  const header = [
4011
- { text: ` ${["00", "06", "12", "18"].map((label) => label.padEnd(12)).join(" ")}`, fg: theme.dim },
4014
+ {
4015
+ text: ` ${["00 03", "06 09", "12 15", "18 21"].map((label) => label.padEnd(12)).join(" ")}`,
4016
+ fg: theme.dim
4017
+ },
4012
4018
  { text: columns.map((column, i) => column.label.padStart(columnWidths[i])).join(""), fg: theme.dim }
4013
4019
  ];
4014
4020
  const lines = [header];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d3lm/pr-stats",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "GitHub PR stats in an interactive terminal UI, via the gh CLI or an access token",
5
5
  "type": "module",
6
6
  "author": "Dominic Elm",