Commit Graph

290 Commits

Author SHA1 Message Date
Nic D
57334ed118 feat(dashboard, timesheet): Add weekly hours to timesheet overview, overhaul dashboard links 2026-03-18 15:35:49 -04:00
Nic D
57946dbadd feat(timesheet-approval): Add menu that contains shift options, approval-only feature 2026-03-18 10:45:02 -04:00
Nic D
83dd3a4de4 remove console.log statements. Will be using debugger going forward. 2026-03-18 09:32:17 -04:00
Nic D
e37ec79827 fix(many): refactor timesheet approval download menu, details window fixes, store refactor
- Timesheet Approval's download menu has had its UI overhauled and the script has been streamlined to better match backend structure and logic

- Details window in timesheet approval has a few bug and oversight fixes.

- Refactored UI store to work with camelCase instead of snake_case
2026-03-18 09:18:06 -04:00
Nic D.
9213a42d6b refactor(timesheet): complete overhaul of expense UI, fix functionality in approval module. 2026-03-11 12:24:06 -04:00
Nic D
4ab271e66f refactor(timesheet): Implement refactor of select and input fields from freeswitch-ui branch 2026-03-10 16:42:31 -04:00
Nic D
1271d1eb61 fix(timesheet): fix issue with expense not updating properly in approval module
Also rework expense item appearance in list to better divide space between components for visual clarity.
2026-03-10 15:52:40 -04:00
Nic D
c6187305d9 Merge branch 'main' of https://git.targo.ca/Targo/targo_frontend into release/nicolas/v1.2 2026-03-09 14:03:43 -04:00
Nic D
9f15f80be4 fix(timesheet-approval): prevent display of SSE events unrelated to current pay period viewed 2026-03-09 14:01:36 -04:00
Nic D
0b7e29e5d0 fix(chatbot): made error handling more explicit in replies. 2026-02-25 14:08:04 -05:00
Nic D
883e6f8a3d fix(chatbot): correct formatting issue with text display, now displays markdown properly as html 2026-02-24 11:04:24 -05:00
Nic D
67132857ac feat(timesheet-approval): allow creation of expenses from employee details window 2026-02-24 08:32:10 -05:00
Nic D
e6d2dac092 fix(timesheets): fix issue where timesheets do not reload if applying presets with no other changes 2026-02-23 14:58:14 -05:00
Nic D
2b1b0dbcbd fix(timesheets): add autofill functionality to sick, vacation, holiday shifts. 2026-02-23 14:36:51 -05:00
Nic D
6368beb24d feat(shift): start to add logic to lock timestamp entry when selecting certain shift types 2026-02-18 16:12:51 -05:00
Nic D
b09057a6be refactor(timesheet): Add warning for unsaved changes when navigating away from timesheet.
refactor(approvals): Move save timesheets button to top bar in details dialog. Force timesheet reload when saving any modifications to timesheets.
2026-02-18 11:00:23 -05:00
Nic D
505fdf0e62 feat(expense): finalize implementation of S3 in expenses
Now able to upload and then view images attached to expenses. Will need to check if further changes need to be made to updating expenses. Minor structural changes here and there.
2026-02-11 07:52:07 -05:00
Nic D
442375efc7 feat(layout): add username on header bar to mitigate account confusion on shared PCs that access app. 2026-02-09 11:35:38 -05:00
Nic D
e8eb633810 fix(timesheet): fix expense submit issue in timesheet. Fix save button missing in approval dialog. 2026-02-09 09:50:42 -05:00
Nic D
450fc28782 fix(auth): fix async oversight in vue file 2026-02-05 14:29:09 -05:00
Nic D
4b9bb6157a fix(auth): change logout behavior, now sends success code when logout request is processed 2026-02-05 13:23:43 -05:00
Nic D
01fb8b22e6 feat(timesheet): add backend and frontend logic to display paid time off 2026-02-04 16:04:25 -05:00
Nic D
f8d88de03e fix(timesheet): minor behavior change to mobile expense items 2026-02-04 11:05:32 -05:00
Nic D
7833ddd083 refactor(approvals): optimize approval page UI/UX for mobile 2026-02-04 10:55:23 -05:00
Nic D
db6ec4bc90 feat(approvals): add more functionalities to details window, see notes
Add ability to approve whole time from details dialog directly, in a sticky bar at top with employee name

Add possibility of right-clicking on individual shifts to approve or unapprove
2026-02-03 15:31:06 -05:00
Nic D
6dc1804918 refactor(employee-list): rework schedule preset selector, fix other ui issues, see notes
Add warning dialog when changes in an employee profile are unsaved.

Move schedule preset buttons from side of selector to side of each option in select menu.

