José Almeida
77f7924004
fix(web): restore diff expansion for committed-source review rows ( #1423 )
...
* fix(web): restore diff expansion for committed-source review rows
#1097 narrowed the expansion gate to `source === "uncommitted"` to dodge a
trailing-context crash, which silently dropped expand controls for committed
files — the bulk of a review. The crash is now caught by the reparse guard in
useExpandableDiff, so re-enable expansion for committed rows, fetching the old
side from the repo's base branch (not HEAD, which already has the commits).
Extracts the decision into a pure `resolveDiffExpansion` helper and adds a
multi-repo guard so a committed file never borrows another repo's base branch.
* fix(web): guard diff-expansion base fallback to single-repo tasks
Resolve baseBranchByRepo once in ReviewDiffList (not per row) and only expose a
fallback base branch when the task has exactly one repo, so a committed file
with no repository_name in a multi-repo task no longer borrows an arbitrary
repo's base branch. Addresses Greptile/cubic review feedback.
2026-06-18 11:58:04 +01:00
..
2026-06-02 23:10:02 +01:00
2026-06-17 15:26:30 +01:00
2026-06-08 20:06:02 +01:00
2026-05-17 20:16:15 +01:00
2026-06-15 17:59:05 +01:00
2026-05-23 10:52:45 +01:00
2026-06-15 18:54:16 +01:00
2026-06-06 21:58:39 +01:00
2026-06-06 21:58:39 +01:00
2026-06-15 18:54:16 +01:00
2026-06-14 22:33:34 +01:00
2026-06-15 18:54:16 +01:00
2026-05-19 19:14:21 +01:00
2026-06-13 19:26:54 +01:00
2026-05-03 16:15:28 +01:00
2026-06-18 11:58:04 +01:00
2026-06-15 18:54:16 +01:00
2026-06-02 21:48:23 +01:00
2026-06-16 13:59:15 +01:00
2026-06-17 21:46:23 +01:00
2026-05-05 09:03:42 +01:00
2026-05-01 21:02:41 +01:00
2026-06-14 22:33:34 +01:00
2026-06-17 21:46:23 +01:00
2026-05-25 18:15:52 +01:00
2026-06-15 18:54:16 +01:00
2026-05-01 13:24:12 +01:00
2026-05-30 23:03:18 +01:00
2026-05-16 20:07:57 +01:00
2026-05-08 16:32:06 +01:00
2026-05-08 16:32:06 +01:00
2026-05-12 01:10:22 +01:00
2026-06-06 23:09:12 +01:00
2026-05-12 18:54:14 +01:00
2026-05-01 15:18:18 +01:00
2026-05-01 15:18:18 +01:00
2026-05-10 19:44:56 +01:00
2026-06-07 22:55:42 +01:00
2026-06-06 21:58:39 +01:00
2026-06-14 17:58:52 +01:00
2026-05-05 14:13:43 +01:00
2026-05-11 17:51:26 +01:00
2026-05-11 17:51:26 +01:00
2026-05-05 14:13:43 +01:00
2026-05-28 19:17:26 +01:00
2026-05-05 14:13:43 +01:00
2026-06-06 21:58:39 +01:00
2026-05-11 13:33:18 +01:00
2026-05-01 15:18:18 +01:00
2026-06-11 22:27:06 +01:00
2026-06-02 23:10:02 +01:00
2026-06-06 21:58:39 +01:00
2026-05-29 11:08:42 +01:00
2026-05-24 12:59:30 +01:00
2026-06-14 22:33:34 +01:00
2026-06-14 22:33:34 +01:00
2026-05-28 16:23:17 +01:00
2026-05-03 22:45:52 +01:00
2026-05-03 22:45:52 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-14 21:26:09 +01:00
2026-05-01 21:02:41 +01:00
2026-06-09 16:40:27 +01:00
2026-06-09 16:40:27 +01:00
2026-06-09 16:40:27 +01:00
2026-05-25 19:14:36 +01:00
2026-05-25 19:14:36 +01:00
2026-06-01 18:38:51 +01:00
2026-06-01 18:38:51 +01:00
2026-05-16 20:07:57 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-02 20:26:42 +01:00
2026-05-30 15:47:02 +01:00
2026-06-14 21:40:02 +01:00
2026-05-02 20:26:42 +01:00
2026-05-14 21:26:09 +01:00
2026-05-25 19:14:36 +01:00
2026-05-03 16:15:28 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-06-01 19:36:20 +01:00
2026-06-01 19:36:20 +01:00
2026-05-30 15:47:02 +01:00
2026-06-01 18:38:51 +01:00
2026-06-01 18:38:51 +01:00
2026-06-08 17:39:37 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-05-30 15:47:02 +01:00
2026-06-08 17:39:37 +01:00
2026-06-08 17:39:37 +01:00
2026-06-08 17:39:37 +01:00
2026-06-16 15:21:20 +01:00
2026-06-06 21:58:39 +01:00
2026-05-02 20:26:42 +01:00
2026-05-02 20:26:42 +01:00
2026-05-12 18:54:14 +01:00