From 7d5e9c33bf472a2b9ad01ceb2ce6c62a4bffd7f3 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 15 Jan 2026 19:57:29 -0500 Subject: [PATCH 1/4] Fixed calendar layout reactivity issue --- ui/src/components/calendar/ViewCalendarEvent.vue | 14 +++++++++++--- ui/src/pages/Calendar.vue | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ui/src/components/calendar/ViewCalendarEvent.vue b/ui/src/components/calendar/ViewCalendarEvent.vue index 3f2fb39..aea692d 100644 --- a/ui/src/components/calendar/ViewCalendarEvent.vue +++ b/ui/src/components/calendar/ViewCalendarEvent.vue @@ -31,9 +31,14 @@ watch( { immediate: true } ); +watch(loaded, (value) => { + if (value) emit('load'); +}); + const emit = defineEmits<{ (e: 'close'): void (e: 'reload'): void + (e: 'load'): void (e: 'edit', event: CalendarEvent): void }>() @@ -302,11 +307,14 @@ defineExpose({ forceReload }) -
- - + +
+ \ No newline at end of file diff --git a/ui/src/pages/Calendar.vue b/ui/src/pages/Calendar.vue index 954e316..fa51eec 100644 --- a/ui/src/pages/Calendar.vue +++ b/ui/src/pages/Calendar.vue @@ -211,7 +211,7 @@ onMounted(() => { class="3xl:w-lg 2xl:w-md border-l bg-card text-foreground flex flex-col overflow-auto scrollbar-themed" :style="{ height: 'calc(100vh - 61px)', position: 'sticky', top: '64px' }"> + @reload="loadEvents()" @load="calendarRef.getApi().updateSize()" @edit="(val) => { dialogRef.openDialog(null, 'edit', val) }"> From f4abc511984a13ba8870bfbb0a4c2c28e99c03ab Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 15 Jan 2026 20:00:03 -0500 Subject: [PATCH 2/4] Tweaked banner width because it was annoying me --- ui/src/App.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/App.vue b/ui/src/App.vue index 1df0e07..7e208d0 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -29,12 +29,12 @@ const version = import.meta.env.VITE_APPLICATION_VERSION; background-position: center;">
- - + +

Development environment (v{{ version }}). Features may be incomplete or unavailable.

- +

You are on LOA until {{ formatDate(userStore.user?.LOAs?.[0].extended_till || userStore.user?.LOAs?.[0].end_date) }}

From f58d0114eb4a0068ef87367ec99492e4a72af58d Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 15 Jan 2026 20:22:31 -0500 Subject: [PATCH 3/4] Mobile UX improvements for calendar --- .../components/calendar/ViewCalendarEvent.vue | 18 +++++++++--------- ui/src/components/ui/button/index.js | 2 +- ui/src/pages/Calendar.vue | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ui/src/components/calendar/ViewCalendarEvent.vue b/ui/src/components/calendar/ViewCalendarEvent.vue index aea692d..9de05a4 100644 --- a/ui/src/components/calendar/ViewCalendarEvent.vue +++ b/ui/src/components/calendar/ViewCalendarEvent.vue @@ -184,7 +184,7 @@ defineExpose({ forceReload })