Commit Graph

360 Commits

Author SHA1 Message Date
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
bff6ce1f31 Merge branch 'main' of https://git.targo.ca/Targo/targo_frontend into dev/nicolas/staging-prep 2026-01-27 15:06:38 -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
7f8af939d6 Merge pull request 'refactor(auth): change behavior of disconnect button, now ends authentik session for app only' (#68) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#68
2026-01-26 16:28:24 -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
3b3fb4d373 Merge pull request 'fix(timesheet-approval): overview list now updates when closing details dialog.' (#67) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#67
2026-01-26 12:17:39 -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
0178cb610a Merge pull request 'fix(timesheet-approval): fix issue where expense wouldn't show correct expense type an refuse to update' (#66) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#66
2026-01-26 11:11:10 -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
05c3f7b7c4 Merge pull request 'fix(timesheet-approval): minor fix to timesheet reload after changes to employee timesheet' (#65) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#65
2026-01-26 10:42:13 -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
7b56a14cb4 Merge pull request 'dev/nicolas/staging-prep' (#64) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#64
2026-01-26 10:09: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
cd29f4c3ad Merge pull request 'fix(timesheet-approval): fix oversight to modify employee timesheet from approval module' (#63) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#63
2026-01-26 09:58:45 -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
c7e5829ca4 Merge pull request 'fix(timesheet): add translation for sick hours error, make shift comment popup bigger' (#62) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#62
2026-01-23 11:28:39 -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
a9edde23c0 Merge pull request 'fix(timesheet): fix issue in mobile version where shift type selector doesn't respond to touch' (#61) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#61
2026-01-22 15:49:37 -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
0dfe895b5a Merge pull request 'fix(timesheet): fix issue where expense dropdown for type select fades in background behind dialog' (#60) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#60
2026-01-22 13:10:36 -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
b5bc1eb20b Merge pull request 'fix(approvals): adjust scripts to handle timesheet modifications made through approvals page' (#59) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#59
2026-01-22 12:27:38 -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
81711a9e40 Merge pull request 'feat(approvals): update overview and potentially employee details when modify event occurs' (#58) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#58
2026-01-21 10:56:23 -05:00
Nic D
388e002dda feat(approvals): update overview and potentially employee details when modify event occurs 2026-01-21 10:55:55 -05:00
121b09bbe0 Merge pull request 'fix(approvals): remove one slash in route because YEP' (#57) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#57
2026-01-21 10:44:25 -05:00
Nic D
9b1bfc9068 fix(approvals): remove one slash in route because YEP 2026-01-21 10:44:05 -05:00
d2576d3a44 Merge pull request 'fix(approvals): change backend address to use env instead of localhost' (#56) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#56
2026-01-21 10:40:03 -05:00
Nic D
c1e6f262d1 fix(approvals): change backend address to use env instead of localhost 2026-01-21 10:39:30 -05:00
f662a8bcb4 Merge pull request 'dev/nicolas/staging-prep' (#55) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#55
2026-01-21 10:30:10 -05:00
Nic D
27ca2a6269 Merge branch 'main' of https://git.targo.ca/Targo/targo_frontend into dev/nicolas/staging-prep 2026-01-21 10:29:37 -05:00
Nic D
dccc2f4a10 feat(approvals): add SSE to timesheet-approval to notify of timesheet changes 2026-01-21 10:21:01 -05:00
2e2f2cd802 feat(timesheet_approval): begin integration of connection to approval SSE stream 2026-01-20 16:27:23 -05:00
29b6d0ef6a Merge pull request 'dev/nicolas/staging-prep' (#54) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#54
2026-01-20 10:09:49 -05:00
0ac68d3d00 Merge branch 'dev/nicolas/staging-prep' of git.targo.ca:Targo/targo_frontend into dev/nicolas/staging-prep 2026-01-20 09:58:13 -05:00
0eb93d7046 fix(timesheet): better handling of error validation 2026-01-20 09:56:29 -05:00