Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring and improving engage oncall messaging #691

Merged
merged 4 commits into from
Nov 24, 2020

Conversation

kevgliss
Copy link
Contributor

This cleans up the engage oncall flow and removes slack specific dependencies.

src/dispatch/incident/flows.py Show resolved Hide resolved
@mvilanova
Copy link
Contributor

I think we should replace oncall_plugin.title with oncall_plugin.instance.title here and here.

@@ -1107,6 +1111,8 @@ def incident_engage_oncall_flow(
incident_id=incident.id,
)

return oncall_email
Copy link
Contributor

@mvilanova mvilanova Nov 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: we could return the individual and oncall_service, so the message we create in handle_engage_oncall_action could say You have successfully engaged X from team Y.

Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
@kevgliss
Copy link
Contributor Author

I think we should replace oncall_plugin.title with oncall_plugin.instance.title here and here.

I believe the model will be the most up to date, so I would rather use it's metadata.

@kevgliss kevgliss merged commit 5baafe0 into master Nov 24, 2020
@kevgliss kevgliss deleted the refactor/enage-oncall branch November 24, 2020 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants