forked from nus-cs2103-AY2324S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update documentations for DG, UG and PPP #290
Merged
sopa301
merged 4 commits into
AY2324S1-CS2103T-F12-1:master
from
AlyssaPng:branch-docs-all
Nov 12, 2023
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR | ||
participant ":GatherCommandParser" as GatherCommandParser LOGIC_COLOR | ||
participant "command:GatherCommand" as GatherCommand LOGIC_COLOR | ||
participant ":CommandResult" as CommandResult LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":Model" as Model MODEL_COLOR | ||
end box | ||
|
||
[-> LogicManager : execute("gather fp/Financial Plan A") | ||
activate LogicManager | ||
|
||
LogicManager -> AddressBookParser : parseCommand("gather fp/Financial Plan A") | ||
activate AddressBookParser | ||
|
||
AddressBookParser -> GatherCommandParser : parse("fp/Financial Plan A") | ||
activate GatherCommandParser | ||
|
||
create GatherCommand | ||
GatherCommandParser -> GatherCommand : GatherCommand(prompt) | ||
activate GatherCommand | ||
|
||
GatherCommand --> GatherCommandParser : command | ||
deactivate GatherCommand | ||
|
||
GatherCommandParser --> AddressBookParser : command | ||
deactivate GatherCommandParser | ||
'Hidden arrow to position the destroy marker below the end of the activation bar. | ||
GatherCommandParser -[hidden]-> AddressBookParser | ||
destroy GatherCommandParser | ||
|
||
AddressBookParser --> LogicManager : command | ||
deactivate AddressBookParser | ||
|
||
LogicManager -> GatherCommand : execute() | ||
activate GatherCommand | ||
|
||
GatherCommand -> Model: gatherEmails(prompt) | ||
activate Model | ||
|
||
Model --> GatherCommand: emails (or Empty String) | ||
deactivate Model | ||
|
||
create CommandResult | ||
GatherCommand -> CommandResult | ||
activate CommandResult | ||
|
||
CommandResult --> GatherCommand | ||
deactivate CommandResult | ||
|
||
GatherCommand --> LogicManager: result | ||
deactivate GatherCommand | ||
|
||
[<--LogicManager | ||
deactivate LogicManager | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":ModelManager" as ModelManager MODEL_COLOR | ||
participant ":AddressBook" as AddressBook MODEL_COLOR | ||
participant ":UniquePersonsList" as UniquePersonsList MODEL_COLOR | ||
participant "prompt:GatherEmailByFinancialPlan" as GatherEmailByFinancialPlan MODEL_COLOR | ||
participant ":Person" as Person MODEL_COLOR | ||
end box | ||
|
||
[-> ModelManager: gatherEmails(prompt) | ||
activate ModelManager | ||
|
||
ModelManager -> AddressBook: gatherEmails(prompt) | ||
activate AddressBook | ||
|
||
AddressBook -> UniquePersonsList: gatherEmails(prompt) | ||
activate UniquePersonsList | ||
|
||
loop through internalList | ||
UniquePersonsList -> GatherEmailByFinancialPlan: gatherEmails(person) | ||
activate GatherEmailByFinancialPlan | ||
GatherEmailByFinancialPlan -> Person: gatherEmailsContainsFinancialPlan("Financial Plan A") | ||
activate Person | ||
Person --> GatherEmailByFinancialPlan: email (or Empty String) | ||
deactivate Person | ||
GatherEmailByFinancialPlan --> UniquePersonsList: email (or Empty String) | ||
deactivate GatherEmailByFinancialPlan | ||
end loop | ||
|
||
UniquePersonsList --> AddressBook: emails (or Empty String) | ||
deactivate UniquePersonsList | ||
|
||
AddressBook --> ModelManager: emails (or Empty String) | ||
deactivate AddressBook | ||
|
||
[<-- ModelManager : emails (or Empty String) | ||
deactivate ModelManager | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to state this explicitly, we can just say that only correct edits will work, and that any wrong edits will lead to undefined behaviour, including the deletion of the entire data file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okayy will edit