${job.displayName}
diff --git a/war/src/main/resources/images/symbols/status-aborted-anime.svg b/war/src/main/resources/images/symbols/status-aborted-anime.svg
new file mode 100644
index 000000000000..308e6d7578c7
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-aborted-anime.svg
@@ -0,0 +1,5 @@
+
diff --git a/war/src/main/resources/images/symbols/status-aborted.svg b/war/src/main/resources/images/symbols/status-aborted.svg
new file mode 100644
index 000000000000..fee388a4f27b
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-aborted.svg
@@ -0,0 +1,4 @@
+
diff --git a/war/src/main/resources/images/symbols/status-blue-anime.svg b/war/src/main/resources/images/symbols/status-blue-anime.svg
new file mode 100644
index 000000000000..b11da163e9f7
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-blue-anime.svg
@@ -0,0 +1,5 @@
+
diff --git a/war/src/main/resources/images/symbols/status-blue.svg b/war/src/main/resources/images/symbols/status-blue.svg
new file mode 100644
index 000000000000..2427dd5286dc
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-blue.svg
@@ -0,0 +1,4 @@
+
diff --git a/war/src/main/resources/images/symbols/status-disabled-anime.svg b/war/src/main/resources/images/symbols/status-disabled-anime.svg
new file mode 100644
index 000000000000..138edc7a9ec3
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-disabled-anime.svg
@@ -0,0 +1,6 @@
+
diff --git a/war/src/main/resources/images/symbols/status-disabled.svg b/war/src/main/resources/images/symbols/status-disabled.svg
new file mode 100644
index 000000000000..32aa7eaef687
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-disabled.svg
@@ -0,0 +1,5 @@
+
diff --git a/war/src/main/resources/images/symbols/status-nobuilt-anime.svg b/war/src/main/resources/images/symbols/status-nobuilt-anime.svg
new file mode 100644
index 000000000000..9a534d34d237
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-nobuilt-anime.svg
@@ -0,0 +1,7 @@
+
diff --git a/war/src/main/resources/images/symbols/status-nobuilt.svg b/war/src/main/resources/images/symbols/status-nobuilt.svg
new file mode 100644
index 000000000000..a2ba0f13edbc
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-nobuilt.svg
@@ -0,0 +1,6 @@
+
diff --git a/war/src/main/resources/images/symbols/status-red-anime.svg b/war/src/main/resources/images/symbols/status-red-anime.svg
new file mode 100644
index 000000000000..76b3bca95af1
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-red-anime.svg
@@ -0,0 +1,5 @@
+
diff --git a/war/src/main/resources/images/symbols/status-red.svg b/war/src/main/resources/images/symbols/status-red.svg
new file mode 100644
index 000000000000..547dc4a13f2d
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-red.svg
@@ -0,0 +1,4 @@
+
diff --git a/war/src/main/resources/images/symbols/status-yellow-anime.svg b/war/src/main/resources/images/symbols/status-yellow-anime.svg
new file mode 100644
index 000000000000..c241c3c88024
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-yellow-anime.svg
@@ -0,0 +1,6 @@
+
diff --git a/war/src/main/resources/images/symbols/status-yellow.svg b/war/src/main/resources/images/symbols/status-yellow.svg
new file mode 100644
index 000000000000..57aab84b73de
--- /dev/null
+++ b/war/src/main/resources/images/symbols/status-yellow.svg
@@ -0,0 +1,5 @@
+
diff --git a/war/src/main/scss/base/_style.scss b/war/src/main/scss/base/_style.scss
index e1957b7f01c1..40bffdf916ab 100644
--- a/war/src/main/scss/base/_style.scss
+++ b/war/src/main/scss/base/_style.scss
@@ -866,13 +866,22 @@ table.progress-bar.red td.progress-bar-done {
/* Unknown */
+[data-symbol-animation] {
+ animation: spin 1s linear infinite;
+ transform-origin: center;
+
+ @media (prefers-reduced-motion) {
+ animation-duration: 3s;
+ }
+}
+
@keyframes spin {
from {
- transform: rotate(0deg) translateZ(0);
+ transform: rotate(0deg);
}
to {
- transform: rotate(360deg) translateZ(0);
+ transform: rotate(360deg);
}
}
diff --git a/war/src/main/scss/pages/_dashboard.scss b/war/src/main/scss/pages/_dashboard.scss
index 732b7db61001..cb029a9861a9 100644
--- a/war/src/main/scss/pages/_dashboard.scss
+++ b/war/src/main/scss/pages/_dashboard.scss
@@ -169,3 +169,14 @@ $min-button-size: 36px;
}
}
}
+
+.build-status-link {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+
+ svg {
+ width: 1rem;
+ height: 1rem;
+ }
+}
From aea4d9786eb4f059c0c37a204361c4ff1d8c6a67 Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Fri, 24 Nov 2023 09:58:29 +0000
Subject: [PATCH 2/5] Rename ID
---
core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly | 2 +-
.../main/resources/hudson/model/Job/buildTimeTrend_resources.js | 2 +-
core/src/main/resources/lib/hudson/buildListTable.jelly | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly b/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
index 274231845baf..56201d48dab8 100644
--- a/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
+++ b/core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
@@ -31,7 +31,7 @@ THE SOFTWARE.
-
+
diff --git a/core/src/main/resources/hudson/model/Job/buildTimeTrend_resources.js b/core/src/main/resources/hudson/model/Job/buildTimeTrend_resources.js
index 3b5e70c2caf8..eadcb5970622 100644
--- a/core/src/main/resources/hudson/model/Job/buildTimeTrend_resources.js
+++ b/core/src/main/resources/hudson/model/Job/buildTimeTrend_resources.js
@@ -68,7 +68,7 @@ window.buildTimeTrend_displayBuilds = function (data) {
* Generate SVG Icon
*/
function generateSVGIcon(iconName) {
- const icons = document.querySelector("#icons");
+ const icons = document.querySelector("#jenkins-build-status-icons");
iconName = iconName.replace("-anime", "");
return icons.content.querySelector(`#${iconName}`).cloneNode(true);
diff --git a/core/src/main/resources/lib/hudson/buildListTable.jelly b/core/src/main/resources/lib/hudson/buildListTable.jelly
index 43791a19e27a..608af80d421b 100644
--- a/core/src/main/resources/lib/hudson/buildListTable.jelly
+++ b/core/src/main/resources/lib/hudson/buildListTable.jelly
@@ -30,7 +30,7 @@ THE SOFTWARE.
A collection of builds to be displayed.
-
+
From c6f5db0be74d9cf4ff979c19294349cf3a5ee590 Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Fri, 24 Nov 2023 17:52:28 +0000
Subject: [PATCH 3/5] Fix icon position
---
war/src/main/scss/components/_side-panel-widgets.scss | 1 +
1 file changed, 1 insertion(+)
diff --git a/war/src/main/scss/components/_side-panel-widgets.scss b/war/src/main/scss/components/_side-panel-widgets.scss
index 9d6933953efb..037674f61b88 100644
--- a/war/src/main/scss/components/_side-panel-widgets.scss
+++ b/war/src/main/scss/components/_side-panel-widgets.scss
@@ -156,6 +156,7 @@
.build-row-cell .pane.build-name .build-icon {
position: absolute;
+ margin-top: 2px;
z-index: 1;
}
From 982bc48fa0595221fac29f597090733b33be036a Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Sat, 25 Nov 2023 09:15:56 +0000
Subject: [PATCH 4/5] Fix app bar build status icon being incorrect
---
core/src/main/resources/hudson/model/Job/index.jelly | 2 +-
core/src/main/resources/lib/hudson/buildCaption.jelly | 2 +-
war/src/main/scss/components/_app-bar.scss | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/core/src/main/resources/hudson/model/Job/index.jelly b/core/src/main/resources/hudson/model/Job/index.jelly
index 23a454b4d52e..0fb537e267d7 100644
--- a/core/src/main/resources/hudson/model/Job/index.jelly
+++ b/core/src/main/resources/hudson/model/Job/index.jelly
@@ -33,7 +33,7 @@ THE SOFTWARE.
-
+
diff --git a/core/src/main/resources/lib/hudson/buildCaption.jelly b/core/src/main/resources/lib/hudson/buildCaption.jelly
index b8fab1554e31..2f29e2808f4b 100644
--- a/core/src/main/resources/lib/hudson/buildCaption.jelly
+++ b/core/src/main/resources/lib/hudson/buildCaption.jelly
@@ -29,7 +29,7 @@ THE SOFTWARE.
-
diff --git a/war/src/main/scss/components/_app-bar.scss b/war/src/main/scss/components/_app-bar.scss
index 1e5af8727f88..0cff962e7967 100644
--- a/war/src/main/scss/components/_app-bar.scss
+++ b/war/src/main/scss/components/_app-bar.scss
@@ -81,8 +81,7 @@
overflow: hidden;
text-overflow: ellipsis;
- .build-status-icon__wrapper,
- .build-status-icon__wrapper svg {
+ svg {
width: 2rem !important;
height: 2rem !important;
}
From 9cbbac1e3610e6ffbcd00b619a4dae54d7e2713a Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Sun, 26 Nov 2023 13:29:54 +0000
Subject: [PATCH 5/5] Address missed icons
---
.../src/main/resources/hudson/model/AbstractBuild/index.jelly | 4 ++--
core/src/main/resources/hudson/model/Run/statusIcon.jelly | 2 +-
core/src/main/resources/lib/hudson/buildLink.jelly | 2 +-
core/src/main/resources/lib/hudson/jobLink.jelly | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/src/main/resources/hudson/model/AbstractBuild/index.jelly b/core/src/main/resources/hudson/model/AbstractBuild/index.jelly
index 8444984d49cd..aba425c3420b 100644
--- a/core/src/main/resources/hudson/model/AbstractBuild/index.jelly
+++ b/core/src/main/resources/hudson/model/AbstractBuild/index.jelly
@@ -76,7 +76,7 @@ THE SOFTWARE.
- ${dep.from.displayName}
+ ${dep.from.displayName}
?
@@ -86,7 +86,7 @@ THE SOFTWARE.
→
- ${dep.to.displayName}
+ ${dep.to.displayName}
(${%detail})
diff --git a/core/src/main/resources/hudson/model/Run/statusIcon.jelly b/core/src/main/resources/hudson/model/Run/statusIcon.jelly
index 6ef664c98efe..650605c7e025 100644
--- a/core/src/main/resources/hudson/model/Run/statusIcon.jelly
+++ b/core/src/main/resources/hudson/model/Run/statusIcon.jelly
@@ -31,6 +31,6 @@ THE SOFTWARE.
-
+
diff --git a/core/src/main/resources/lib/hudson/buildLink.jelly b/core/src/main/resources/lib/hudson/buildLink.jelly
index 18ccfc1ec675..ad23bfbbd763 100644
--- a/core/src/main/resources/lib/hudson/buildLink.jelly
+++ b/core/src/main/resources/lib/hudson/buildLink.jelly
@@ -52,7 +52,7 @@ THE SOFTWARE.
- ${jobName_}#${number}
+ ${jobName_}#${number}
diff --git a/core/src/main/resources/lib/hudson/jobLink.jelly b/core/src/main/resources/lib/hudson/jobLink.jelly
index 0aaa0dcc7d5a..af40d22b37ae 100644
--- a/core/src/main/resources/lib/hudson/jobLink.jelly
+++ b/core/src/main/resources/lib/hudson/jobLink.jelly
@@ -31,7 +31,7 @@ THE SOFTWARE.
-
+