Skip to content

Commit 2c573a3

Browse files
authored
fix: review panel labels, fetching for Rebase, Push, and Create PR after a closed PR (#575)
* fix: review panel labels, fetching for Rebase, Push, and Create PR after a closed PR - File headers name their group when a file is listed both committed and uncommitted. - The Diff header names the lane's base ref (origin/main), not the fork commit. - The Diff fetches the lane's remote base on open and every minute through a new `fetch` channel op, so Rebase appears; `changes` itself still never fetches. - Group totals with only binary files or summarized folders show a file count, not +0 -0. - Additions and deletions pluralize in labels. - The file tree and split mode stay as chosen when the file list changes. - Push asks the agent to push a branch its remote is missing commits from, without a PR. - Create PR returns after the branch's PR is closed, or merged with work since. Why: packages/channel/src/changes.ts#function fetchBase | fetching stays a separate op the Diff calls once a minute; the changes read polled every 2 s must never fetch Why: packages/ui/src/components/diff/diff-view.tsx#function DiffView | view choices (tree, mode) live outside the keyed content, which remounts whenever the file list changes * chore: confirm lane notes the review fixes touched * lane: sync fix-review memory
1 parent f8b4ece commit 2c573a3

20 files changed

Lines changed: 222 additions & 47 deletions

‎.lane/memory/apps/app/src/git.ts/01M53CQQMAFKZ7DCE8B12N901C-git-and-pr-actions-ask-the-c.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: function useGit
44
created: 2026-10-16T22:18:47Z
55
norm: '1'
66
sig: 6c6d8173da981fc6
7-
body_hash: d9f3d17ba0fba378
8-
raw_hash: 730462f8973a08c0
9-
vouched: 2026-10-16T22:49:12Z
7+
body_hash: 35a4f47d1a607151
8+
raw_hash: 36efc7db0f7d9765
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 28-57
1111
---
1212

‎.lane/memory/apps/app/src/git.ts/01M53DE0VH97Z9N19627SJGNMR-merge-pr-is-offered-only-whe.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: function useGit
44
created: 2026-10-16T22:30:58Z
55
norm: '1'
66
sig: 6c6d8173da981fc6
7-
body_hash: d9f3d17ba0fba378
8-
raw_hash: 730462f8973a08c0
9-
vouched: 2026-10-16T22:49:12Z
7+
body_hash: 35a4f47d1a607151
8+
raw_hash: 36efc7db0f7d9765
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 67-153
1111
---
1212

‎.lane/memory/apps/app/src/git.ts/01M53EFAEEC0X721792QGVQXJB-the-sidebar-and-diff-header.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ anchor: function useGit
44
created: 2026-10-16T22:49:09Z
55
norm: '1'
66
sig: 6c6d8173da981fc6
7-
body_hash: d9f3d17ba0fba378
8-
raw_hash: 730462f8973a08c0
7+
body_hash: 35a4f47d1a607151
8+
raw_hash: 36efc7db0f7d9765
9+
vouched: 2026-10-22T14:35:52Z
910
lines: 67-156
1011
---
1112

‎.lane/memory/packages/channel/src/changes.ts/01M53DE0T5S2AMJEWQ1V4EHA2H-behind-counts-commits-on-the.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ anchor: function changes
44
created: 2026-10-16T22:30:58Z
55
norm: '1'
66
sig: f55c70c150e7bf86
7-
body_hash: 449d72f9376e96c0
8-
raw_hash: 75f3d6495136245b
7+
body_hash: 3e0b55394db271ed
8+
raw_hash: 0530a5cc5672aff8
9+
vouched: 2026-10-22T14:35:52Z
910
lines: 123-161
1011
---
1112

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
id: 01M5J0KWKZ22SCJT7QY69G1P60
3+
anchor: function fetchBase
4+
created: 2026-10-22T14:35:35Z
5+
norm: '1'
6+
sig: 14f8df035e40ad8b
7+
body_hash: 58a61d165604e742
8+
raw_hash: 74cdb20c0b6f1e61
9+
lines: 189-205
10+
---
11+
12+
fetching stays a separate op the Diff calls once a minute; the changes read polled every 2 s must never fetch

‎.lane/memory/packages/channel/src/channel.ts/01M4XQKND0900E94CG3BXBEJP7-a-run-s-end-is-read-from-the.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: class Channel
44
created: 2026-10-14T17:33:22Z
55
norm: '1'
66
sig: c905677fa4be33c1
7-
body_hash: ab25308bd79989e5
8-
raw_hash: 8691059ceba82558
9-
vouched: 2026-10-20T17:05:11Z
7+
body_hash: e05cfd4b5bb4c4b3
8+
raw_hash: aeb6b16210ed310a
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 114-792
1111
---
1212

‎.lane/memory/packages/channel/src/channel.ts/01M4YFFTK7TWGKENJAD1W10HJJ-the-desktop-default-changes.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: class Channel
44
created: 2026-10-15T00:30:42Z
55
norm: '1'
66
sig: c905677fa4be33c1
7-
body_hash: ab25308bd79989e5
8-
raw_hash: 8691059ceba82558
9-
vouched: 2026-10-20T17:05:11Z
7+
body_hash: e05cfd4b5bb4c4b3
8+
raw_hash: aeb6b16210ed310a
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 114-792
1111
---
1212

‎.lane/memory/packages/channel/src/channel.ts/01M4YPJQB6KKEW1YTRD08YCYJY-only-gateways-admit-clients.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: class Channel
44
created: 2026-10-15T02:34:37Z
55
norm: '1'
66
sig: c905677fa4be33c1
7-
body_hash: ab25308bd79989e5
8-
raw_hash: 8691059ceba82558
9-
vouched: 2026-10-20T17:05:11Z
7+
body_hash: e05cfd4b5bb4c4b3
8+
raw_hash: aeb6b16210ed310a
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 114-794
1111
---
1212

‎.lane/memory/packages/channel/src/channel.ts/01M4ZH31DXZK0Y57C97DP84ZKX-handoffs-learns-queued-hando.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: class Channel
44
created: 2026-10-15T10:17:55Z
55
norm: '1'
66
sig: c905677fa4be33c1
7-
body_hash: ab25308bd79989e5
8-
raw_hash: 8691059ceba82558
9-
vouched: 2026-10-20T17:05:11Z
7+
body_hash: e05cfd4b5bb4c4b3
8+
raw_hash: aeb6b16210ed310a
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 121-817
1111
---
1212

‎.lane/memory/packages/channel/src/channel.ts/01M53CAGW2RVRKCYF5BCJRTZX2-a-fork-s-starting-lane-is-re.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ anchor: class Channel
44
created: 2026-10-16T22:11:35Z
55
norm: '1'
66
sig: c905677fa4be33c1
7-
body_hash: ab25308bd79989e5
8-
raw_hash: 8691059ceba82558
9-
vouched: 2026-10-20T17:05:11Z
7+
body_hash: e05cfd4b5bb4c4b3
8+
raw_hash: aeb6b16210ed310a
9+
vouched: 2026-10-22T14:35:52Z
1010
lines: 127-873
1111
---
1212

0 commit comments

Comments
 (0)