This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree 3 files changed +18
-6
lines changed
components/status-report-bar
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change
1
+ ```release-note:improvement
2
+ ui: Improve design of status row on Build/Deployment/Release detail pages
3
+ ```
Original file line number Diff line number Diff line change 2
2
{{ #if this.statusReport }}
3
3
<div class =" item" >
4
4
<StatusReportIndicator @statusReport ={{ this.statusReport }} />
5
+ {{ #if this.statusReport.status.completeTime.seconds }}
6
+ <div data-test-complete-time-status-report>
7
+ Last checked {{ date-format-distance-to-now this.statusReport.status.completeTime.seconds }}
8
+ </div >
9
+ {{ /if }}
5
10
</div >
6
11
{{ /if }}
7
12
14
19
</div >
15
20
{{ /if }}
16
21
{{ yield }}
17
- {{ #if this.statusReport.status.completeTime.seconds }}
18
- <div class =" item" data-test-complete-time-status-report>
19
- Last checked {{ date-format-distance-to-now this.statusReport.status.completeTime.seconds }}
20
- </div >
21
- {{ /if }}
22
+
23
+
22
24
{{ #if this.statusReport }}
23
25
<div class =" item" >
26
+
24
27
<Pds::Button @variant =" ghost" @iconStart =" refresh-default" disabled ={{ this.isRefreshRunning }} {{ on " click" this.refreshHealthCheck }} >
25
28
Re-run health check
26
29
</Pds::Button >
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ ul.list {
85
85
@include Typography .Interface (M);
86
86
87
87
.item {
88
+ display : flex ;
88
89
a {
89
90
text-decoration : none ;
90
91
@@ -93,8 +94,13 @@ ul.list {
93
94
}
94
95
}
95
96
97
+ .status-report-indicator__label ,
98
+ .operation-status-indicator__label {
99
+ @include Typography .Interface (M);
100
+ margin-right : scale .$lg-1 ;
101
+ }
102
+
96
103
.badge {
97
- font-size : 0.75rem ;
98
104
padding : scale .$sm-3 scale .$sm-2 ;
99
105
}
100
106
}
You can’t perform that action at this time.
0 commit comments