diff --git a/src/modules/chatbot/components/chatbot-drawer.vue b/src/modules/chatbot/components/chatbot-drawer.vue index c1e307b..59ea63f 100644 --- a/src/modules/chatbot/components/chatbot-drawer.vue +++ b/src/modules/chatbot/components/chatbot-drawer.vue @@ -14,8 +14,9 @@ const text = ref(''); const handleSend = async () => { - await chatbot_api.sendMessage(text.value.trim()); + const message = text.value.trim(); text.value = ''; + await chatbot_api.sendMessage(message); }; onMounted(() => { @@ -27,8 +28,8 @@
@@ -69,7 +70,9 @@ diff --git a/src/modules/chatbot/components/dialogue-content.vue b/src/modules/chatbot/components/dialogue-content.vue index e3a3685..53a6993 100644 --- a/src/modules/chatbot/components/dialogue-content.vue +++ b/src/modules/chatbot/components/dialogue-content.vue @@ -14,7 +14,7 @@ watch(chatbot_store.messages, () => { if (scroll_area.value) { - scroll_area.value.setScrollPercentage('vertical', 1.0, 500); + scroll_area.value.setScrollPosition('vertical', 999999999, 300); } }) @@ -24,24 +24,28 @@
- -
- - {{ $t('chatbot.chat_thinking') }} -
+
+ +
+
\ No newline at end of file diff --git a/src/modules/timesheet-approval/components/details-dialog-chart-hours-worked.vue b/src/modules/timesheet-approval/components/details-dialog-chart-hours-worked.vue index 165256b..b3f8867 100644 --- a/src/modules/timesheet-approval/components/details-dialog-chart-hours-worked.vue +++ b/src/modules/timesheet-approval/components/details-dialog-chart-hours-worked.vue @@ -12,7 +12,7 @@ import { getHoursMinutesStringFromHoursFloat } from 'src/utils/date-and-time-utils'; interface ChartConfigHoursWorked { - key: keyof Pick; + key: keyof Pick; label: string; color: string; } @@ -50,6 +50,16 @@ import { getHoursMinutesStringFromHoursFloat } from 'src/utils/date-and-time-uti label: t('shared.shift_type.overtime'), color: colors.getPaletteColor('negative'), }, + { + key: 'holiday', + label: t('shared.shift_type.holiday'), + color: colors.getPaletteColor('purple-5'), + }, + { + key: 'vacation', + label: t('shared.shift_type.vacation'), + color: colors.getPaletteColor('deep-orange-5'), + }, ]; const hours_worked_labels = ref(all_days.map(day => day.date.slice(-5,))); diff --git a/src/modules/timesheet-approval/components/overview-list.vue b/src/modules/timesheet-approval/components/overview-list.vue index 13c8687..9e39a4d 100644 --- a/src/modules/timesheet-approval/components/overview-list.vue +++ b/src/modules/timesheet-approval/components/overview-list.vue @@ -90,7 +90,7 @@ const getListViewTimeCss = (column_name: OverviewColumns, value: number): { classes: string, style: string } => { if (WARNING_COLUMNS.includes(column_name) && value > 0) - return { classes: 'bg-warning text-white rounded-5', style: '' }; + return { classes: 'bg-warning text-white text-bold rounded-5', style: '' }; if (NEGATIVE_COLUMNS.includes(column_name) && value > 0) return { classes: 'bg-negative text-white text-bold rounded-5', style: '' };