From 4b6e03a16820f71d95ec89aff82446f3b251072e Mon Sep 17 00:00:00 2001
From: Jenkins Release Bot
<66998184+jenkins-release-bot@users.noreply.github.com>
Date: Tue, 10 Dec 2024 13:55:06 +0000
Subject: [PATCH 1/3] [maven-release-plugin] prepare release jenkins-2.489
---
bom/pom.xml | 2 +-
cli/pom.xml | 2 +-
core/pom.xml | 2 +-
coverage/pom.xml | 2 +-
pom.xml | 6 +++---
test/pom.xml | 2 +-
war/pom.xml | 2 +-
websocket/jetty12-ee9/pom.xml | 2 +-
websocket/spi/pom.xml | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index f94253ce6f70..ad6bc3499339 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
jenkins-bom
diff --git a/cli/pom.xml b/cli/pom.xml
index 2473629d23cc..8b287baf8b7e 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
cli
diff --git a/core/pom.xml b/core/pom.xml
index 0b9cb30d8763..0edd1d8b89a6 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -29,7 +29,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
jenkins-core
diff --git a/coverage/pom.xml b/coverage/pom.xml
index fe1e89a120dc..f17051a5cab5 100644
--- a/coverage/pom.xml
+++ b/coverage/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
jenkins-coverage
diff --git a/pom.xml b/pom.xml
index 1f2fe1927dc7..358743c83b81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
pom
Jenkins main module
@@ -63,7 +63,7 @@ THE SOFTWARE.
scm:git:https://github.com/jenkinsci/jenkins.git
scm:git:git@github.com:jenkinsci/jenkins.git
- ${scmTag}
+ jenkins-2.489
https://github.com/jenkinsci/jenkins
@@ -75,7 +75,7 @@ THE SOFTWARE.
2.489
-SNAPSHOT
- 2024-12-03T13:54:11Z
+ 2024-12-10T10:33:46Z
github
diff --git a/test/pom.xml b/test/pom.xml
index 51d946b4390e..0531bef95ef2 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
jenkins-test
diff --git a/war/pom.xml b/war/pom.xml
index 44e2f0166269..e8d853681a85 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
jenkins-war
diff --git a/websocket/jetty12-ee9/pom.xml b/websocket/jetty12-ee9/pom.xml
index 2253163b3c4c..7454e38de5b4 100644
--- a/websocket/jetty12-ee9/pom.xml
+++ b/websocket/jetty12-ee9/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
../..
diff --git a/websocket/spi/pom.xml b/websocket/spi/pom.xml
index 178413f92c8e..d391374fca4c 100644
--- a/websocket/spi/pom.xml
+++ b/websocket/spi/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.489
../..
From c5c47cad9669837e13b707d63d994ef6f6bf29fd Mon Sep 17 00:00:00 2001
From: Jenkins Release Bot
<66998184+jenkins-release-bot@users.noreply.github.com>
Date: Tue, 10 Dec 2024 13:55:26 +0000
Subject: [PATCH 2/3] [maven-release-plugin] prepare for next development
iteration
---
bom/pom.xml | 2 +-
cli/pom.xml | 2 +-
core/pom.xml | 2 +-
coverage/pom.xml | 2 +-
pom.xml | 8 ++++----
test/pom.xml | 2 +-
war/pom.xml | 2 +-
websocket/jetty12-ee9/pom.xml | 2 +-
websocket/spi/pom.xml | 2 +-
9 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index ad6bc3499339..f94253ce6f70 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
jenkins-bom
diff --git a/cli/pom.xml b/cli/pom.xml
index 8b287baf8b7e..2473629d23cc 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
cli
diff --git a/core/pom.xml b/core/pom.xml
index 0edd1d8b89a6..0b9cb30d8763 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -29,7 +29,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
jenkins-core
diff --git a/coverage/pom.xml b/coverage/pom.xml
index f17051a5cab5..fe1e89a120dc 100644
--- a/coverage/pom.xml
+++ b/coverage/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
jenkins-coverage
diff --git a/pom.xml b/pom.xml
index 358743c83b81..3adc5e2a5a49 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
pom
Jenkins main module
@@ -63,7 +63,7 @@ THE SOFTWARE.
scm:git:https://github.com/jenkinsci/jenkins.git
scm:git:git@github.com:jenkinsci/jenkins.git
- jenkins-2.489
+ ${scmTag}
https://github.com/jenkinsci/jenkins
@@ -73,9 +73,9 @@ THE SOFTWARE.
- 2.489
+ 2.490
-SNAPSHOT
- 2024-12-10T10:33:46Z
+ 2024-12-10T13:55:06Z
github
diff --git a/test/pom.xml b/test/pom.xml
index 0531bef95ef2..51d946b4390e 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
jenkins-test
diff --git a/war/pom.xml b/war/pom.xml
index e8d853681a85..44e2f0166269 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
jenkins-war
diff --git a/websocket/jetty12-ee9/pom.xml b/websocket/jetty12-ee9/pom.xml
index 7454e38de5b4..2253163b3c4c 100644
--- a/websocket/jetty12-ee9/pom.xml
+++ b/websocket/jetty12-ee9/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
../..
diff --git a/websocket/spi/pom.xml b/websocket/spi/pom.xml
index d391374fca4c..178413f92c8e 100644
--- a/websocket/spi/pom.xml
+++ b/websocket/spi/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.489
+ ${revision}${changelist}
../..
From cc63c9c8e50a27b78874ac67f48584e232c4e1b5 Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Tue, 10 Dec 2024 21:37:09 +0000
Subject: [PATCH 3/3] Refine command palette
---
.../js/components/command-palette/index.js | 18 ++++-
.../scss/components/_command-palette.scss | 73 +++++++++++++------
src/main/scss/components/_dialogs.scss | 6 ++
src/main/scss/form/_search-bar.scss | 2 +-
4 files changed, 72 insertions(+), 27 deletions(-)
diff --git a/src/main/js/components/command-palette/index.js b/src/main/js/components/command-palette/index.js
index dfb3c6eb7efe..5ece1106aed0 100644
--- a/src/main/js/components/command-palette/index.js
+++ b/src/main/js/components/command-palette/index.js
@@ -94,18 +94,23 @@ function init() {
}
searchResultsContainer.style.height = searchResults.offsetHeight + "px";
+ debouncedSpinner.cancel();
commandPaletteSearchBarContainer.classList.remove(
"jenkins-search--loading",
);
});
}
+ const debouncedSpinner = debounce(() => {
+ commandPaletteSearchBarContainer.classList.add("jenkins-search--loading");
+ }, 150);
+
const debouncedLoad = debounce(() => {
renderResults();
}, 150);
commandPaletteInput.addEventListener("input", () => {
- commandPaletteSearchBarContainer.classList.add("jenkins-search--loading");
+ debouncedSpinner();
debouncedLoad();
});
@@ -119,7 +124,16 @@ function init() {
}
function hideCommandPalette() {
- commandPalette.close();
+ commandPalette.setAttribute("closing", "");
+
+ commandPalette.addEventListener(
+ "animationend",
+ () => {
+ commandPalette.removeAttribute("closing");
+ commandPalette.close();
+ },
+ { once: true },
+ );
}
function itemMouseEnter(item) {
diff --git a/src/main/scss/components/_command-palette.scss b/src/main/scss/components/_command-palette.scss
index 6c3b16517e3a..8aadde54608d 100644
--- a/src/main/scss/components/_command-palette.scss
+++ b/src/main/scss/components/_command-palette.scss
@@ -1,13 +1,5 @@
@use "../abstracts/mixins";
-.jenkins-command-palette__dialog {
- &::backdrop {
- background: var(--command-palette-backdrop-background);
- backdrop-filter: contrast(0.7) brightness(0.9) saturate(1.25) blur(3px);
- animation: jenkins-modal-backdrop-animate-in 0.3s;
- }
-}
-
.jenkins-command-palette__dialog {
background: none;
border: none;
@@ -17,6 +9,41 @@
max-width: 100vw !important;
margin: 0 !important;
padding: 0 !important;
+ user-select: none;
+
+ &::backdrop {
+ background: var(--command-palette-backdrop-background);
+ backdrop-filter: contrast(0.7) brightness(0.9) saturate(1.25) blur(3px);
+ animation: jenkins-dialog-backdrop-animate-in 0.1s linear;
+ }
+
+ &[open] {
+ animation: command-palette-animate-in 0.1s cubic-bezier(0, 0.68, 0.5, 1.5);
+ }
+
+ &[closing] {
+ animation: command-palette-animate-out 0.1s linear;
+
+ &::backdrop {
+ animation: jenkins-dialog-backdrop-animate-out 0.1s linear;
+ }
+ }
+}
+
+@keyframes command-palette-animate-in {
+ from {
+ translate: 0 4px;
+ scale: 98.5%;
+ opacity: 0;
+ transform: rotateX(30deg);
+ }
+}
+
+@keyframes command-palette-animate-out {
+ to {
+ scale: 98.5%;
+ opacity: 0;
+ }
}
.jenkins-command-palette__wrapper {
@@ -40,9 +67,7 @@
--search-bar-height: 3rem !important;
background: transparent;
- box-shadow:
- 0 0 0 20px transparent,
- var(--command-palette-inset-shadow);
+ box-shadow: var(--command-palette-inset-shadow);
margin-bottom: 1.5rem;
border-radius: 1rem;
transition: var(--standard-transition);
@@ -71,7 +96,8 @@
border-radius: 1rem;
backdrop-filter: var(--command-palette-results-backdrop-filter);
box-shadow: var(--command-palette-inset-shadow);
- height: 0;
+ // If set to 0, Safari won't always show the backdrop-filter
+ height: 1px;
transition: height var(--standard-transition);
overflow: hidden;
will-change: height;
@@ -83,8 +109,8 @@
padding: 0.5rem;
&__heading {
- font-weight: 600;
- font-size: 0.85rem;
+ font-weight: 500;
+ font-size: 0.875rem;
margin: 0;
padding: 0.75rem 0.75rem 0.625rem;
color: var(--text-color-secondary);
@@ -113,8 +139,7 @@
justify-content: flex-start;
background: transparent;
padding: 0.75rem;
- border-radius: 0.66rem;
- font-weight: 600;
+ border-radius: 0.5rem;
cursor: pointer;
color: var(--text-color) !important;
transition: var(--standard-transition);
@@ -132,17 +157,17 @@
display: flex;
align-items: center;
justify-content: center;
- width: 1.4rem;
- height: 1.4rem;
- margin-right: 12.5px;
+ width: 1.375rem;
+ height: 1.375rem;
+ margin-right: 0.75rem;
overflow: hidden;
pointer-events: none;
color: var(--text-color);
svg,
img {
- width: 1.2rem;
- height: 1.2rem;
+ width: 1.125rem;
+ height: 1.125rem;
}
}
@@ -163,10 +188,10 @@
}
&__info {
- font-weight: 600;
- font-size: 0.85rem;
+ font-size: 0.875rem;
margin: 0;
- padding: 12.5px 12.5px 10px;
+ padding: 0 14px;
+ line-height: 46px;
color: var(--text-color);
span {
diff --git a/src/main/scss/components/_dialogs.scss b/src/main/scss/components/_dialogs.scss
index 7040c70af0e2..fbefb7bbe275 100644
--- a/src/main/scss/components/_dialogs.scss
+++ b/src/main/scss/components/_dialogs.scss
@@ -87,6 +87,12 @@ $jenkins-dialog-padding: 1.3rem;
}
}
+@keyframes jenkins-dialog-backdrop-animate-out {
+ to {
+ opacity: 0;
+ }
+}
+
@keyframes jenkins-dialog-animate-in {
from {
scale: 85%;
diff --git a/src/main/scss/form/_search-bar.scss b/src/main/scss/form/_search-bar.scss
index ab4f6e9718cf..e520f9c7e69b 100644
--- a/src/main/scss/form/_search-bar.scss
+++ b/src/main/scss/form/_search-bar.scss
@@ -133,7 +133,7 @@
place-self: center center;
opacity: 0;
scale: 0;
- filter: blur(5px);
+ filter: blur(2.5px);
}
&::after {