... | ... | @@ -201,4 +201,47 @@ variable being modified both in the if statement and out of it. |
|
|
- The solution was to make sure the PrivateRoute component in App.js was not on one line
|
|
|
- IDK why this is an issue, but it works
|
|
|
|
|
|
4:28 PM - Finished work |
|
|
\ No newline at end of file |
|
|
4:28 PM - Finished work
|
|
|
|
|
|
# Sept 17, 2021
|
|
|
|
|
|
10:22 AM - Started work
|
|
|
|
|
|
# Overview
|
|
|
|
|
|
- created merge request for add repo button.
|
|
|
- started on creating the process for adding a new repo to IFS
|
|
|
- starting to get the hang of it
|
|
|
|
|
|
## Features
|
|
|
|
|
|
### Adding New Project Game Plan
|
|
|
|
|
|
- not all projects have a group ID, so for now, I will be getting all projects solely by their project ID's without taking their groups into account.
|
|
|
- I have decided that for now, I will have a "personal" option in the "Course:" dropdown menu for all personal projects added into IFS.
|
|
|
- Of course, Some projects are in groups and thus, do have a group ID. Therefore, Once the initial "add repo" functionality is done with just the project ID, we can then expand to see if the project is in fact in a group, and we can also fetch t's group ID later. As of now, there is no reason to do that. It would be better just to have the student be added into a new "course" and load all of the projects in the group.
|
|
|
- "Course:" is relevant, but not the greatest label for the dropdown menu as it represents the group, and not necessarily a course.
|
|
|
|
|
|
### Began Repo Incorperation Process Code
|
|
|
|
|
|
- Took instructor side of adding a group and am modifying it for the student side for adding a repo
|
|
|
- I need a specific DB for the students personal projects, however, this will make the logic inconsistent because students have been drawing from the instructors database in order to load their projects (as far as I see)
|
|
|
- Student DB will look like this:
|
|
|
```
|
|
|
id: int
|
|
|
projectId: int
|
|
|
groupId: int (or NULL)
|
|
|
groupName: int (or NULL)
|
|
|
feedbackTypes: Array
|
|
|
0: Object
|
|
|
name: string
|
|
|
1: Object
|
|
|
name: string
|
|
|
etc...
|
|
|
```
|
|
|
- The reason for the group id and name is that in the future, it may be useful for features that may be added in the student side.
|
|
|
- For example, rather than a "Personal" "Course:" dropdown option, students can organize their projects into their own personal created groups
|
|
|
- Keep in mind that not all projects have groups, therefore some items in the student DB will have NULL groupId's and groupName's
|
|
|
- this can be validated at: `https://gitlab.socs.uoguelph.ca/api/v4/projects/`
|
|
|
|
|
|
1:46 PM - Finished Work |
|
|
\ No newline at end of file |