Skip to content

Commit 3b832ef

Browse files
authored
Merge pull request #254 from ShengBin-101/shengbin-PPP
Edit PPP shengbin-101.md
2 parents e6584a0 + 83edb52 commit 3b832ef

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

docs/team/shengbin-101.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ BookKeeper is a Command Line Interface (CLI) library manager application for eff
1111

1212
#### **Features Implemented**
1313
1. **`add-loan` command**:
14-
- **What it does**: Allows users to add loans for books, specifying borrower details such as name, return date, phone number, and email.
14+
- **What it does**: Feature to add loans for books, specifying borrower details such as name, return date, phone number, and email.
1515
- **Justification**: This feature is essential for tracking which books are currently on loan and who borrowed them. It enhances the core functionality of the library management system.
1616
- **Highlights**: Includes validation to prevent adding loans for books that are already on loan.
1717

@@ -25,21 +25,15 @@ BookKeeper is a Command Line Interface (CLI) library manager application for eff
2525
- **Justification**: Ensures data integrity when loading from files, preventing crashes and maintaining a consistent state.
2626
- **Highlights**: Handles invalid entries, duplicate books, invalid loans, and mismatched `onLoan` statuses.
2727

28-
4. **Dynamic Ordering of Arguments**:
28+
4. **Dynamic Ordering of Arguments in `update-book` and `edit-loan`**:
2929
- **What it does**: Allows users to input command arguments in any order, as long as all required arguments are provided. For example, the command `edit-loan` accepts arguments like `BORROWER_NAME`, `RETURN_DATE`, `PHONE_NUMBER`, and `EMAIL` in any order.
3030
- **Justification**: This feature improves the user experience by making commands more flexible and forgiving. Users do not need to memorize a strict order for arguments, reducing the likelihood of input errors.
3131
- **Highlights**:
32-
- Implemented a parser that dynamically identifies and maps arguments based on prefixes (e.g., n/ for name, d/ for return date).
33-
- Includes validation to ensure all required arguments are present and correctly formatted.
34-
- Supports optional arguments (e.g., note/NOTE for books) without affecting the required arguments.
32+
- Implemented InputParser to dynamically map arguments based on prefixes (e.g., n/ for name, d/ for return date).
3533
- Includes checking of duplicate prefixes/arguments given by user.
3634

3735
#### **Contributions to the User Guide**
38-
- Added documentation for the following commands:
39-
- `add-loan`
40-
- `delete-loan`
41-
- `edit-loan`
42-
- `view-loans`
36+
- Added documentation for `add-loan`, `delete-loan`, `edit-loan`, `view-loans` commands.
4337
- Added sections for:
4438
- Data Validation
4539
- Adding a loan for a book already on loan
@@ -49,12 +43,11 @@ BookKeeper is a Command Line Interface (CLI) library manager application for eff
4943
- Wrote the implementation details for:
5044
- Section on Adding Loans
5145
- Section on Search Title
52-
- Section on Save/Load Inventory
53-
- Section on Save/Load Loans
54-
- Added UML diagrams for:
55-
- Sequence Diagram for Adding Loans.
56-
- Sequence Diagram for Save/Load Inventory.
57-
- Sequence Diagram for Save/Load Loans.
46+
- Section on Save/Load Inventory and Loans
47+
- Added Sequence Diagrams for:
48+
- Sequence Diagram for Adding Loans
49+
- Sequence Diagram for Save/Load Inventory
50+
- Sequence Diagram for Save/Load Loans
5851

5952
#### **Contributions to Team-Based Tasks**
6053
- Maintained the issue tracker and managed milestones.

0 commit comments

Comments
 (0)