Skip to content

Commit

Permalink
Call IMC button (#1268)
Browse files Browse the repository at this point in the history
* adding button Call IMC

- Leverages PagerDuty integration(Oncall-Bot) to create Paging Action
- Event is registered on /events?room=ROOM_ID
- New Modal to add confirmation to user before paging
- New Button

* suggestions from PR

* pulling ServiceId from Env vars

* setting button Red and changing position

* Adding message from EnvVar

* Fixing Alert on closing modal

* moving Alert to after postRequestPromise

* update message for Alert.

* travis update

Co-authored-by: Conal Cosgrove <[email protected]>
diogo-pessoa and Conal Cosgrove authored Oct 13, 2020
1 parent 57e08ba commit 9a23cd1
Showing 6 changed files with 1,038 additions and 465 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -199,4 +199,6 @@
"plugins": [
"react"
]


}
4 changes: 4 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -345,6 +345,10 @@ module.exports = {
chatter: pe.REFOCUS_ROOMS_CHATTER_URL || null,
email: pe.REFOCUS_ROOMS_CONTACT_EMAIL || null,
},
pagerDuty: {
serviceId: pe.SERVICE_ID || null,
modalMessage: pe.MODAL_MESSAGE || 'Would you like to Page IMC team?',
},
ssoCert: pe.SSO_CERT || null,
waitingSigKillTimeout,
findSamplesSscanCount: pe.FIND_SAMPLES_SSCAN_COUNT_STR ||
Loading

0 comments on commit 9a23cd1

Please sign in to comment.