Skip to content

Commit

Permalink
Adding the resolution reason to the resolve modal and adding a label (N…
Browse files Browse the repository at this point in the history
…etflix#3103) (#83)

Co-authored-by: kevgliss <kevgliss@gmail.com>
  • Loading branch information
rutvijmehta-harness and kevgliss authored Mar 17, 2023
1 parent e29df11 commit 7866908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dispatch/plugins/dispatch_slack/case/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,7 @@ def resolve_button_click(
case = case_service.get(db_session=db_session, case_id=context["subject"].id)

blocks = [
case_resolution_reason_select(),
resolution_input(initial_value=case.resolution),
]

Expand Down
2 changes: 1 addition & 1 deletion src/dispatch/plugins/dispatch_slack/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def resolution_input(
def case_resolution_reason_select(
action_id: str = DefaultActionIds.case_resolution_reason_select,
block_id: str = DefaultBlockIds.case_resolution_reason_select,
label: str = "",
label: str = "Resolution Reason",
initial_option: dict = None,
**kwargs,
):
Expand Down

0 comments on commit 7866908

Please sign in to comment.