@kud/gh-ink 0.51.1 → 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 +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -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.1",
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
  },