@kud/gh-ink 0.27.0 → 0.28.0
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/dist/index.js +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1978,6 +1978,7 @@ var HelpModal = ({
|
|
|
1978
1978
|
["m", "actions \xB7 close"],
|
|
1979
1979
|
["e", "explain this row"],
|
|
1980
1980
|
["o", "open in browser"],
|
|
1981
|
+
["O", "open ticket + its PRs"],
|
|
1981
1982
|
["c", "copy URL"],
|
|
1982
1983
|
["C", "copy ticket + its PRs"],
|
|
1983
1984
|
["b", "copy branch"],
|
|
@@ -2488,6 +2489,14 @@ var BrowseScreen = ({
|
|
|
2488
2489
|
showFlash(`\u2197 Opened ${label}`);
|
|
2489
2490
|
return;
|
|
2490
2491
|
}
|
|
2492
|
+
if (input === "O") {
|
|
2493
|
+
const urls = treeUrls(section.items, cursor);
|
|
2494
|
+
if (urls.length === 0) return;
|
|
2495
|
+
quietly`open ${urls}`.catch(() => {
|
|
2496
|
+
});
|
|
2497
|
+
showFlash(`\u2197 Opened ${urls.length} tab${urls.length === 1 ? "" : "s"}`);
|
|
2498
|
+
return;
|
|
2499
|
+
}
|
|
2491
2500
|
if (input === "c") {
|
|
2492
2501
|
clipboard(activeItem.url);
|
|
2493
2502
|
const label = activeItem.kind === "task" ? activeItem.key : `#${activeItem.number}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kud/gh-ink",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
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",
|