optimize behavior of selector: will now switch to empty when deleting currently assigned preset, and will assign automatically any new or copied preset to current employee.
2026-02-03 13:09:46 -05:00
Nic D
1c6f7fd155 fix(timesheet): fix issue mobile epxense issue. Mobile expense UI overhaul.
- fix issue where mobile version of expense wouldn't allow you to change expense type and keep defaulting to type EXPENSES

revamped mobile expense UI/UX to be more intuitive and less crowded.
2026-02-02 10:56:52 -05:00
Nic D
8998918002 fix(timesheet): resolve issue with mobile expenses and timesheet presets.
fix issue with mobile version of expense dialog where select menu for expense type was refusing to show on screen due to z-index behavior. switch q-select options dialog to menu behavior instead of dialog

fix issue with timesheet presets not applying correctly due to user email being sent as query param on timesheet inadvertedly, which is a route reserved for timesheet approval module
2026-01-30 14:38:32 -05:00
Nic D
119a145549 feat(timesheet): add functionality to upload expense attachment to garage test instance
requires further development. Key used to store file needs to be saved to expense to be later used for retrieval
2026-01-30 13:44:43 -05:00
Nic D
fec7300092 fix(timesheet): fix issue where email was incorrectly being sent as param when using timesheet page 2026-01-28 08:56:01 -05:00
Nic D
80e07bfff2 fix(approvals): add preset to possible changes that can be applied to employee timesheet from approval page 2026-01-27 16:09:53 -05:00
Nic D
e8d9e9c4dc fix(approval): still trying to fix email issue. 2026-01-27 15:38:39 -05:00
Nic D
7e4b163aa4 fix(timesheet): attempt to fix issue where employee email is not passed properly 2026-01-27 15:12:55 -05:00
Nic D
e7b154e041 Merge branch 'dev/nicolas/staging-prep' of https://git.targo.ca/Targo/targo_frontend into dev/nicolas/staging-prep 2026-01-27 14:53:34 -05:00
Nic D
7267efc258 fix(approval): fix issue where employee email was not properly propagated to shifts and expenses in approval page 2026-01-27 14:48:25 -05:00
Nic D.
e8f72178b2 refactor(auth): change behavior of disconnect button, now ends authentik session for app only 2026-01-26 16:27:54 -05:00
Nic D.
b0de761645 fix(timesheet-approval): overview list now updates when closing details dialog.
Graphs at top of details dialog now update dynamically if user makes changes to employee timesheet.
2026-01-26 12:16:52 -05:00
Nic D.
1cac8966be fix(timesheet-approval): fix issue where expense wouldn't show correct expense type an refuse to update 2026-01-26 11:09:50 -05:00
Nic D.
75060a2228 fix(timesheet-approval): minor fix to timesheet reload after changes to employee timesheet
was reloading users timesheets instead of employees after update or create
2026-01-26 10:41:24 -05:00
Nic D.
8231b3084d fix(timesheets): fix error where shift payload is not sent when modify employee timesheets from approval page 2026-01-26 10:08:53 -05:00
Nic D.
42de823b87 fix(date-time-utils): fix rounding error in util method that converts hours float to HHmm string 2026-01-26 10:05:47 -05:00
Nic D.
e44d790a21 fix(timesheet-approval): fix oversight to modify employee timesheet from approval module
Fixed an oversight in the logic in one of the steps to update and create shifts from the timesheet approval page, which led to update or create requests being sent with the users credentials instead of the employees
2026-01-26 09:52:45 -05:00
Nic D
9a520d94bf fix(timesheet): add translation for sick hours error, make shift comment popup bigger 2026-01-23 11:27:24 -05:00
Nic D
d65113dd38 fix(timesheet): fix issue in mobile version where shift type selector doesn't respond to touch 2026-01-22 15:48:56 -05:00
Nic D
c20fbe4282 fix(timesheet): fix issue where expense dropdown for type select fades in background behind dialog 2026-01-22 13:10:12 -05:00
Nic D
13ed243d6e fix(timesheet): try to make comment notification more apparent. Again. 2026-01-22 12:23:06 -05:00
Nic D
b8ce517a02 fix(timesheet): remove explicit undefined where unnecessary 2026-01-22 12:11:49 -05:00
Nic D
6c10cbb7fa feat(timesheet): add delete confirmation for shift. Add blur filter to dialogs 2026-01-22 11:36:12 -05:00
Nic D
9a802ffd1c fix(timesheets): change comment button color when comment is present (requested by sysadmin) 2026-01-22 11:09:28 -05:00
Nic D
b9613889f5 fix(approvals): adjust scripts to handle timesheet modifications made through approvals page 2026-01-22 10:38:08 -05:00