From e8dbab5a7b3583e1e2e1f2f4c616ed12992c6a30 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Wed, 1 Nov 2023 11:08:33 -0700 Subject: [PATCH 1/3] Rollback session in case or exceptions (#3917) --- src/dispatch/plugins/dispatch_aws/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatch/plugins/dispatch_aws/plugin.py b/src/dispatch/plugins/dispatch_aws/plugin.py index 518d301ffea6..84294f030529 100644 --- a/src/dispatch/plugins/dispatch_aws/plugin.py +++ b/src/dispatch/plugins/dispatch_aws/plugin.py @@ -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) From 4b646f6bca30ff3f478e8032077a4e6f6d7af538 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Wed, 1 Nov 2023 12:49:10 -0700 Subject: [PATCH 2/3] Bugfix/table font size (#3921) * Reducing font size * Removing table density --- src/dispatch/static/dispatch/src/main.js | 1 + src/dispatch/static/dispatch/src/styles/index.scss | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/dispatch/static/dispatch/src/main.js b/src/dispatch/static/dispatch/src/main.js index ac2eeff4d04b..85a7e83f257e 100644 --- a/src/dispatch/static/dispatch/src/main.js +++ b/src/dispatch/static/dispatch/src/main.js @@ -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" diff --git a/src/dispatch/static/dispatch/src/styles/index.scss b/src/dispatch/static/dispatch/src/styles/index.scss index e69de29bb2d1..c672a76c58e2 100644 --- a/src/dispatch/static/dispatch/src/styles/index.scss +++ b/src/dispatch/static/dispatch/src/styles/index.scss @@ -0,0 +1,3 @@ +.v-data-table { + font-size: 0.875rem; +} From a09607b64e229eff4210b1956a54aa09d3087608 Mon Sep 17 00:00:00 2001 From: David Whittaker <84562015+whitdog47@users.noreply.github.com> Date: Wed, 1 Nov 2023 13:12:34 -0700 Subject: [PATCH 3/3] Adding padding for spacing on participants and resources tabs (#3920) --- .../static/dispatch/src/case/ParticipantsTab.vue | 2 +- .../static/dispatch/src/case/ResourcesTab.vue | 14 +++++++------- .../dispatch/src/incident/ParticipantsTab.vue | 2 +- .../static/dispatch/src/incident/ResourcesTab.vue | 14 +++++++------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/ParticipantsTab.vue b/src/dispatch/static/dispatch/src/case/ParticipantsTab.vue index a0d280211cde..84f9b0a00644 100644 --- a/src/dispatch/static/dispatch/src/case/ParticipantsTab.vue +++ b/src/dispatch/static/dispatch/src/case/ParticipantsTab.vue @@ -2,7 +2,7 @@
- + {{ participant.individual.name }} ({{ activeRoles(participant.participant_roles) }}) diff --git a/src/dispatch/static/dispatch/src/case/ResourcesTab.vue b/src/dispatch/static/dispatch/src/case/ResourcesTab.vue index dec3101c5b61..2b936e044e2d 100644 --- a/src/dispatch/static/dispatch/src/case/ResourcesTab.vue +++ b/src/dispatch/static/dispatch/src/case/ResourcesTab.vue @@ -1,6 +1,6 @@ - + Conversation {{ conversation.description }} @@ -19,7 +19,7 @@ - + {{ deslug(group.resource_type) }} {{ group.description }} @@ -30,7 +30,7 @@ - + Storage {{ storage.description }} @@ -40,7 +40,7 @@ - + {{ deslug(document.resource_type) }} {{ document.description }} @@ -59,7 +59,7 @@ (!documents && documentPluginEnabled) " > - + Recreate Missing Resources Initiate a retry for creating any missing or unsuccesfully created @@ -69,7 +69,7 @@ refresh - + Creating resources... Initiate a retry for creating any missing or unsuccesfully created diff --git a/src/dispatch/static/dispatch/src/incident/ParticipantsTab.vue b/src/dispatch/static/dispatch/src/incident/ParticipantsTab.vue index f8c352871896..dbf9113c3ef5 100644 --- a/src/dispatch/static/dispatch/src/incident/ParticipantsTab.vue +++ b/src/dispatch/static/dispatch/src/incident/ParticipantsTab.vue @@ -2,7 +2,7 @@
- + {{ participant.individual.name }} ({{ activeRoles(participant.participant_roles) }}) diff --git a/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue b/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue index c560918b777f..9eda97b3811b 100644 --- a/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue +++ b/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue @@ -1,6 +1,6 @@ - + Video Conference {{ conference.description }} @@ -18,7 +18,7 @@ - + Conversation {{ conversation.description }} @@ -27,7 +27,7 @@ - + Storage {{ storage.description }} @@ -37,7 +37,7 @@ - + {{ deslug(document.resource_type) }} {{ document.description }} @@ -56,7 +56,7 @@ (!documents && documentPluginEnabled) " > - + Recreate Missing Resources Initiate a retry for creating any missing or unsuccesfully created @@ -66,7 +66,7 @@ refresh - + Creating resources... Initiate a retry for creating any missing or unsuccesfully created