@ondrej-svec/hog 1.24.0 → 1.24.1

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/cli.js CHANGED
@@ -7141,6 +7141,7 @@ function getDetailWidth(cols) {
7141
7141
  function PanelLayout({
7142
7142
  cols,
7143
7143
  issuesPanelHeight,
7144
+ totalHeight,
7144
7145
  reposPanel,
7145
7146
  statusesPanel,
7146
7147
  issuesPanel,
@@ -7151,7 +7152,7 @@ function PanelLayout({
7151
7152
  const mode = getLayoutMode(cols);
7152
7153
  if (mode === "wide") {
7153
7154
  const detailWidth = getDetailWidth(cols);
7154
- return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", children: [
7155
+ return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", height: totalHeight, overflow: "hidden", children: [
7155
7156
  /* @__PURE__ */ jsxs23(Box22, { height: issuesPanelHeight, children: [
7156
7157
  !hideLeftPanel ? /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", width: LEFT_COL_WIDTH, children: [
7157
7158
  reposPanel,
@@ -7164,7 +7165,7 @@ function PanelLayout({
7164
7165
  ] });
7165
7166
  }
7166
7167
  if (mode === "medium") {
7167
- return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", children: [
7168
+ return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", height: totalHeight, overflow: "hidden", children: [
7168
7169
  /* @__PURE__ */ jsxs23(Box22, { height: issuesPanelHeight, children: [
7169
7170
  !hideLeftPanel ? /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", width: LEFT_COL_WIDTH, children: [
7170
7171
  reposPanel,
@@ -7175,10 +7176,11 @@ function PanelLayout({
7175
7176
  /* @__PURE__ */ jsx23(Box22, { height: ACTIVITY_HEIGHT, children: activityPanel })
7176
7177
  ] });
7177
7178
  }
7178
- return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", children: [
7179
+ const STACKED_LEFT_HEIGHT = 6;
7180
+ return /* @__PURE__ */ jsxs23(Box22, { flexDirection: "column", height: totalHeight, overflow: "hidden", children: [
7179
7181
  !hideLeftPanel ? /* @__PURE__ */ jsxs23(Fragment3, { children: [
7180
- reposPanel,
7181
- statusesPanel
7182
+ /* @__PURE__ */ jsx23(Box22, { height: STACKED_LEFT_HEIGHT, overflow: "hidden", children: reposPanel }),
7183
+ /* @__PURE__ */ jsx23(Box22, { height: STACKED_LEFT_HEIGHT, overflow: "hidden", children: statusesPanel })
7182
7184
  ] }) : null,
7183
7185
  /* @__PURE__ */ jsx23(Box22, { flexGrow: 1, flexDirection: "column", children: issuesPanel }),
7184
7186
  /* @__PURE__ */ jsx23(Box22, { height: ACTIVITY_HEIGHT, children: activityPanel })
@@ -8543,7 +8545,7 @@ function Dashboard({ config: config2, options, activeProfile }) {
8543
8545
  }
8544
8546
  )
8545
8547
  ] });
8546
- return /* @__PURE__ */ jsxs29(Box28, { flexDirection: "column", paddingX: 1, children: [
8548
+ return /* @__PURE__ */ jsxs29(Box28, { flexDirection: "column", paddingX: 1, height: termSize.rows, overflow: "hidden", children: [
8547
8549
  /* @__PURE__ */ jsxs29(Box28, { children: [
8548
8550
  /* @__PURE__ */ jsx29(Text27, { color: "cyan", bold: true, children: "HOG BOARD" }),
8549
8551
  activeProfile ? /* @__PURE__ */ jsxs29(Text27, { color: "yellow", children: [
@@ -8684,6 +8686,7 @@ function Dashboard({ config: config2, options, activeProfile }) {
8684
8686
  {
8685
8687
  cols: termSize.cols,
8686
8688
  issuesPanelHeight,
8689
+ totalHeight: totalPanelHeight,
8687
8690
  reposPanel,
8688
8691
  statusesPanel,
8689
8692
  issuesPanel,
@@ -9788,7 +9791,7 @@ async function resolveRef(ref, config2) {
9788
9791
  }
9789
9792
  }
9790
9793
  var program = new Command();
9791
- program.name("hog").description("Personal command deck \u2014 GitHub Projects dashboard with workflow orchestration").version("1.24.0").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
9794
+ program.name("hog").description("Personal command deck \u2014 GitHub Projects dashboard with workflow orchestration").version("1.24.1").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
9792
9795
  const opts = thisCommand.opts();
9793
9796
  if (opts.json) setFormat("json");
9794
9797
  if (opts.human) setFormat("human");