@kud/gh-ink 0.26.2 → 0.26.3
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 +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2842,7 +2842,8 @@ var App = ({
|
|
|
2842
2842
|
return known.remaining >= Math.max(known.cost, 1) * 2;
|
|
2843
2843
|
};
|
|
2844
2844
|
const revalidate = (manual = false) => {
|
|
2845
|
-
|
|
2845
|
+
const gated = !manual && !!displayedKey.current;
|
|
2846
|
+
if (gated && !canAffordAuto()) {
|
|
2846
2847
|
setSkippedForBudget(true);
|
|
2847
2848
|
return;
|
|
2848
2849
|
}
|
|
@@ -2994,7 +2995,7 @@ var App = ({
|
|
|
2994
2995
|
Box,
|
|
2995
2996
|
{
|
|
2996
2997
|
flexDirection: "column",
|
|
2997
|
-
minHeight: Math.max(5, rows -
|
|
2998
|
+
minHeight: Math.max(5, rows - 6 - (hasCiStatus ? 2 : 0)),
|
|
2998
2999
|
children: state.phase === "loading" ? /* @__PURE__ */ jsx(LoadingScreen, { label: `Fetching ${title}\u2026` }) : /* @__PURE__ */ jsx(
|
|
2999
3000
|
NoRowsScreen,
|
|
3000
3001
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kud/gh-ink",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.3",
|
|
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",
|