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

Updated tangzhenen.md #232

Merged
merged 5 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions docs/diagrams/DeleteCommand.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@startuml
'https://plantuml.com/sequence-diagram

autonumber

title Delete Command

participant a as "WildWatch"
participant b as "InputHandler"
participant c as "Ui"
participant d as "LOGGER"
participant e as "CommandHandler"
participant f as "EntryHandler"
participant g as "DeleteCommand"
participant h as "EntryList"

a->b: handleInput()
b->c: inputPromptPrinter()
c-->b: return void
b->c: inputRetriever()
c-->b: return input
b->d: log(..)
d-->b: return void
b->e: processCommand(input)
deactivate b
deactivate c
e->f: handleEntry(input)
f->g: constructor DeleteCommand(..)
activate g
deactivate g
f-->e: return command
e->e: executeCommand(command)
e->c: printHorizontalLines()
c-->e: return void
e->g: execute()
activate g
g->c: prompt for confirmation
c-->g: user confirmation
g->h: deleteEntry(index) [if confirmed]
h-->g: return void [after deletion]
deactivate g
g-->e: return void
e->c: printHorizontalLines()
c-->e: return void
@enduml
29 changes: 29 additions & 0 deletions docs/team/tangzhenen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Tang Zhen En's Project Portfolio Page

## Overview
Wildwatch is a program for a clerk managing wildlife data in a wildlife reserve via the Command Line Interface (CLI).
Its main job is to store and present animal data in an easy and convenient way making your job so much more convenient!

--------------------------------------------------------------------------------------------------------------------------------------

## Summary of Contributions

### Code Contributed
To view the codes that I have contributed to the team project WildWatch, click [RepoSense](https://nus-cs2113-ay2324s1.github.io/tp-dashboard/?search=tangzhenen&breakdown=false&sort=groupTitle%20dsc&sortWithin=title&since=2023-09-22&timeframe=commit&mergegroup=&groupSelect=groupByRepos).

### Enhancements Implemented
1. Created `delete` command class.
2. Updated `help` command class.
3. Created tests for `delete`,`list` and `help` commands.

### Contributions to User Guide
1. Created the `delete` feature section.
2. Created the `bye` feature section.
3. Created the `bug reporting` section to help users deal with issues when using the program.
4. Updated `FAQ` section.
5. Helped to review the UG.


### Contributions beyond the project team
1. Participated in reviewing other team's DG during tutorial.
2. Participated in PE-D to review other team's code and reported bugs found.