diff --git a/.changeset/rude-roses-jam.md b/.changeset/rude-roses-jam.md index 3e594fad40..bd8ee1399f 100644 --- a/.changeset/rude-roses-jam.md +++ b/.changeset/rude-roses-jam.md @@ -1,5 +1,6 @@ --- -'@backstage/plugin-splunk-on-call': major +'@backstage/plugin-splunk-on-call': minor --- Updated splunk-on-call plugin to use the REST endpoint (incident creation-acknowledgement-resolution). +It implies switching from `splunkOnCall.username` annotation to `splunkOnCall.eventsRestEndpoint` annotation, this is a breaking change. diff --git a/plugins/splunk-on-call/src/components/Escalation/EscalationPolicy.tsx b/plugins/splunk-on-call/src/components/Escalation/EscalationPolicy.tsx index 4234ba1621..fb7061437f 100644 --- a/plugins/splunk-on-call/src/components/Escalation/EscalationPolicy.tsx +++ b/plugins/splunk-on-call/src/components/Escalation/EscalationPolicy.tsx @@ -37,7 +37,7 @@ const useStyles = makeStyles((theme: Theme) => overflow: 'auto', }, subheader: { - backgroundColor: 'white', + backgroundColor: theme.palette.background.paper, }, progress: { margin: `0 ${theme.spacing(2)}px`, diff --git a/plugins/splunk-on-call/src/components/Incident/Incidents.tsx b/plugins/splunk-on-call/src/components/Incident/Incidents.tsx index 189367542d..e705152d73 100644 --- a/plugins/splunk-on-call/src/components/Incident/Incidents.tsx +++ b/plugins/splunk-on-call/src/components/Incident/Incidents.tsx @@ -36,7 +36,7 @@ const useStyles = makeStyles((theme: Theme) => overflow: 'auto', }, subheader: { - backgroundColor: 'white', + backgroundColor: theme.palette.background.paper, }, progress: { margin: `0 ${theme.spacing(2)}px`,