Skip to content

Commit

Permalink
Merge pull request #272 from yyyaohhh/master
Browse files Browse the repository at this point in the history
Fix page breaks
  • Loading branch information
xCOLOURx authored Nov 14, 2023
2 parents 1cf6a53 + f129c46 commit 8a6dd44
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ The individual modules are then displayed in `ModuleCard`. <br>

However, as changes in the `UniqueModuleList` will not propagate to the `ObservableList` in `ModulePlanSemesterList`, there is a need for the function `refreshList` to update the `ObservableList` in `ModulePlanSemesterList` whenever changes in the `UniqueModuleList` occurs.<br>

#### Design Consideration
<div style="page-break-after: always;"></div>

#### Design Considerations

**Aspect: Data Structure to Store `Module`**

Expand Down Expand Up @@ -496,6 +498,8 @@ the module if it exists from the database.
6. `AddCommand` then attempts to add the module into the Model via `Model#addModule`.
7. If `ModuleCode`, the user inputs are valid, and the Model does not contain the module, `AddCommand` will
successfully add the new `Module` into the module plan.

<div style="page-break-after: always;"></div>

The following two *Sequence Diagrams* shows how the `add` command works:

Expand Down Expand Up @@ -723,6 +727,8 @@ Step 3. ModCraft lets the user know if the prerequisites have not been fulfilled

</box>

<div style="page-break-after: always;"></div>

Step 4. The user now decides to move the module to an earlier semester, and decides to make the appropriate changes by executing the command `edit CS2103T y/1 s/2`. The `edit` command calls `Module#checkPrerequisitesFulfilled(List<Module> list)` again to check if the prerequisites have been fulfilled in previous semesters. In this case, they are the Advanced Placement and Year 1 Semester 1 semesters, and the `Module`s in these semesters populate `list`.

Step 5. ModCraft lets the user know if the prerequisites have not been fulfilled, and which prerequisites. Otherwise, it moves the module `CS2103T` to Year 1 Semester 2.
Expand Down

0 comments on commit 8a6dd44

Please sign in to comment.