70 Commits
Author SHA1 Message Date
bobbert 5ab6e9f838 Changed Drop down to work with IOS as well as android using SelectList instead of picker 2025-12-10 13:12:09 +00:00
bobbert eb0a403297 Merge pull request #10 from mudabbir-ahmad/UserBranchPOST
UserBranchPOST
2025-12-09 15:02:20 +00:00
bobbert a8010b3005 Fixed issue with loading, due to a missing comma, the loadUsers/loadModules was never called, fixed syntax error with ModuleImage to ModuleImageURL so that default image url is loaded for the module Add page. 2025-12-09 15:01:00 +00:00
bobbert c4880737c6 Added the dropdown options for registered user or not, added the delete handler to delete from endpoint to users, fixing issues with module's handler's not working fine because of an issue with endpoint requesting 2025-12-09 14:40:12 +00:00
bobbert 80efb0be54 Added post and put and delete functionality both to user and modules, also updated users so that it by default has the user set to registered as not registered, but gives a dropdown allowing a person to select whether they are registered or not 2025-12-09 14:31:38 +00:00
bobbert f09f792e49 prittier formatting 2025-12-07 21:04:38 +00:00
bobbert f060cb19e8 Merge pull request #9 from mudabbir-ahmad/UserBranchPOST
UserBranchPOST
2025-12-07 21:01:08 +00:00
bobbert 63287d4a46 made it so there is no hamburger menu instead the user swips to open the drawer, issue for those android devices with no soft/hard buttons, gesture controls take over and utilise the android back feature rather than the app's swipe to open drawer, however works fine on other devices that use soft coded / hard buttons. 2025-12-07 21:00:25 +00:00
bobbert 30474c19bb made it so there is no hamburger menu instead the user swips to open the drawer, issue for those android devices with no soft/hard buttons, gesture controls take over and utilise the android back feature rather than the app's swipe to open drawer, however works fine on other devices that use soft coded / hard buttons. 2025-12-07 20:47:28 +00:00
bobbert 09f92febf9 Added Drawer to app.js allowing the ability to switch between module crudler and user crudler 2025-12-07 19:40:40 +00:00
bobbert e6635482c8 Fixed mismatched npm packages, adding drawer functionality. 2025-12-07 19:34:29 +00:00
bobbert 58823019a7 Added handlers to fetch user type correctly for data stored in local state rather than on database, added cohort to user view, updated default image used for userform. 2025-12-07 19:08:25 +00:00
bobbert 3035ddd5b1 Reformated code to match prettier formating 2025-12-07 18:59:27 +00:00
bobbert 8929043086 Added human readability to user view where level is now followed with label instead of just ID 2025-12-07 18:58:09 +00:00
bobbert ffc227fc88 updated user item to show user type name, added levels to userform so that it shows which level the user is in rather than just the id 2025-12-07 18:48:43 +00:00
bobbert a64793ffb5 Refactored user form to fetch data as appropriate. including user types and years for cohorts and populating the screen appropriately. Changed User add screen to use the user form. 2025-12-07 18:13:41 +00:00
bobbert fe6c389564 refactored user view screen yet again, including some things that were previously missed and kept for the module view. 2025-12-07 17:58:15 +00:00
bobbert f3b2c96d7a missed some code when refactoring user modify, removed stylesheet as well as there is no need for it as the styling is done in the components themselves. 2025-12-07 17:56:35 +00:00
bobbert 3b5285b553 Fixed UserView to be a proper refactor of module view 2025-12-07 17:50:10 +00:00
bobbert de180ff4e2 Fixed some issues with drawer feature, as that was half implimented before being removed, the code was not removed from the files that were being refactored, removed unnecessary code as well and fixed user list. 2025-12-07 17:47:03 +00:00
bobbert 3b246c721f Refactoring a lot of the user items to use the USER data from the API, as it keeps a very similar structure to module. 2025-12-07 17:41:24 +00:00
bobbert 07e04884af Refactoring a lot of the user items to use the USER data from the API, as it keeps a very similar structure to module. 2025-12-07 17:38:37 +00:00
bobbert 755d568090 Made User Form section 2025-12-07 17:12:37 +00:00
bobbert d948f126df Basic refactoring for Users from old modules section 2025-12-07 16:03:17 +00:00
bobbert 532cffab57 Started User branch 2025-12-07 15:58:24 +00:00
bobbert f064e27761 Merge pull request #8 from mudabbir-ahmad/Week5Act1
Week5Act1
2025-12-06 16:55:10 +00:00
bobbert dd5324ff39 Added useLoad function, updated moduleView to include cohort, added useLoad to module list screen and module form, so there is a dropdown now for leaders as well. 2025-12-06 16:52:00 +00:00
bobbert 57369791a4 Added useLoad made it to 25:18 in the video for Act14. 2025-12-04 23:15:46 +00:00
bobbert b9d99f337c Edited Loading method, refactoring year to use API 2025-12-04 20:23:42 +00:00
bobbert aa51aae32f week5 act 1 2025-12-04 19:26:56 +00:00
bobbert 967c9342e1 Merge pull request #7 from mudabbir-ahmad/Week4Act3
Week4Act3
2025-12-04 18:31:24 +00:00
bobbert 68d67feab2 Fixed page rendering by using replace method aka strategy 2B from fix Video. 2025-12-04 18:29:36 +00:00
bobbert 924b57186f Added modify functionality. 2025-12-04 18:21:40 +00:00
bobbert 1f76cd8015 Added modify screen routing 2025-12-04 18:02:15 +00:00
bobbert 6cd703af33 added keyboard avoiding view and scroll view to form.js 2025-12-04 17:51:50 +00:00
bobbert d22b5decda Updates to forms and added picker for module form. 2025-12-04 17:29:59 +00:00
bobbert a08c48b8b1 Refactored Code 2025-12-04 16:26:58 +00:00
bobbert 6f062bb150 Added Forms and Local state to Add screen page 2025-12-04 15:16:43 +00:00
bobbert 2b8dc4c249 Merge pull request #6 from mudabbir-ahmad/week3act3
Week3act3
2025-12-04 14:21:14 +00:00
bobbert 8511afddcd Added way to access Add page and default module. 2025-12-04 14:18:12 +00:00
bobbert 1f296314f4 Added Alert for Delete 2025-12-04 13:29:00 +00:00
bobbert d8b40c9d41 Prettiered and Logbox ignore log for non-serialized values 2025-12-04 13:20:06 +00:00
bobbert 779913b8b6 fixing onDelete 2025-12-04 13:14:51 +00:00
bobbert 1c4130b876 Fixed handleDelete to onDelete in ModuleListScreen.js 2025-12-04 13:12:20 +00:00
bobbert 3ad1ef5c32 Added delete functionality, and navigate to go back to previous page after module deletion 2025-12-04 13:08:57 +00:00
bobbert 8164fab184 Added Icons and buttons to module view 2025-12-03 21:26:20 +00:00
bobbert 31c2208c2e Added template.js file, makes it easier to create new components 2025-12-03 20:50:36 +00:00
bobbert b6e43cdf16 Merge pull request #4 from mudabbir-ahmad/Week2Act3
Week2Act3 completed
2025-10-30 10:32:40 +00:00
bobbert 2eacee759a Module View added, with images and moved view into reusable component for ModuleView. All activities done for week 2. 2025-10-30 10:31:03 +00:00
bobbert c18a531a9c added a way to view modules that are interacted with 2025-10-25 22:51:18 +01:00