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

[CS2113-W13-4] BookMarked #19

Open
wants to merge 844 commits into
base: master
Choose a base branch
from

Conversation

Elyovs
Copy link

@Elyovs Elyovs commented Mar 6, 2024

BookMarked is a desktop application designed specifically for librarians to streamline the management of library inventory and borrower records. Optimized for use via a Command Line Interface (CLI) while incorporating a Graphical User Interface (GUI), BookMarked offers efficiency and speed in managing tasks.

JeffinsonDarmawan pushed a commit to JeffinsonDarmawan/tp that referenced this pull request Mar 17, 2024
…lowerCommand

Add flower command and flower dictionary
yeozongyao added a commit to yeozongyao/tp that referenced this pull request Mar 19, 2024
…yao-exceptionhandling

Custom Exception handling for parser class
@@ -5,9 +5,261 @@
{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}

## Design & implementation
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an empty segment or meant to encapsulate the next section (Design)? If it is meant to encapsulate the next section, consider using different levels of heading. eg. ## for overarching segment, ### for sub segment

At the start of running the application, `readFileStorage` is called to get the data saved
from the previous runs of the application.

![ReadFileStorageDiagram.png](images%2FReadFileStorageDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the activation bar supposed to be active throughout? This is seen in most of the diagrams of the DG



### Command Component
![CommandComponentClassDiagram.png](images%2FCommandComponentClassDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are green/red squares the correct notation to denote public/private attributes?



### Command Component
![CommandComponentClassDiagram.png](images%2FCommandComponentClassDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider making the picture larger as it is currently unreadable

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, the png looks really small, try to make sure it is visible 😃
image

1. Parses the input to identify the book name specified by the user.
2. Searches for the book in an ArrayList of Book instances.
3. Verifies if the book is currently borrowed by checking the isBorrowed attribute.
4. If the book is borrowed, it calls extendDueDate() on the Book instance to
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using code blocks to denote functions and technical terms

#### Exit Command


### Book Component

## Product scope
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete sections?

Copy link

@tiffanyliu0220 tiffanyliu0220 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall, LGTM! But the diagrams don't seem to be very clear. Perhaps you could find a way to make them clearer?


### Command Component
![CommandComponentClassDiagram.png](images%2FCommandComponentClassDiagram.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps the image should be larger for it to be seen better?

The 'delete' command interfaces with:
1. Ui component : To relay messages back to the user
2. Storage component: For persistent storage operation
3. Book domain model : represents the state and behaviour of the individual entities

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps the format of the description should be the same? like all start with capital letters/small letters
eg Book domain model: Represents the state and behaviour .....

- Iterate through the list of users, by order of index
- If list of users is empty, throws EmptyListException
- For each user, iterates through the list of books and prints

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-04-04 112508

the ListCommand diagram can't be seen, perhaps you could try reuploading it again?

![FindCommandDiagram.png](images%2FFindCommandDiagram.png)


#### Edit Command

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section is not completed yet

Copy link

@liuy1103 liuy1103 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the UML diagrams are easy to understand so good job on that! However, it seems really simple and basic (add, delete, find etc). Not too sure what/where are the additional/enhance features that your team added? Try implementing more of them and include them in the DG!



### Command Component
![CommandComponentClassDiagram.png](images%2FCommandComponentClassDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, the png looks really small, try to make sure it is visible 😃
image

At the start of running the application, `readFileStorage` is called to get the data saved
from the previous runs of the application.

![ReadFileStorageDiagram.png](images%2FReadFileStorageDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, easy to understand!

`writeBookToTxt` is called. Data stored in will be converted to formatted string and written
to the txt file, `book.txt`.

![WriteBookToTxtDiagram.png](images%2FWriteBookToTxtDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The images are all of different sizes and quite blurry, try reading it beforehand and adjust the sizes accordingly to make sure it is readable!

Whenever the user input in `/help`, "help command" is called and command handled by calling method in UI
to show to user the messages.

![HelpCommandDiagram.png](images%2FHelpCommandDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, easy to understand

function of each book in the newly sorted ArrayList is then called.
- If there are no books in the original ArrayList, an exception is thrown and the user is informed of it.

![ListCommandDiagram.png](images%2FListCommandDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to view the png on my side, can try to double check if the image is valid?
image

- Books are filtered based on the given keyword.
- All the filtered books are output to user in a list.

![FindCommandDiagram.png](images%2FFindCommandDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, easy to understand

#### Exit Command


### Book Component

## Product scope
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing User Profile, Value Proposition & User Stories?

function of each book in the newly sorted ArrayList is then called.
- If there are no books in the original ArrayList, an exception is thrown and the user is informed of it.

![ListCommandDiagram.png](images%2FListCommandDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing ListCommandDiagram

![AddCommandDiagram.png](images%2FAddCommandDiagram.png)


#### Delete Command
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a sequence diagram for delete?

- The storage component stores the book added and its borrowed status into a text file


![AddCommandDiagram.png](images%2FAddCommandDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the activation bar for Book class be active?



### Command Component
![CommandComponentClassDiagram.png](images%2FCommandComponentClassDiagram.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image not very clear

kirangeofran and others added 24 commits April 14, 2024 14:09
Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
* 'master' of https://github.com/Elyovs/tp:
  Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
  Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
  Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
  Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
  Javadocs for AddCommand, BorrowCommand, DeleteCommand, EditCommand, ExtendCommand
  Javadocs for AddCommand, BorrowCommand, DeleteCommand, EditCommand, ExtendCommand
  Javadocs for AddCommand, BorrowCommand, DeleteCommand, EditCommand, ExtendCommand
  Javadocs for AddCommand, BorrowCommand, DeleteCommand, EditCommand, ExtendCommand
  add test
* 'master' of https://github.com/Elyovs/tp:
  remove less user friendly "file created" message in the beginning of program
  remove debugging print un storage validation
Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
Updated UG for BorrowCommand, ExtendCommand, ReturnCommand
eliztan and others added 30 commits April 15, 2024 21:35
* 'master' of https://github.com/Elyovs/tp:
  parser DG
  fix return
  parser DG
  Update PPP
  Simplify class diagram
  Update kirangeofran.md
  update diagrams for DG
  Delete DukeTest
  Add Parser Sequence diagram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants