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

Polish row/col sizing of signal tab and move resolution up in drawer #4054

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions src/dispatch/static/dispatch/src/case/CaseAttributesDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,31 @@ const saveCaseDetails = async () => {

<v-divider class="mt-8 mb-8" />

<div class="pl-6 dispatch-font-title">Investigation Write-Up</div>
<div class="pl-6 dispatch-font">
Document your findings and provide the rationale for any decisions you made as part of this
case.
</div>

<v-card flat color="grey-lighten-5" class="rounded-lg mt-6 ml-2 mr-2">
<RichEditor
:resolution="true"
v-model="modelValue.resolution"
@update:model-value="handleResolutionUpdate"
style="min-height: 400px; margin: 10px; font-size: 0.9125rem; font-weight: 400"
/>
<v-row class="pb-2 pr-4 pl-4">
<v-col cols="12" class="d-flex justify-end align-center">
<CaseResolutionSearchPopover
:case-resolution="modelValue.resolution_reason"
class="pl-6"
/>
</v-col>
</v-row>
</v-card>

<v-divider class="mt-8 mb-8" />

<div class="pl-3">
<v-row no-gutters align="center">
<v-col cols="8">
Expand Down Expand Up @@ -191,7 +216,7 @@ const saveCaseDetails = async () => {
</v-col>
</v-row>

<v-row no-gutters class="pt-6" align="center">
<v-row no-gutters class="pt-6 pb-6" align="center">
<v-col cols="8">
<v-btn
class="text-subtitle-2 font-weight-regular"
Expand All @@ -206,31 +231,6 @@ const saveCaseDetails = async () => {
</v-col>
</v-row>
</div>

<v-divider class="mt-8 mb-8" />

<div class="pl-6 dispatch-font-title">Investigation Write-Up</div>
<div class="pl-6 dispatch-font">
Document your findings and provide the rationale for any decisions you made as part of this
case.
</div>

<v-card flat color="grey-lighten-5" class="rounded-lg mt-6 ml-2 mr-2">
<RichEditor
:resolution="true"
v-model="modelValue.resolution"
@update:model-value="handleResolutionUpdate"
style="min-height: 400px; margin: 10px; font-size: 0.9125rem; font-weight: 400"
/>
<v-row class="pb-2 pr-4 pl-4">
<v-col cols="12" class="d-flex justify-end align-center">
<CaseResolutionSearchPopover
:case-resolution="modelValue.resolution_reason"
class="pl-6"
/>
</v-col>
</v-row>
</v-card>
</v-navigation-drawer>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<v-row>
<!-- Column for Data Table -->
<v-col cols="3">
<v-card min-width="350" max-width="350" class="signal-card" elevation="0">
<v-virtual-scroll :items="signalInstances" height="800" class="pt-2">
<v-card min-width="350" class="signal-card" elevation="0">
<v-virtual-scroll :items="signalInstances" height="828" class="pt-2">
<template #default="{ item }">
<div class="d-flex align-center">
<span style="font-size: 0.8rem" class="pl-8">
Expand Down
Loading