... | @@ -171,4 +171,32 @@ variable being modified both in the if statement and out of it. |
... | @@ -171,4 +171,32 @@ variable being modified both in the if statement and out of it. |
|
- The page will ask the user to input the `project ID` of the repo they want to add.
|
|
- The page will ask the user to input the `project ID` of the repo they want to add.
|
|
- There should also be a help button to tell the student how to find the `projectID` (but this isn't necessary)
|
|
- There should also be a help button to tell the student how to find the `projectID` (but this isn't necessary)
|
|
|
|
|
|
3:56 PM - Done work |
|
3:56 PM - Done work
|
|
\ No newline at end of file |
|
|
|
|
|
# Sept 16, 2021
|
|
|
|
|
|
|
|
12:43 PM - Started work
|
|
|
|
|
|
|
|
# Overview
|
|
|
|
|
|
|
|
- Had to deal with covid related stuff so I started late, sigh.
|
|
|
|
- Spent most of my time working on the add repo implementation.
|
|
|
|
- Had some trouble getting the new endpoint to work
|
|
|
|
- irrelevent side note: SONM went up 400% and SHIB went up 20%! Hopefully SONM doesn't declare bankruptcy...
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
> 1) New Add Repo Button
|
|
|
|
|
|
|
|
- created the `Add Repo` button which redirects to new page at endpoint /student/new-project
|
|
|
|
- `repo's` are called `projects` throughout the code, so for the sake of uniformity I'm calling it a project
|
|
|
|
- I'll probably change the `Add Repo` Button to `Add Project`, but maybe not since in the dropdown menu, the title is called `Repository`
|
|
|
|
- Initially, I added the button to `Selectionmenu.js` but I changed that and put it in it's own `AddRepoBtn.js` for the sace of modularity and simplicity
|
|
|
|
|
|
|
|
## Problems
|
|
|
|
|
|
|
|
- NewProjectPage won't load correctly.
|
|
|
|
- Whenever the Add Repo Button is clicked, it loads
|
|
|
|
- <b>Issue Is Fixed</b>
|
|
|
|
- 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 |
|
|
|
\ No newline at end of file |