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
Enhancement/case escalation modal #2541
Conversation
This pull request introduces 1 alert when merging 81b76c8 into 06a294c - view on LGTM.com new alerts:
|
I'll run the code locally and circle back with feedback. |
…x/dispatch into enhancement/case-escalation-modal
This pull request introduces 1 alert when merging d4c9a5e into 0ec5fef - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 9d542c6 into c05ef08 - view on LGTM.com new alerts:
|
src/dispatch/static/dispatch/src/incident/ReportReceiptResources.vue
Outdated
Show resolved
Hide resolved
pluginInstance.plugin.type | capitalize | ||
}}</v-list-item-title> | ||
<v-list-item-subtitle>{{ | ||
pluginInstance.plugin.description |
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.
I think showing the plugin type name and description instead of the resource name and description like before might be confusing for users.
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.
This is technically new functionality and won't affect the current submissions, but I agree they should be the same, afaik before we had one off strings that weren't derived from anywhere. This was my attempt as generalizing them. We can either use these strings, add new ones or take the hit and make it so each reasource is rendered individually.
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.
I think we should be consistent across the app and showing plugin info instead of resource info is confusing. When I look at the screenshot and I see the plugin title and description under incident resources it makes me think I created a plugin not a resource.
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.
I understand, but we have to choose how we accomplish this, our options are 1) Use these strings 2) Create new strings 3) Render each resource individually. It sounds like you prefer option 3?
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.
Yeah, I prefer # 3 as it's more clear for the user and consistent with what we already have.
src/dispatch/static/dispatch/src/incident/ReportReceiptResources.vue
Outdated
Show resolved
Hide resolved
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
…es.vue Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
This pull request introduces 1 alert when merging 188e8ca into c05ef08 - view on LGTM.com new alerts:
|
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com>
Adds the ability to modify incident details before a case is escalated via a dedicated dialog.