Update Tim's Journal authored by Timothy Catana's avatar Timothy Catana
......@@ -533,3 +533,57 @@ Master A-<name> B-<name> C-<name> D-<name>
- I wanted to launch this week, but I guess I didn't have enough time to finish. I'm almost done though :D
2:45 - Finished Work
# Sept 27, 2021
9:33 AM - Started Work
## Overview
- Finished Epic 3, started on making tests for new functionality
- Read up on the test api we are using
- Probbably going to create an epic to fix up our tests
- created new epics
## Epics
### &9
- create tests for the entire projects
- will use multiple tests
- snapshot
- component
- unit
### &10
- develop Quality Assurance Standards For
- testing
- developing
- commenting
## Issues
### #266
- `Add Repo` button does not appear when the student has no instructor configured courses and no personal projects.
- The `"you do not have any coursess configured"` text appears, but I forgot to render the `Add Repo` button in that case.
- I fixed it by rendering the `Add Repo` button right after the text appears
### #267
- if only personal projects exist (no courses) it would load infinitely
- problem was I was manually adding the "Personal" course with `id` and `parentId` equal to `0` (a number/int) rather than `'0'` (a string) and thus an if statement was giving a fulty conclusion because of a type "error".
- I fixed the problem by changing it to `'0'` for the personal course.
## API's and Links To Add On Wiki
- these links are very useful, and I think I will make it mandatory for new developers to read them before they begin development on the project themselves
- links:
- enzyme https://enzymejs.github.io/enzyme/
- jest and enzyme explanation (very good) https://www.smashingmagazine.com/2020/06/practical-guide-testing-react-applications-jest/
- jest https://jestjs.io/docs/getting-started
- gitlab api https://docs.gitlab.com/ee/api/api_resources.html
- react component api https://reactjs.org/docs/react-component.html
- jsx api https://reactjs.org/docs/jsx-in-depth.html
\ No newline at end of file