Danilo Leal
f2e9c5a025
Fix when agent-powered merge conflict button shows up ( #54791 )
...
This PR fixes the logic to dismiss the "resolve merge conflict with
agent" button. Previously, we were just observing
`merge_heads_by_conflicted_path`, which seems to be intentionally
sticky, preserving the conflicted paths until changes are either
committed or aborted. This would make the button to resolve conflicts
show up even _after_ the changes get resolved. Now, we're checking
whether paths are _currently_ conflicted (`is_conflicted()`), and if
they are not, we don't display the button, even though the resolution
might have not been committed or aborted yet.
As a bonus, in this PR, I'm also putting the resolve conflict button
_before_ the activity indicator, so as to avoid bounciness, and did a
quick polish of the activity indicator button itself, by using the
`Button` component.
Release Notes:
- Fixed a bug with the merge conflict "resolve with agent" button where
it would be displayed even though all conflicts have already been
resolved.
2026-04-24 14:41:44 +00:00
..
2026-04-24 10:29:51 +00:00
2026-04-22 14:57:12 -07:00
2026-04-16 12:54:17 +00:00
2026-04-24 14:41:44 +00:00
2026-04-24 12:32:28 +00:00
2026-04-24 10:29:51 +00:00
2026-04-22 15:02:57 +00:00
2026-04-24 13:54:28 +00:00
2026-04-15 21:51:15 -03:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-16 12:54:17 +00:00
2026-04-20 09:29:51 +00:00
2026-04-20 18:03:26 -07:00
2026-04-24 10:29:51 +00:00
2026-04-24 10:29:51 +00:00
2026-04-22 13:39:48 +00:00
2026-04-24 10:45:16 +00:00
2026-04-21 09:01:42 +00:00
2026-04-22 11:12:32 -06:00
2026-04-15 21:51:15 -03:00
2026-04-24 10:29:51 +00:00
2026-04-20 14:33:18 +02:00
2026-04-24 10:29:51 +00:00
2026-04-21 07:25:22 +00:00
2026-04-24 10:29:51 +00:00
2026-04-21 19:54:02 +00:00
2026-04-21 19:25:21 +00:00
2026-04-23 07:36:36 +00:00
2026-04-20 08:53:15 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-23 23:47:30 +00:00
2026-04-20 14:03:26 +03:00
2026-04-21 09:01:42 +00:00
2026-04-24 12:43:30 +00:00
2026-04-22 15:02:57 +00:00
2026-04-21 17:32:54 -04:00
2026-04-21 17:32:54 -04:00
2026-04-24 12:42:45 +00:00
2026-04-21 09:01:42 +00:00
2026-04-21 09:43:44 -07:00
2026-04-18 06:34:19 +00:00
2026-04-16 07:45:38 +00:00
2026-04-23 23:47:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-21 11:01:20 +02:00
2026-04-24 10:29:51 +00:00
2026-04-24 11:44:36 +00:00
2026-04-24 14:41:44 +00:00
2026-04-22 13:39:48 +00:00
2026-04-24 10:29:51 +00:00
2026-04-24 10:10:12 +00:00
2026-04-24 09:09:29 +00:00
2026-04-16 10:37:05 -04:00
2026-04-24 08:58:26 +00:00
2026-04-14 18:14:31 +02:00
2026-04-23 23:47:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-21 13:35:13 -04:00
2026-04-24 08:45:47 +00:00
2026-04-17 13:54:43 +02:00
2026-04-22 22:22:10 +00:00
2026-04-17 13:54:43 +02:00
2026-04-22 15:09:09 +01:00
2026-04-24 08:58:26 +00:00
2026-04-24 10:29:51 +00:00
2026-04-18 00:55:44 +02:00
2026-04-22 13:39:48 +00:00
2026-04-24 10:29:51 +00:00
2026-04-24 14:17:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-21 19:54:02 +00:00
2026-04-23 23:47:30 +00:00
2026-04-24 13:54:28 +00:00
2026-04-23 23:47:30 +00:00
2026-04-22 15:43:53 +05:30
2026-04-23 18:41:52 +00:00
2026-04-24 10:29:51 +00:00
2026-04-14 11:10:31 +00:00
2026-04-24 10:29:51 +00:00
2026-04-15 02:21:56 -04:00
2026-04-21 09:27:12 -03:00
2026-04-24 10:36:46 +00:00
2026-04-24 14:17:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-24 10:29:51 +00:00
2026-04-21 07:57:35 +02:00
2026-04-23 23:47:30 +00:00
2026-04-24 10:45:16 +00:00
2026-04-24 10:45:16 +00:00
2026-04-24 02:51:19 +00:00
2026-04-24 08:58:26 +00:00
2026-04-24 02:51:19 +00:00
2026-04-24 10:29:51 +00:00
2026-04-15 23:25:44 +00:00
2026-04-21 07:44:24 +00:00
2026-04-16 16:36:09 -07:00
2026-04-24 10:45:16 +00:00
2026-04-21 23:39:53 +00:00
2026-04-22 13:39:48 +00:00
2026-04-24 10:45:16 +00:00
2026-04-24 12:43:30 +00:00
2026-04-24 14:17:30 +00:00
2026-04-24 12:43:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-24 10:29:51 +00:00
2026-04-20 14:41:29 +02:00
2026-04-24 10:29:51 +00:00
2026-04-24 08:31:43 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-24 12:47:15 +00:00
2026-04-24 12:47:36 +00:00
2026-04-23 23:47:30 +00:00
2026-04-23 23:47:30 +00:00
2026-04-24 10:29:51 +00:00
2026-04-24 10:29:51 +00:00
2026-04-22 13:39:48 +00:00
2026-04-24 14:41:44 +00:00
2026-04-21 19:54:02 +00:00
2026-04-22 12:48:01 +00:00