Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 7 debugging + feature refinement #54

Merged
merged 29 commits into from
Dec 5, 2022

Conversation

jltng
Copy link
Contributor

@jltng jltng commented Nov 26, 2022

CHANGES MADE:

  • updated use cases and screens follow serialization method shown in lecture (FileCourse)
  • added Javadocs for classes and methods
  • unused screens and CourseMap commented out, @TiareMar changed to a FileCourse class that implements the gateways of different use cases
  • serialization works!! for course creation at least not too sure about enrolment
  • unit tests for Course entity completed

Course Creation:

  • Course creation will not be creating tasks at the same time now (tasks will have to be created beforehand)
  • interactor completed (Note: currently uncommented out checks for whether task id exists in database for the sake of code running since taskmap is not initialized)

Course Enrolment:

  • interactor: did not end up calling task creation request model and implemented all the steps (most likely is a code smell and solid/clean violation)
  • added another gateway for adding courses to student's to do list (separated by functionality and data file accessed)

TO-DO / BUGS:

  • save TaskMap changes
  • will need to edit files after @CC-3636 and @yyutiw 's branches are merged
  • FileCourse test

Course Creation:

  • screen: finish action performed method (need to be looping through tasks arraylist and appending to tasks parameter)
  • working interactor test

Course Enrolment:

  • Currently unable to access students from users.ser, will need a static getAccounts() method
  • working interactor test

@jltng jltng self-assigned this Nov 26, 2022
@jltng jltng linked an issue Nov 26, 2022 that may be closed by this pull request
4 tasks
…uctor user in course creation user case (unable to, Task is abstract), CourseEnrolmentDsGateway commented out + will be removed as don't think it is needed, adding course enrolment screen to Main (does not run, need to debug)
celinelumqr
celinelumqr previously approved these changes Nov 28, 2022
Copy link
Contributor

@celinelumqr celinelumqr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good adherence to clean architecture as far as I can tell.

CC-3636
CC-3636 previously approved these changes Nov 29, 2022
@jltng jltng dismissed stale reviews from CC-3636 and celinelumqr via abbe8cf November 29, 2022 18:48
celinelumqr
celinelumqr previously approved these changes Nov 30, 2022
jltng and others added 6 commits December 1, 2022 01:38
…(was unable to run main due to javacompile error - natalie i see you - but hopefully the serialization works ...)
not meant to be pushed, for personal testing purposes only
should not have been pushed
…tests' into feature-7-enrolment-persistence-tests
…ion method, unsused screens commented out, CourseMap commented out
@jltng jltng added (de)bug (Fixing) something that isn't working documentation Improvements or additions to documentation enhancement New feature or request code style / organization Refactoring and making code clean labels Dec 1, 2022
… of courses ser hopefully that doesn't break anything
jltng added 3 commits December 1, 2022 21:19
…lso don't pass), modified inmemorycourse for interactor tests
…ain running -- cannot seem to move the path of the ser file which is interesting
@jltng jltng added the tests Testing label Dec 2, 2022
jltng added 3 commits December 2, 2022 02:57
…(cloning course's task with a different task id, adding to task map, then adding to student's to do list. currently cannot access student from fileuser
…test still don't, added saveCourse in saveStudentToCourse (used in enrolment interactor), corrected addCourse method for student
…de changes. enrolment interactor runs but does not seem to read filecourse properly?
@jltng jltng removed documentation Improvements or additions to documentation tests Testing labels Dec 3, 2022
jltng added 3 commits December 3, 2022 12:20
…way for each data file), gateway implemented by fileuser + added necessary methods in fileuser (currently commented out for sake of code running), finish enrolment interactor, screen, and main
celinelumqr
celinelumqr previously approved these changes Dec 4, 2022
celinelumqr
celinelumqr previously approved these changes Dec 5, 2022
@jltng jltng merged commit 3f503f1 into main Dec 5, 2022
@jltng jltng mentioned this pull request Dec 4, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code style / organization Refactoring and making code clean (de)bug (Fixing) something that isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature 7 - Course Enrolment and Course Creation
4 participants