Enhance alerts with actionable suggestions.
Added `buildAlertSuggestions` to generate tailored recommendations for various alert categories. Integrated these suggestions into the AlertsPage UI and styled them for clarity, improving user guidance on resolving issues.
This commit is contained in:
@@ -936,6 +936,31 @@ td {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.alert-suggestions {
|
||||
grid-column: 1 / -1;
|
||||
margin-top: 2px;
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #3d689d;
|
||||
background: #0a1f3fb3;
|
||||
}
|
||||
|
||||
.alert-suggestions h4 {
|
||||
margin: 0 0 6px 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.alert-suggestions ul {
|
||||
margin: 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.alert-suggestions li {
|
||||
margin-bottom: 4px;
|
||||
color: #d4e7ff;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.alert-form .field-full {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user