Commit graph

298 commits

Author SHA1 Message Date
Davenludd
d1b6866c39 Fix UserStatistics component to use new API.getStatistics function 2024-04-14 15:47:26 +02:00
Davenludd
97f810fce2 Merge branch 'frontend' into gruppDM 2024-04-14 15:30:37 +02:00
Davenludd
48dd53b56b Add UserStatistics component to show total time per activity in a project 2024-04-14 15:24:10 +02:00
Peter KW
b6d9b51865 Merge branch 'frontend' into gruppPP 2024-04-14 11:58:16 +02:00
Peter KW
564b2e6f58 Small fix 2024-04-13 21:36:02 +02:00
Peter KW
f66b6a0f0a Now uses new input types and checks if input is allowed + alerts and design changes 2024-04-13 21:18:01 +02:00
Peter KW
2f3f7261a0 Some new inputfield types 2024-04-13 21:14:17 +02:00
Peter KW
0e2b62f5ba Minor design and import changes 2024-04-13 21:10:37 +02:00
Peter KW
bcac9c020e Checks if new project name meets requirements 2024-04-13 21:09:07 +02:00
Peter KW
ebe0f380c5 Navigation button 2024-04-13 21:07:48 +02:00
Peter KW
6ca7f0d31f Improved alerts for error handling login 2024-04-13 21:07:32 +02:00
Peter KW
88c6757bd3 Checks if user already is selected role + minor design change 2024-04-13 21:07:08 +02:00
Peter KW
35a9c750d1 Routes back to home page on created project + design and alert updates 2024-04-13 20:53:05 +02:00
Peter KW
43d83ca7b3 Search and design changes 2024-04-11 00:41:44 +02:00
Peter KW
2692127fdf Added some alerts and a new password field 2024-04-11 00:41:17 +02:00
Peter KW
1e0b32d32d Added search and some design changes 2024-04-11 00:39:33 +02:00
Peter KW
72d27bb644 Added search functionality and inputfield for changing p-name 2024-04-11 00:39:06 +02:00
Peter KW
385ceba248 Some "wrong login" alerts 2024-04-11 00:35:25 +02:00
Peter KW
0d4d77633d Prevents admin from changing its name 2024-04-11 00:34:56 +02:00
Peter KW
c8553d4eae Added search functionality and changed design a little 2024-04-11 00:34:27 +02:00
Peter KW
059a322d9e Changed inputfield slightly + update inputfields in files 2024-04-11 00:32:18 +02:00
Davenludd
ff07bd1ed6 Update OtherUsersTR component to include unsign and delete functionality 2024-04-09 22:14:00 +02:00
Davenludd
56e566ea9b Update confirmation message for deleting a user in ProjectMembers component 2024-04-09 20:57:22 +02:00
Davenludd
a266a6f7fc Update ProjectMembers component to allow deleting users from a project 2024-04-09 10:59:27 +02:00
Davenludd
b56e4ed76e Add Button component to OtherUsersTR and update route path in main.tsx to include signedOrUnsigned parameter 2024-04-09 10:15:19 +02:00
Davenludd
f61449dea1 Update AllTimeReportsInProjectOtherUser component to include signed status in route path 2024-04-09 10:14:48 +02:00
Davenludd
9725a0fc48 Update EditWeeklyReport component to prevent editing of signed reports 2024-04-08 22:57:34 +02:00
Davenludd
6d0775586e Update EditWeeklyReport component to change depending on if the report is signed or not 2024-04-08 22:44:55 +02:00
Davenludd
badeb84282 Update route path in main.tsx to include signedOrUnsigned parameter 2024-04-08 22:43:46 +02:00
Davenludd
591d0201cf Update AllTimeReportsInProjectOtherUser component to display signed status correct 2024-04-04 23:03:30 +02:00
Davenludd
91bccba871 Add username parameter and error alerts in GetOtherUsersReport component 2024-04-04 22:20:09 +02:00
Davenludd
a6f3fc4a1c Fixed DisplayUserProject component to fetch and display usernames 2024-04-04 22:19:35 +02:00
Davenludd
544383809b Merge branch 'frontend' into gruppDM 2024-04-04 20:10:57 +02:00
Peter KW
db6fdf3c29 Small design fix 2024-04-04 12:27:38 +02:00
Peter KW
2d8d200340 Can now remove users from projects 2024-04-04 12:22:28 +02:00
Davenludd
f75e6e4a6e Update useEffect dependencies in AllTimeReportsInProjectOtherUser component 2024-04-04 11:55:04 +02:00
Davenludd
266aaa482c Fix initial state values in TimePerRole component 2024-04-04 11:55:04 +02:00
Davenludd
194e1d52a8 Fix input fields to be read-only in OtherUsersTR and initialize state variables in TimePerRole 2024-04-04 11:55:04 +02:00
Davenludd
82e72432f6 Update API method to get all weekly reports 2024-04-04 11:55:04 +02:00
Davenludd
d7789ab844 Refactor API call in AllTimeReportsInProjectOtherUser component 2024-04-04 11:55:04 +02:00
Peter KW
13eb6597a7 Some fixes to how they handle names and inputs 2024-04-04 11:54:34 +02:00
Peter KW
9a0f855d2b Fixes to adding members 2024-04-04 11:26:39 +02:00
Davenludd
7c995573ef Update error message in NewWeeklyReport component 2024-04-04 11:19:35 +02:00
Mattias
a5ea74c996 Add useNavigate hook and handle navigation based on user "role" 2024-04-04 10:29:25 +02:00
Davenludd
a0ff329845 Update useEffect dependencies in AllTimeReportsInProjectOtherUser component 2024-04-03 18:36:17 +02:00
Davenludd
66a064c9f8 Fix initial state values in TimePerRole component 2024-04-03 18:05:30 +02:00
Davenludd
be963b2281 Fix input fields to be read-only in OtherUsersTR and initialize state variables in TimePerRole 2024-04-03 18:05:19 +02:00
Davenludd
c0d36f8df1 Update API method to get all weekly reports 2024-04-03 18:05:07 +02:00
Davenludd
8cc0458e1b Refactor API call in AllTimeReportsInProjectOtherUser component 2024-04-03 17:44:26 +02:00
Davenludd
6b880244a1 Merge branch 'gruppDM' into frontend 2024-04-03 14:00:14 +02:00