lazyreview 1.0.1 → 1.0.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.
package/dist/cli.js CHANGED
@@ -121868,7 +121868,7 @@ function FilesTab({
121868
121868
  const theme14 = useTheme();
121869
121869
  const { setInputActive } = useInputFocus();
121870
121870
  const { markViewed, toggleViewed, isViewed, getViewedCount } = useViewedFiles();
121871
- const viewportHeight = Math.max(1, (stdout?.rows ?? 24) - 10);
121871
+ const viewportHeight = Math.max(1, (stdout?.rows ?? 24) - 13);
121872
121872
  const [focusPanel, setFocusPanel] = (0, import_react78.useState)("tree");
121873
121873
  const [selectedFileIndex, setSelectedFileIndex] = (0, import_react78.useState)(0);
121874
121874
  const [visualStart, setVisualStart] = (0, import_react78.useState)(null);
@@ -121890,13 +121890,13 @@ function FilesTab({
121890
121890
  () => buildDisplayRows(filteredTree, 0, { current: 0 }),
121891
121891
  [filteredTree]
121892
121892
  );
121893
+ const treeViewportHeight = viewportHeight - 2;
121894
+ const fileTreeListRef = (0, import_react78.useRef)(null);
121893
121895
  const { selectedIndex: treeSelectedIndex } = useListNavigation({
121894
121896
  itemCount: fileOrder.length,
121895
- viewportHeight,
121897
+ viewportHeight: treeViewportHeight,
121896
121898
  isActive: isActive2 && focusPanel === "tree" && !isFiltering
121897
121899
  });
121898
- const treeViewportHeight = viewportHeight - 2;
121899
- const fileTreeListRef = (0, import_react78.useRef)(null);
121900
121900
  const selectedRowIndex = displayRows.findIndex(
121901
121901
  (r) => r.type === "file" && r.fileIndex === treeSelectedIndex
121902
121902
  );
@@ -122250,6 +122250,7 @@ function TimelineItemView({
122250
122250
  paddingY: 1,
122251
122251
  marginBottom: 2,
122252
122252
  gap: 1,
122253
+ overflow: "hidden",
122253
122254
  children: [
122254
122255
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Box_default, { flexDirection: "row", children: [
122255
122256
  isFocus && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Text, { color: theme14.colors.accent, children: "> " }),
@@ -122408,6 +122409,7 @@ function PRInfoSection({
122408
122409
  paddingY: 1,
122409
122410
  borderStyle: "single",
122410
122411
  borderColor: theme14.colors.border,
122412
+ overflow: "hidden",
122411
122413
  children: [
122412
122414
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Box_default, { flexDirection: "row", children: [
122413
122415
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { color: theme14.colors.muted, children: "Author: " }),
@@ -122457,7 +122459,7 @@ function PRDescriptionSection({
122457
122459
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { color: theme14.colors.muted, children: " by " }),
122458
122460
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { color: theme14.colors.secondary, bold: true, children: pr.user.login })
122459
122461
  ] }),
122460
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Box_default, { paddingLeft: 1, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MarkdownText, { content: pr.body }) }),
122462
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Box_default, { paddingLeft: 1, width: "85%", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MarkdownText, { content: pr.body }) }),
122461
122463
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Box_default, { paddingY: 1, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Divider, { title: "Timeline" }) })
122462
122464
  ] });
122463
122465
  }
@@ -122541,7 +122543,7 @@ function ConversationsTab({
122541
122543
  stdout?.off("resize", handleResize);
122542
122544
  };
122543
122545
  }, [stdout]);
122544
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Box_default, { flexDirection: "column", flexGrow: 1, children: [
122546
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Box_default, { flexDirection: "column", flexGrow: 1, overflow: "hidden", children: [
122545
122547
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PRInfoSection, { pr }),
122546
122548
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PRDescriptionSection, { pr }),
122547
122549
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ReviewSummary, { reviews }),