Commit graph

274 commits

Author SHA1 Message Date
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
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
6b880244a1 Merge branch 'gruppDM' into frontend 2024-04-03 14:00:14 +02:00
Davenludd
4d7b3e0d57 Refactor API call and types in AllTimeReportsInProjectOtherUser component 2024-04-03 13:59:44 +02:00
Peter KW
46eb3c76a8 Small fix to statistics 2024-04-02 19:18:05 +02:00
Mattias
1b4e521508 Update variable names in TimePerActivity component 2024-04-02 18:02:40 +02:00
Mattias
a7cc48d392 Refactor TimePerRole component to use API response for time per activity 2024-04-02 18:02:04 +02:00
Davenludd
ff37236cf6 Minor fixes TimePerActivity component to use readOnly input fields 2024-04-02 17:35:02 +02:00
Davenludd
eb741ba20d Add total time calculation to DisplayUnsignedReports component 2024-04-02 17:33:20 +02:00
Davenludd
00ca5514e5 Added sign functionality to component 2024-04-02 17:27:17 +02:00
Mattias
1e1677fc57 Refactor getUnsignedReports in DisplayUnsignedReports component 2024-04-02 17:07:47 +02:00
Mattias
0b8b430f38 Refactor DisplayUnsignedReports component to use API and WeeklyReport type 2024-04-02 17:05:55 +02:00
Mattias
8d6da684bf Add username retrieval from local storage 2024-04-02 16:21:23 +02:00
Davenludd
762a1b7368 Merge branch 'frontend' into gruppDM 2024-04-02 15:51:11 +02:00
Mattias
398305d3ed Fix input validation in NewWeeklyReport component 2024-04-02 15:43:18 +02:00
Mattias
6c2213b488 Update handleUpdateWeeklyReport function and fix input validation 2024-04-02 15:43:12 +02:00
Peter KW
51a4d2a0b7 Fix to comments 2024-04-02 13:45:03 +02:00
Peter KW
524bd6c691 Can now delete project 2024-04-02 13:44:31 +02:00
Peter KW
b50d88f670 DeleteProject component 2024-04-02 13:44:06 +02:00
Peter KW
75876e43da Minor design fix 2024-04-02 13:22:46 +02:00
Peter KW
ea5bbf5f0a Merge branch 'frontend' into gruppPP 2024-04-02 13:18:25 +02:00
Peter KW
948dcce1ca Some fixes to design and comments 2024-04-02 13:14:08 +02:00
Peter KW
cb68a6323b Now shows project statistics 2024-04-02 13:11:33 +02:00
Peter KW
ca88daf493 GetProjectTimes component 2024-04-02 13:10:04 +02:00
Davenludd
7df1654bdc Merge branch 'frontend' into gruppDM 2024-04-02 11:49:46 +02:00
Davenludd
6dfa917cf0 Fix in DisplayUserProjects component 2024-04-02 11:37:53 +02:00
Peter KW
17a571fd7c Uses component to get projects now 2024-04-01 02:25:12 +02:00