From e776f8317886c813954dbee9e1add5e355e0dab7 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Thu, 30 Nov 2023 08:51:28 -0800 Subject: [PATCH 1/4] Fix self closing custom component lint flag on DateWindowInput (#4055) --- .../static/dispatch/src/components/DateWindowInput.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dispatch/static/dispatch/src/components/DateWindowInput.vue b/src/dispatch/static/dispatch/src/components/DateWindowInput.vue index 4f85d47e343c..dd6c33fca014 100644 --- a/src/dispatch/static/dispatch/src/components/DateWindowInput.vue +++ b/src/dispatch/static/dispatch/src/components/DateWindowInput.vue @@ -23,10 +23,10 @@ - + - + From dff63a32723581af91c378d10a47102fe1f2e5ee Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Thu, 30 Nov 2023 09:28:17 -0800 Subject: [PATCH 2/4] Add UTC hover to relative times in timeline (#4056) --- src/dispatch/static/dispatch/src/case/TimelineTab.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/TimelineTab.vue b/src/dispatch/static/dispatch/src/case/TimelineTab.vue index f09dd6ecc2b3..f49ed9ae61d2 100644 --- a/src/dispatch/static/dispatch/src/case/TimelineTab.vue +++ b/src/dispatch/static/dispatch/src/case/TimelineTab.vue @@ -4,7 +4,8 @@ import Util from "@/util" import DMenu from "@/components/DMenu.vue" import { useRoute } from "vue-router" import CaseApi from "@/case/api" -import { formatRelativeDate } from "@/filters" +import { formatRelativeDate, formatToUTC } from "@/filters" +import DTooltip from "@/components/DTooltip.vue" const route = useRoute() @@ -109,7 +110,13 @@ const descriptionMap = { {{ sourceIconMap[event.source]?.sourceName || event.source }} {{ descriptionMap[event.description] || event.description }} ยท - {{ formatRelativeDate(event.started_at) }} + + + From e682307f43453adf8d4afd3bdfc84b658bfd0e45 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:26:31 -0800 Subject: [PATCH 3/4] debounce tiptatp editor save to not interfere with typing (#4057) --- .../src/case/CaseAttributesDrawer.vue | 17 +++++++----- .../static/dispatch/src/case/Page.vue | 26 +++++++++++-------- .../dispatch/src/components/RichEditor.vue | 20 +++++++++++++- 3 files changed, 44 insertions(+), 19 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/CaseAttributesDrawer.vue b/src/dispatch/static/dispatch/src/case/CaseAttributesDrawer.vue index cf8664d114a7..d4a7230d8d0b 100644 --- a/src/dispatch/static/dispatch/src/case/CaseAttributesDrawer.vue +++ b/src/dispatch/static/dispatch/src/case/CaseAttributesDrawer.vue @@ -1,5 +1,6 @@