File tree Expand file tree Collapse file tree 6 files changed +13
-3528
lines changed Expand file tree Collapse file tree 6 files changed +13
-3528
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ const ServiceDetails = (props) => {
81
81
type = "button"
82
82
onClick = { ( ) => {
83
83
// document.location.reload()
84
+ console . log ( 'should clear data' ) ;
84
85
setDetails ( null ) ;
85
86
} }
86
87
>
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ const ServiceOverview = (props) => {
158
158
// Adds returned data to context.
159
159
healthdata . detailData = Object . values ( JSON . parse ( data ) ) ;
160
160
// Updates state. Triggers rerender.
161
- setDetails ( < ServiceDetails service = { element . currentMicroservice } /> ) ;
161
+ setDetails ( < ServiceDetails service = { element . currentMicroservice } setDetails = { setDetails } /> ) ;
162
162
} ) ;
163
163
} }
164
164
>
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ const ServicesDashboard = (props) => {
36
36
return buttonStore ;
37
37
} ;
38
38
39
+ const tooltipWriteup = 'Please provide a different database to monitor additional microservice applications.' ;
40
+
39
41
return (
40
42
< div className = "servicesDashboardContainer" >
41
43
< div className = "left" >
@@ -44,6 +46,10 @@ const ServicesDashboard = (props) => {
44
46
< div className = "left-top" >
45
47
< h2 className = "dashboardHeader" >
46
48
Your Databases
49
+ < sup className = "tooltip" >
50
+ ⓘ
51
+ < div className = "tooltiptext" > { tooltipWriteup } </ div >
52
+ </ sup >
47
53
</ h2 >
48
54
{ renderServiceList ( serviceList ) }
49
55
</ div >
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ margin-top: -100px;
88
88
89
89
/* Position the tooltip */
90
90
position : absolute;
91
- z-index : 1 ;
91
+ z-index : 2 ;
92
92
left : 105% ;
93
93
top : -5px ;
94
94
}
@@ -232,6 +232,10 @@ form {
232
232
transition : 0.25s ;
233
233
}
234
234
235
+ # databsaseList {
236
+ z-index : -1 ;
237
+ }
238
+
235
239
.microserviceBtn {
236
240
width : 80% ;
237
241
height : 50px ;
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments