You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/team/shengbin-101.md
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ BookKeeper is a Command Line Interface (CLI) library manager application for eff
11
11
12
12
#### **Features Implemented**
13
13
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.
15
15
-**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.
16
16
-**Highlights**: Includes validation to prevent adding loans for books that are already on loan.
17
17
@@ -25,21 +25,15 @@ BookKeeper is a Command Line Interface (CLI) library manager application for eff
25
25
-**Justification**: Ensures data integrity when loading from files, preventing crashes and maintaining a consistent state.
4.**Dynamic Ordering of Arguments in `update-book` and `edit-loan`**:
29
29
-**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.
30
30
-**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.
31
31
-**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).
35
33
- Includes checking of duplicate prefixes/arguments given by user.
36
34
37
35
#### **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.
43
37
- Added sections for:
44
38
- Data Validation
45
39
- 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
49
43
- Wrote the implementation details for:
50
44
- Section on Adding Loans
51
45
- 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
58
51
59
52
#### **Contributions to Team-Based Tasks**
60
53
- Maintained the issue tracker and managed milestones.
0 commit comments