Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/export-preview-scoll
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Nov 1, 2023
2 parents fcbe18b + a09607b commit 9869977
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions src/dispatch/plugins/dispatch_aws/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@ def consume(self, db_session, project):
if entries:
client.delete_message_batch(QueueUrl=queue_url, Entries=entries)
except Exception as e:
db_session.rollback()
log.exception(e)
2 changes: 1 addition & 1 deletion src/dispatch/static/dispatch/src/case/ParticipantsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<div v-if="participants && participants.length">
<span v-for="participant in participants" :key="participant.id">
<v-list-item :href="participant.individual.weblink" target="_blank">
<v-list-item :href="participant.individual.weblink" target="_blank" class="my-3">
<v-list-item-title ref="participants">
{{ participant.individual.name }} ({{ activeRoles(participant.participant_roles) }})
</v-list-item-title>
Expand Down
14 changes: 7 additions & 7 deletions src/dispatch/static/dispatch/src/case/ResourcesTab.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-list>
<v-list-item v-if="ticket" :href="ticket.weblink" target="_blank">
<v-list-item v-if="ticket" :href="ticket.weblink" target="_blank" class="my-3">
<v-list-item-title>Ticket</v-list-item-title>
<v-list-item-subtitle>{{ ticket.description }}</v-list-item-subtitle>

Expand All @@ -9,7 +9,7 @@
</template>
</v-list-item>
<v-divider />
<v-list-item v-if="conversation" :href="conversation.weblink" target="_blank">
<v-list-item v-if="conversation" :href="conversation.weblink" target="_blank" class="my-3">
<v-list-item-title>Conversation</v-list-item-title>
<v-list-item-subtitle>{{ conversation.description }}</v-list-item-subtitle>

Expand All @@ -19,7 +19,7 @@
</v-list-item>
<v-divider />
<span v-for="group in groups" :key="group.resource_id">
<v-list-item :href="group.weblink" target="_blank">
<v-list-item :href="group.weblink" target="_blank" class="my-3">
<v-list-item-title>{{ deslug(group.resource_type) }}</v-list-item-title>
<v-list-item-subtitle>{{ group.description }}</v-list-item-subtitle>

Expand All @@ -30,7 +30,7 @@
<v-divider />
</span>
<v-divider />
<v-list-item v-if="storage" :href="storage.weblink" target="_blank">
<v-list-item v-if="storage" :href="storage.weblink" target="_blank" class="my-3">
<v-list-item-title>Storage</v-list-item-title>
<v-list-item-subtitle>{{ storage.description }}</v-list-item-subtitle>

Expand All @@ -40,7 +40,7 @@
</v-list-item>
<v-divider />
<span v-for="document in documents" :key="document.resource_id">
<v-list-item :href="document.weblink" target="_blank">
<v-list-item :href="document.weblink" target="_blank" class="my-3">
<v-list-item-title>{{ deslug(document.resource_type) }}</v-list-item-title>
<v-list-item-subtitle>{{ document.description }}</v-list-item-subtitle>

Expand All @@ -59,7 +59,7 @@
(!documents && documentPluginEnabled)
"
>
<v-list-item v-if="!loading" @click="createAllResources()">
<v-list-item v-if="!loading" @click="createAllResources()" class="my-3">
<v-list-item-title>Recreate Missing Resources</v-list-item-title>
<v-list-item-subtitle
>Initiate a retry for creating any missing or unsuccesfully created
Expand All @@ -69,7 +69,7 @@
<v-icon>refresh</v-icon>
</template>
</v-list-item>
<v-list-item v-else-if="loading">
<v-list-item v-else-if="loading" class="my-3">
<v-list-item-title>Creating resources...</v-list-item-title>
<v-list-item-subtitle
>Initiate a retry for creating any missing or unsuccesfully created
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<div v-if="participants && participants.length">
<span v-for="participant in participants" :key="participant.id">
<v-list-item :href="participant.individual.weblink" target="_blank">
<v-list-item :href="participant.individual.weblink" target="_blank" class="my-3">
<v-list-item-title>
{{ participant.individual.name }} ({{ activeRoles(participant.participant_roles) }})
</v-list-item-title>
Expand Down
14 changes: 7 additions & 7 deletions src/dispatch/static/dispatch/src/incident/ResourcesTab.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-list>
<v-list-item v-if="ticket" :href="ticket.weblink" target="_blank">
<v-list-item v-if="ticket" :href="ticket.weblink" target="_blank" class="my-3">
<v-list-item-title>Ticket</v-list-item-title>
<v-list-item-subtitle>{{ ticket.description }}</v-list-item-subtitle>

Expand All @@ -9,7 +9,7 @@
</template>
</v-list-item>
<v-divider />
<v-list-item v-if="conference" :href="conference.weblink" target="_blank">
<v-list-item v-if="conference" :href="conference.weblink" target="_blank" class="my-3">
<v-list-item-title>Video Conference</v-list-item-title>
<v-list-item-subtitle>{{ conference.description }}</v-list-item-subtitle>

Expand All @@ -18,7 +18,7 @@
</template>
</v-list-item>
<v-divider />
<v-list-item v-if="conversation" :href="conversation.weblink" target="_blank">
<v-list-item v-if="conversation" :href="conversation.weblink" target="_blank" class="my-3">
<v-list-item-title>Conversation</v-list-item-title>
<v-list-item-subtitle>{{ conversation.description }}</v-list-item-subtitle>

Expand All @@ -27,7 +27,7 @@
</template>
</v-list-item>
<v-divider />
<v-list-item v-if="storage" :href="storage.weblink" target="_blank">
<v-list-item v-if="storage" :href="storage.weblink" target="_blank" class="my-3">
<v-list-item-title>Storage</v-list-item-title>
<v-list-item-subtitle>{{ storage.description }}</v-list-item-subtitle>

Expand All @@ -37,7 +37,7 @@
</v-list-item>
<v-divider />
<span v-for="document in documents" :key="document.resource_id">
<v-list-item :href="document.weblink" target="_blank">
<v-list-item :href="document.weblink" target="_blank" class="my-3">
<v-list-item-title>{{ deslug(document.resource_type) }}</v-list-item-title>
<v-list-item-subtitle>{{ document.description }}</v-list-item-subtitle>

Expand All @@ -56,7 +56,7 @@
(!documents && documentPluginEnabled)
"
>
<v-list-item v-if="!loading" @click="createAllResources()">
<v-list-item v-if="!loading" @click="createAllResources()" class="my-3">
<v-list-item-title>Recreate Missing Resources</v-list-item-title>
<v-list-item-subtitle
>Initiate a retry for creating any missing or unsuccesfully created
Expand All @@ -66,7 +66,7 @@
<v-icon>refresh</v-icon>
</template>
</v-list-item>
<v-list-item v-else-if="loading">
<v-list-item v-else-if="loading" class="my-3">
<v-list-item-title>Creating resources...</v-list-item-title>
<v-list-item-subtitle
>Initiate a retry for creating any missing or unsuccesfully created
Expand Down
1 change: 1 addition & 0 deletions src/dispatch/static/dispatch/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { plugin, defaultConfig } from "@formkit/vue"
import "roboto-fontface/css/roboto/roboto-fontface.css"
import "font-awesome/css/font-awesome.css"
import "@formkit/themes/genesis"
import "./styles/index.scss"

import * as Sentry from "@sentry/vue"

Expand Down
3 changes: 3 additions & 0 deletions src/dispatch/static/dispatch/src/styles/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.v-data-table {
font-size: 0.875rem;
}

0 comments on commit 9869977

Please sign in to comment.