This repository was archived by the owner on Sep 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 642
feat(ui): adds more case resolution reasons with descriptions #6066
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR extends case resolution functionality by adding a comprehensive set of resolution reasons along with detailed descriptions and tooltips for improved user guidance across the UI and Slack integration.
- Introduces enhanced enums (CaseResolutionReason and CaseResolutionReasonDescription) with 10 resolution types.
- Updates Vue components to display tooltips for resolution reasons.
- Refactors Slack integration and backend flows to use the new enum values.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/case/test_case_service.py | Minor formatting updates and consistent use of double quotes. |
| src/dispatch/static/dispatch/src/components/SearchPopover.vue | Updates to prop type for hotkeys and addition of optional tooltips. |
| src/dispatch/static/dispatch/src/case/store.js | Added resolution tooltips and reasons from the new enums. |
| src/dispatch/static/dispatch/src/case/DetailsTab.vue | Refactored resolution reason select to use centralized store data with tooltips. |
| src/dispatch/static/dispatch/src/case/ClosedDialog.vue | Similar resolution reason select updates and layout adjustments. |
| src/dispatch/static/dispatch/src/case/CaseResolutionSearchPopover.vue | Replaced hardcoded resolution reasons with computed store values and added tooltips. |
| src/dispatch/plugins/dispatch_slack/case/interactive.py | Updated Slack actions to support dynamic description updates using new enum values. |
| src/dispatch/case/flows.py | Updated auto-close flow to use corrected enum value. |
| src/dispatch/case/enums.py | Revised enums to include the new resolution reasons and their descriptions. |
wssheldon
approved these changes
Jun 20, 2025
Contributor
wssheldon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved from new Mac Studio
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces a comprehensive set of case resolution reasons with detailed descriptions and implements tooltips across the web interface and Slack integration to help users understand each resolution option.
Backend Changes
CaseResolutionReasonenum insrc/dispatch/case/enums.pywith 10 comprehensive resolution reasons:CaseResolutionReasonDescriptionenum with detailed descriptions for each resolution reasonsrc/dispatch/plugins/dispatch_slack/case/interactive.pyto use the new enum-based descriptionsFrontend Changes
src/dispatch/static/dispatch/src/case/store.jswith new resolution reasons and descriptionssrc/dispatch/static/dispatch/src/case/DetailsTab.vueandsrc/dispatch/static/dispatch/src/case/ClosedDialog.vueshow the description of the resolution reason on hoverCaseResolutionSearchPopover.vueto use centralized store data instead of hardcoded valuesSlack Integration
Screenshots
case_resolutions_slack.mov
case_resolutions_new_ui.mov
case_resolutions_old_ui.mov