@kud/gh-ink 0.51.0 → 0.51.2

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/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1928,8 +1928,8 @@ var ItemRow = ({
1928
1928
  const [turnIcon, turnColor] = item.pinned ? [PIN_MARK, "#FF8700"] : !login || !item.lastActor ? [" ", "white"] : spokeLast ? ["\u2192", "#888888"] : ["\u2190", "#FF8700"];
1929
1929
  const numStr = `#${item.number}`.padEnd(7);
1930
1930
  const showAuthor = !!item.author && item.author !== login;
1931
- const sizeLabel = showAuthor ? sizeOf(item) : null;
1932
- const sizeParts = showAuthor ? sizePartsOf(item) : null;
1931
+ const sizeLabel = sizeOf(item);
1932
+ const sizeParts = sizePartsOf(item);
1933
1933
  const unresolvedLabel = item.unresolved > 0 ? `\uF086 ${item.unresolved}` : "";
1934
1934
  const ageLabel = item.activityAge && item.activityAge !== item.age ? `${item.activityAge} \xB7 ${item.age}` : item.age;
1935
1935
  const mergedLabel = merged ? "merged" : "";
@@ -2366,7 +2366,7 @@ var BrowseScreen = ({
2366
2366
  sidebar
2367
2367
  }) => {
2368
2368
  const { rows } = useWindowSize();
2369
- const applyWork = (secs) => origin ? filterByOrigin(secs, origin.show, origin.match) : secs;
2369
+ const applyWork = (secs) => origin ? filterByOrigin(secs, origin.show, origin.match, login) : secs;
2370
2370
  const initialSections = applyWork(sections);
2371
2371
  const [localSections, setLocalSections] = useState(initialSections);
2372
2372
  const [tabIdx, setTabIdx] = useState(0);
@@ -2453,8 +2453,8 @@ var BrowseScreen = ({
2453
2453
  label: "",
2454
2454
  items: []
2455
2455
  };
2456
- const searched = search != null ? filterBySearch([rawSection], search) : [rawSection];
2457
- const filtered = repoFilter.size > 0 ? filterByRepos(searched, repoFilter) : searched;
2456
+ const searched = search != null ? filterBySearch([rawSection], search, login) : [rawSection];
2457
+ const filtered = repoFilter.size > 0 ? filterByRepos(searched, repoFilter, login) : searched;
2458
2458
  const section = filterActive ? { ...rawSection, items: filtered[0]?.items ?? [] } : rawSection;
2459
2459
  const allRepos = reposInSections(localSections);
2460
2460
  const { cursor: repoCursor, setCursor: setRepoCursor } = useListCursor(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/gh-ink",
3
- "version": "0.51.0",
3
+ "version": "0.51.2",
4
4
  "description": "Ink components for rendering GitHub PR review comments and health — controlled, presentation-only, built on @kud/ink-ui and fed by @kud/gh.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@kud/gh": "0.16.0",
52
- "@kud/gh-workflow": "0.8.0",
52
+ "@kud/gh-workflow": "0.9.0",
53
53
  "@kud/ink-ui": "0.25.0",
54
54
  "zx": "8.8.5"
55
55
  },