Commit graph

113 commits

Author SHA1 Message Date
lbarraga
89eda17bc2 #40 timer_overview screen added to navgraph 2023-04-16 23:34:19 +02:00
lbarraga
880236e1ce #40 viewmodel for overview screen 2023-04-16 23:33:18 +02:00
lbarraga
049138bbc5 #40 basic timer overview screen (to be extended) 2023-04-16 23:32:32 +02:00
lbarraga
79dcede47b fetch configutation on startup 2023-04-16 23:31:35 +02:00
lbarraga
cf97565dec #40 added onTimersClick implementation 2023-04-16 23:30:53 +02:00
lbarraga
16eb7d14f2 #40 added timer overview to destinations 2023-04-16 23:29:46 +02:00
lbarraga
28b3260191 added timerdao and config service binds 2023-04-16 23:28:13 +02:00
lbarraga
505f5c882a converter to convert TimerJson to TimerInfo 2023-04-16 23:27:05 +02:00
lbarraga
ce57425957 #40 DAO to fetch the timers from the database. User timers only or combined (user + default) 2023-04-16 23:25:57 +02:00
lbarraga
2a546146a3 Configuration service fetches default timers 2023-04-16 23:22:23 +02:00
lbarraga
0c183b9cc7 #40 timer info class and subclasses, used for display of a timer 2023-04-16 23:20:38 +02:00
7c09aac5b3 Proper drawer styling 2023-04-14 13:49:28 +02:00
lbarraga
064a9d3f31 code undupe go brr 2023-04-14 00:03:53 +02:00
lbarraga
373d7281fe openAndPopUp needs to be passed down to navbar and drawer 2023-04-14 00:02:31 +02:00
lbarraga
a5df9cf191 navbar now has a viewModel for each clickable function 2023-04-14 00:01:20 +02:00
lbarraga
f5940e4743 now takes viewmodel and open function. Also uses viewmodel functions 2023-04-14 00:00:46 +02:00
lbarraga
71a42a28e2 openAndPopUp function as argument for prim. screen 2023-04-14 00:00:16 +02:00
lbarraga
4e9aab73c2 Drawer now has a viewModel for each clickable function 2023-04-13 23:59:18 +02:00
lbarraga
cee42e7758 now takes viewmodel and open function. Also uses viewmodel functions 2023-04-13 23:58:29 +02:00
lbarraga
9c908033eb #59 removed comments 2023-04-13 17:48:13 +02:00
lbarraga
00b5ab8d16 update comments
Co-authored-by: Tibo De Peuter <Tibo.DePeuter@UGent.be>
2023-04-13 17:46:58 +02:00
lbarraga
03acb3781e #59 added username strings 2023-04-13 17:22:10 +02:00
lbarraga
6ca65ba8b3 #59 username textfield added 2023-04-13 17:21:45 +02:00
lbarraga
927b99c32a #59 UserDAO interface 2023-04-13 17:20:50 +02:00
lbarraga
b3de23dc54 #59 implementation of UserDAO 2023-04-13 17:20:31 +02:00
lbarraga
e7ab3aadc1 #59 username is now saved to user document on register 2023-04-13 17:18:15 +02:00
lbarraga
57d959a510 #59 Added onUsernameChange 2023-04-13 13:57:48 +02:00
lbarraga
182b8e2213 #59 Added username in ui state 2023-04-13 13:57:17 +02:00
lbarraga
ad59bc552a #59 Added username field composable 2023-04-13 13:57:01 +02:00
f733e4bf14 #52 Restructuring finalised 2023-04-13 13:18:50 +02:00
0d65637d91 #52 fix dankzij Lukas tysm 2023-04-13 13:06:13 +02:00
12fe0c852e #52 poging tot herstructureren -- WERK NIET 2023-04-12 16:34:13 +02:00
724087362a #52 icons through res instead of library import 2023-04-12 15:08:51 +02:00
307f9e0d70 #52 Move drawer to toolbar 2023-04-12 15:08:26 +02:00
85e1b55507 #52 Add logout functionality 2023-04-12 09:52:09 +02:00
22b5a27102 #52 Complete sidebar without functionality 2023-04-12 09:34:09 +02:00
01bb858b9d Temporary update before I go to sleep 2023-04-11 23:26:50 +02:00
18d8108779 Add basic sidemenu 2023-04-11 22:39:51 +02:00
d9a96e92ca Fix typo 2023-04-11 22:01:16 +02:00
lbarraga
d1a21e6894 Update app/src/main/java/be/ugent/sel/studeez/screens/home/HomeScreen.kt
Co-authored-by: Tibo De Peuter <Tibo.DePeuter@UGent.be>
2023-04-11 18:39:21 +02:00
lbarraga
c3abfd896e #54 toolbar takes composable as content 2023-04-11 16:29:10 +02:00
lbarraga
1112cf14d4 #54 secondary toolbar to primary 2023-04-11 16:28:38 +02:00
lbarraga
23f57b7035 #54 add homescreen to navgraph 2023-04-11 16:22:58 +02:00
lbarraga
b054181486 #54 go to homescreen if user is already logged in 2023-04-11 16:22:27 +02:00
lbarraga
aac66923ca #54 user is redirected to homepage after login 2023-04-11 16:21:47 +02:00
lbarraga
484b71c782 #54 added home screen view model 2023-04-11 16:21:01 +02:00
lbarraga
174c5ad45b #54 added home screen view 2023-04-11 16:20:49 +02:00
lbarraga
0b76199d3c added home 2023-04-11 15:57:23 +02:00
lbarraga
5065b194e8 added homescreen text 2023-04-11 15:55:37 +02:00
lbarraga
17ad4c374b added hilt viewmodel with button onclick 2023-04-11 15:49:00 +02:00