From 6af35c884445cdbfbeb467f040efefdba3eff4fd Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Thu, 17 Sep 2026 10:13:52 +0100 Subject: [PATCH] web/pulls: apply version selection on pick and drop the confirm buttons clicking a version or building a comparison in the pull version dropdown now navigates straight away, so the "see version" and "compare versions" buttons are gone. the panel gets a "Versions" header with a ghost reset button that only shows when something other than the latest version is on screen. Signed-off-by: oppiliappan --- .../repo/pulls/PullVersionList.stories.svelte | 8 +-- .../repo/pulls/PullVersionList.svelte | 63 ++++++++----------- 2 files changed, 29 insertions(+), 42 deletions(-) diff --git a/web/src/lib/components/repo/pulls/PullVersionList.stories.svelte b/web/src/lib/components/repo/pulls/PullVersionList.stories.svelte index 37cc15e2c..2fa8f38a9 100644 --- a/web/src/lib/components/repo/pulls/PullVersionList.stories.svelte +++ b/web/src/lib/components/repo/pulls/PullVersionList.stories.svelte @@ -32,8 +32,8 @@ @@ -69,33 +63,26 @@ {/snippet}
+ +
+

Versions

+ {#if canReset} + + {/if} +
selected, (next) => (pending = next)} + bind:range={() => range, commit} /> -
- -
-
- - -
-- 2.51.2