From 47c58bb3919270c5bf40d37ae6c1f4a6264cf837 Mon Sep 17 00:00:00 2001 From: Matthieu Haineault Date: Tue, 9 Sep 2025 09:24:38 -0400 Subject: [PATCH 1/8] removed un-used files --- src/modules/timesheets/composables/use-expenses-api.ts | 0 src/modules/timesheets/composables/use-shift-api.ts | 0 src/modules/timesheets/services/expense-attachment-services.ts | 0 src/modules/timesheets/services/expense-services.ts | 0 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/modules/timesheets/composables/use-expenses-api.ts delete mode 100644 src/modules/timesheets/composables/use-shift-api.ts delete mode 100644 src/modules/timesheets/services/expense-attachment-services.ts delete mode 100644 src/modules/timesheets/services/expense-services.ts diff --git a/src/modules/timesheets/composables/use-expenses-api.ts b/src/modules/timesheets/composables/use-expenses-api.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules/timesheets/composables/use-shift-api.ts b/src/modules/timesheets/composables/use-shift-api.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules/timesheets/services/expense-attachment-services.ts b/src/modules/timesheets/services/expense-attachment-services.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules/timesheets/services/expense-services.ts b/src/modules/timesheets/services/expense-services.ts deleted file mode 100644 index e69de29..0000000 From 04b5778dd4b7017ff946e6b47e5146a48d8f90ad Mon Sep 17 00:00:00 2001 From: Matthieu Haineault Date: Tue, 9 Sep 2025 09:37:33 -0400 Subject: [PATCH 2/8] refactor(timesheet): moved payload interfaces to seperate file --- .../components/timesheet/timesheet-save-payload.vue | 3 ++- .../components/timesheet/timesheet-shift-form.vue | 2 +- .../timesheets/composables/use-timesheet-api.ts | 2 +- .../timesheets/pages/timesheet-temp-page.vue | 2 +- .../timesheets/types/timesheet-shift-interface.ts | 13 ------------- .../types/timesheet-shifts-payload-interface.ts | 12 ++++++++++++ 6 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 src/modules/timesheets/types/timesheet-shifts-payload-interface.ts diff --git a/src/modules/timesheets/components/timesheet/timesheet-save-payload.vue b/src/modules/timesheets/components/timesheet/timesheet-save-payload.vue index c71840b..a2f3c2a 100644 --- a/src/modules/timesheets/components/timesheet/timesheet-save-payload.vue +++ b/src/modules/timesheets/components/timesheet/timesheet-save-payload.vue @@ -1,7 +1,8 @@ + + \ No newline at end of file diff --git a/src/modules/timesheets/components/timesheet-details-shifts-row-header.vue b/src/modules/timesheets/components/timesheet-details-shifts-row-header.vue new file mode 100644 index 0000000..37d2af7 --- /dev/null +++ b/src/modules/timesheets/components/timesheet-details-shifts-row-header.vue @@ -0,0 +1,33 @@ + \ No newline at end of file diff --git a/src/modules/timesheets/components/timesheet-details-shifts-row.vue b/src/modules/timesheets/components/timesheet-details-shifts-row.vue new file mode 100644 index 0000000..2fb0ab5 --- /dev/null +++ b/src/modules/timesheets/components/timesheet-details-shifts-row.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/src/modules/timesheets/components/timesheet-details-shifts.vue b/src/modules/timesheets/components/timesheet-details-shifts.vue new file mode 100644 index 0000000..2129cc0 --- /dev/null +++ b/src/modules/timesheets/components/timesheet-details-shifts.vue @@ -0,0 +1,72 @@ + + + \ No newline at end of file diff --git a/src/modules/timesheets/components/timesheet/timesheet-shift-form.vue b/src/modules/timesheets/components/timesheet/deprecated-timesheet-shift-form.vue similarity index 99% rename from src/modules/timesheets/components/timesheet/timesheet-shift-form.vue rename to src/modules/timesheets/components/timesheet/deprecated-timesheet-shift-form.vue index 17a9dbf..9d3e299 100644 --- a/src/modules/timesheets/components/timesheet/timesheet-shift-form.vue +++ b/src/modules/timesheets/components/timesheet/deprecated-timesheet-shift-form.vue @@ -6,7 +6,7 @@ import { useTimesheetStore } from 'src/stores/timesheet-store'; import TimesheetShiftComment from '../shift/timesheet-shift-comment.vue'; import TimesheetSavePayload from './timesheet-save-payload.vue'; import type { Shift } from '../../types/timesheet-shift-interface'; -import type { CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface'; +import type{ CreateShiftPayload } from '../../types/timesheet-shifts-payload-interface'; const timesheet_store = useTimesheetStore(); diff --git a/src/modules/timesheets/components/timesheet/timesheet-navigation.vue b/src/modules/timesheets/components/timesheet/timesheet-navigation.vue index 1a1136b..1713d8d 100644 --- a/src/modules/timesheets/components/timesheet/timesheet-navigation.vue +++ b/src/modules/timesheets/components/timesheet/timesheet-navigation.vue @@ -1,45 +1,94 @@