Sorted based on the number of comments given to others' PRs, but also showing comments on own PRs and other comments given. Updated weekly.
[This page was last updated on Apr 08 2021]
@kwokyto
(73 comments)1 (commented on others PR)
Would it better to refactor all the key functions out of the 'main' method?
2 (commented on others PR)
Would it be better to use a switch statement here? This can help accommodate future addition of commands.
3 (commented on others PR)
I like that you researched this! (:
4 (commented on others PR)
i think we can put this an invalid input, and print an invalid input message
5 (commented on others PR)
can we refactor this switch statement out of parse because this technically isnt parsing? so it should not be in parse, probably a get command or smth
6 (commented on others PR)
initialise the error message as a private final here
7 (commented on others PR)
initialise the error message as a private final here
8 (commented on others PR)
I am not sure if we require comments for these two methods, the details of the test is already in the method name. It might make the comments unnecessary.
9 (commented on others PR)
Should we remove this as well to adhere to coding standards?
10 (commented on others PR)
Method names should be an action. I suggest "getMessagePrintedToUser"
11 (commented on others PR)
Class name should be a noun not a verb, can we name this Storage instead?
12 (commented on others PR)
Remove extra empty line
13 (commented on others PR)
Variable name should be 'file' not 'f'
14 (commented on others PR)
Perhaps we can refactor this part into a separate function?
15 (commented on others PR)
I think this should be split into 2 lines
16 (commented on others PR)
Would it be better to use the Ui class to print the error message.
Additionally, this magic string should be a variable message.
Perhaps we can also change the message to "There was an error loading the data for FridgeFriend! ):"
17 (commented on others PR)
All the methods in Fridge are static, there is no need to declare a fridge variable here
18 (commented on others PR)
Method can return void, and access the Fridge statically.
19 (commented on others PR)
not todo
20 (commented on others PR)
i think we can use partial food names too, no need to be exact
21 (commented on others PR)
i might be wrong
22 (commented on others PR)
Can we leave this as a 1 liner list, instead of a long vertical list?
23 (commented on others PR)
Should there not be space here?
24 (commented on others PR)
I think you can just return FoodCategory.contains(description) here
25 (commented on others PR)
Same here, just return FoodStorageLocation.contains(descrption)
26 (commented on others PR)
i think they trim by default, best to just remove the extra spaces
27 (commented on others PR)
there are extra spaces here on line 111 and 112
28 (commented on others PR)
extra spaces here on line 75-77
29 (commented on others PR)
extra spaces here on line 134-135
30 (commented on others PR)
extra spaces here on line 157-158
31 (commented on others PR)
extra space here
32 (commented on others PR)
extra space here
33 (commented on others PR)
This line should have extra spacing
34 (commented on others PR)
lines 75-77 has weird spacing
35 (commented on others PR)
This line should have extra spacing
36 (commented on others PR)
this line should have extra space
37 (commented on others PR)
this line should have extra spaces
38 (commented on others PR)
this line should have extra spaces
39 (commented on others PR)
this line should have extra spaces
40 (commented on others PR)
this line should have extra spaces
41 (commented on others PR)
this line should have extra spaces
42 (commented on others PR)
this line should have extra spaces
43 (commented on others PR)
this line should have extra spaces
44 (commented on others PR)
this line should have extra spaces
45 (commented on others PR)
this line should have extra spaces
46 (commented on others PR)
technically its a help command object
47 (commented on others PR)
technically its an bye command object
48 (commented on others PR)
i think can push this into a if-elseif instead of a nested if-else
49 (commented on others PR)
shall we shift this to utilities?
50 (commented on others PR)
inheritance should be block arrow
51 (commented on others PR)
Can we define our app as such:
Food
Command
Exception
Utilities
FridgeFriend --> entry point
52 (commented on others PR)
I think you can just briefly mention that it contains key driver classes. the other details will be in the utilities section
53 (commented on others PR)
actually the user interacts with utilities not fridgefriend
54 (commented on others PR)
Make the last sentence in third person
55 (commented on others PR)
Make this sentence in third person
56 (commented on others PR)
Make this sentence in third person
57 (commented on others PR)
There is a*
58 (commented on others PR)
Can we list the features by the command instead? Like without the description at the front, else our contents page would look kinda message
59 (commented on others PR)
Can we just name this "Contents" cos technically theres no table HAHAHAA
Also can we put a ## heading for this?
60 (commented on others PR)
can we put as much into 1 line? i dont think we need a new line for each sentence
61 (commented on others PR)
Cann we put all this into 1 line
62 (commented on others PR)
can we remove this bullet point? then we can shift everything below one tab to the left
63 (commented on others PR)
maybe change this into a numbered list instead?
64 (commented on others PR)
maybe change this into a numbered list instead?
65 (commented on others PR)
change all to singular verbs?
66 (commented on others PR)
tbh i thought this should be things like "utilities component" or smth
67 (commented on others PR)
can we name this "originalQuantity" instead
68 (commented on others PR)
can we change this and the one below to like "sorry my kawan"
69 (commented on others PR)
can we change this to "sorry my kawan"
70 (commented on others PR)
remove
71 (commented on others PR)
do you want to put brackets around 11?
72 (commented on others PR)
can we change this HAHA we have a lot of "Sorry my friend"s
maybe like Sorry amigo or smth
73 (commented on others PR)
line 365 should return HistoryCommand instead
74 (commented on own PR)
Updated
75 (commented on own PR)
Will refactor this method
76 (commented on own PR)
It is a bit difficult to refactor this because most of the method calls are interdependent
77 (commented on own PR)
so we can statically access this without having to pass a Fridge object through methods
78 (commented on own PR)
will add javadoc comments
79 (commented on own PR)
changes made
80 (commented on own PR)
@Leeyp default notation requires a language to be defined for each code block, here declares that there is no language to highlight
81 (commented on own PR)
oh yes, thanks, good catch
82 (commented on own PR)
will edit based on prof's suggestions
83 (commented on own PR)
modified
84 (commented on own PR)
modified
85 (commented on own PR)
modified
86 (commented on own PR)
rejected, error message on your side will change
87 (commented on own PR)
minquantity will be done by @SimJJ96
edited for for location
88 (other comment)
Wrong issue, ignore
89 (other comment)
Wrong issue, ignore
90 (other comment)
Wrong issue, ignore
91 (other comment)
Shouldn't we be using packages and separate classes for parsing commands already?
I think we can use packages, but not classes for parsing as of now. We will handle parsing in another commit.
92 (other comment)
LGTM
93 (other comment)
Good job. But why are there so many parallel PRs? Might start to merge one by one.
because breadth first approach (:
94 (other comment)
Does anyone know why there are no tests here?
95 (other comment)
LGTM. Also reminds me of the need to modify docs. 💯
no worries, i can do this for the UG @Vinci-Hu
96 (other comment)
I will edit it on the UG nonetheless
97 (other comment)
Will reopen as a suggestion to improve our UG
98 (other comment)
1 add "homeowner who cooks", change in UG/readme/etc
2 add info note below the diagram to clarify that the user interacts with UI in utils
3 remove dependency on exception
4 fix roles vs labels
5 fix grammar
6 extract quantity stuff into another class
7 shortened part on exceptions
8 add note on plantuml
9 check if the exception throwing is consistent across all sequence diagrams, add a footnote/info that for simplicity we will express throwing of exceptions in comments of diagrams
10 remove 2 and leave 1
11 combine all common details
12 -
99 (other comment)
Steph Comments Summary
extract quantity stuff into another class
check if the exception throwing is consistent across all sequence diagrams, add a footnote/info that for simplicity we will express throwing of exceptions in comments of diagrams
combine all common details
??) future work —> modify to explain future ideas without mention of food cat
??) hide food category classes in sequence diagram
??) add warning in UG and DG for history data
@8kdesign
(36 comments)1 (commented on others PR)
Might want to call it MESSAGE_ADDED_LESSON instead, so all messages will have the same prefix.
2 (commented on others PR)
These can be shifted to a Constants class in the common package when we merge.
3 (commented on others PR)
I have this part in the storage code too. Maybe we can store this method in a class in the common package.
4 (commented on others PR)
Might need to modify this to meet the Java Coding Standards.
5 (commented on others PR)
Would be good if you can extract this into a class in the commands package.
6 (commented on others PR)
Will the validity of arguements be checked here? Or will that be done in the parser?
7 (commented on others PR)
Maybe can shift this into the Module class since they don't really deal with the UI. Then there would not be a need to pass in the task list.
8 (commented on others PR)
Might want to change the name to printTaskInstructions.
9 (commented on others PR)
Is there a check for validity of the token? (E.g. non-int input, negative value or out of bounds)
10 (commented on others PR)
Perhaps gradedStatus might be a better name here to avoid confusion with isDone.
11 (commented on others PR)
Actually is this needed, since the variable command is only used in the try block?
12 (commented on others PR)
Think we can put all of these in a Constant class in common package since many of them are used in other parts as well.
13 (commented on others PR)
This part can be made shorter by returning the command directly from each case. Same for the switch statements for inside the module below.
14 (commented on others PR)
For the delete module command, are we deleting by index or by name?
15 (commented on others PR)
What happens after the exception is thrown?
16 (commented on others PR)
How will the exception be handled here?
17 (commented on others PR)
Pattern can be declared as a string constant.
18 (commented on others PR)
The storage part uses a few of them.
19 (commented on others PR)
Perhaps these two methods can combine since the method isn't long, as "getFilteredTasks" can easily be confused with "getChosenTasks" below.
20 (commented on others PR)
I think we are standardizing the printing of message to use ui.printMessage.
21 (commented on others PR)
Actually will CommandException be thrown in this method?
22 (commented on others PR)
Should we do it this way for the rest of the code?
23 (commented on others PR)
For UnknownCommandException, will we have other messages?
24 (commented on others PR)
I think we should follow the notes and not put an empty line here.
25 (commented on others PR)
Might want to remove these blank lines too while you are at it.
26 (commented on others PR)
Can put together with the lesson messages.
27 (commented on others PR)
I notice that this is the only file modified push request. Is this message in use?
28 (commented on others PR)
Can consider the use of .isEmpty() for arraylist.
29 (commented on others PR)
Oh didn't realise that Crtl-D would cause it to crash. Maybe we can do something to fix this.
30 (commented on others PR)
Is there a reason why the word "icon" is used here instead of something like "string"?
31 (commented on others PR)
Might want to change 'e' to "event".
32 (commented on others PR)
Is there a reason why this is separated from line 33? (Same for the other files)
33 (commented on others PR)
Perhaps a more specific method name here would make it easier to understand? (Same for the edit command)
34 (commented on others PR)
Random ';' here.
35 (commented on others PR)
Is there a reason why this command needs to extend the delete command?
36 (commented on others PR)
Can help me remove the duplicate on line 80? Thanks.
37 (commented on own PR)
Hmm. But some will overlap, like the index of the fields and the date format. We should try to merge them.
38 (commented on own PR)
Sure
39 (commented on own PR)
Ok removed.
40 (commented on own PR)
Ok replaced.
41 (commented on own PR)
Ok. Will replace all of it.
42 (commented on own PR)
Oops forgot about this
43 (commented on own PR)
Can't add since method not in code yet,
44 (other comment)
Closed to use another pull request with strings shifted to Message class for all components.
45 (other comment)
Add author tags to fix tracking issue instead.
46 (other comment)
Closing because we will need to change diagrams if iit is mplement.
47 (other comment)
Number of parameters is valid for this.
add lesson >lesson type> ;; >day & time> ;; >link> ;; >teaching staff name> ;; >email>
48 (other comment)
Closing because might cause other bugs.
49 (other comment)
Fixed
50 (other comment)
Not merging to avoid introduction of new bugs.
@ongweisheng
(35 comments)1 (commented on others PR)
catch this exception in ItemsParser
2 (commented on others PR)
catch this exception at OrdersParser
3 (commented on others PR)
no comment for now since need see the output together with item stock
4 (commented on others PR)
No comments for Ui related stuff for now
5 (commented on others PR)
Do together with item stock? If not for now since quite trivial can put inside the command as well
6 (commented on others PR)
same comment as below, need check the print format when item stock is added
7 (commented on others PR)
ItemsPromptItemInfoCommand instead?
8 (commented on others PR)
Still have to do together with add item stock
9 (commented on others PR)
update this later on
10 (commented on others PR)
To be confirmed
11 (commented on others PR)
Just do item.setItemStock() since you iterating the items in the order already
12 (commented on others PR)
Change to int itemStockIndex
13 (commented on others PR)
Can say that if they want to add on to an order that is not done, consider deleting the order first then create.
14 (commented on others PR)
Also can say that if the order is done, and that the particular has a new order, delete also. Just add this for now, I'll decide whether to delete a done order after generating a receipt
15 (commented on others PR)
undo this part, hyperlink is not working anymore
16 (commented on others PR)
not sure if this part is required, might delete later
17 (commented on others PR)
Change this to itemSales instead of itemsSales? Because price and stock are itemPrice and itemStock
18 (commented on others PR)
think this part is irrelevant, but we can leave it for now
19 (commented on others PR)
numberformat exception can be caught below in the processPriceInput
20 (commented on others PR)
think there is no need to trim the customer name here because all inputs should be trimmed at the start alrd, can just go back to normal and just check for .equals(""). I think what needs to be trimmed is when asking for the item index and item quantity to be inputted into the order thats need to be trimmed
21 (commented on others PR)
refer to comment above as well
22 (commented on others PR)
refer to first comment as well
23 (commented on others PR)
refer to first comment
24 (commented on others PR)
refer to first comment
25 (commented on others PR)
no need for item description to be trimmed because inputs are alrd trimmed in the Ui askForUserInput() method.
26 (commented on others PR)
same as first comment, user input is always automatically trimmed before processing the input
27 (commented on others PR)
same as first and 2nd comment
28 (commented on others PR)
Maybe consider adding also if you forget some of the available commands or need to check their format they can use the help function as well?
29 (commented on others PR)
same as above, but i feel this one is more relevant towards just looking at items related features if the user forgets
30 (commented on others PR)
think this is wrong because we can't add as 1 line
31 (commented on others PR)
maybe do step by step instead of talking in story form, not too sure, we can discuss again
32 (commented on others PR)
same as above comments regarding help and items
33 (commented on others PR)
hi can fix grammar error here? When you are*?
34 (commented on others PR)
consider adding a limit to the item names as I received a feedback saying the orders name is unlimited and causes a bug when storing the long name into save file. Limit that i set for customer name for orders add was 30 characters including spaces
35 (commented on others PR)
Maybe just say whenever you would like to check the items and their stock in your inventory is enough already?
36 (other comment)
Reopening and updating because yiwen didnt complete the feature/ do the feature properly
37 (other comment)
Reopening because delete feature not deleting the correct index
38 (other comment)
Closing PR because of trivial changes
39 (other comment)
Approved for now since items add needs to take in stock of the item as well, so will review when both is added together
40 (other comment)
Because the price required was in integer, will change all to BigDecimal in v2.1
41 (other comment)
bug has been fixed or undergoing fix since the release of v2.0
42 (other comment)
Thank you for your report, i believe this has been fixed @zikunz @Cocokkkk ? If fixed @zikunz @Cocokkkk kindly close this comment.
43 (other comment)
Appreciate the report, @zikunz @Cocokkkk if its fixed do close the this issue thanks.
44 (other comment)
Appreciate your suggestion, we will work on updating the user guide to better inform users what not to type for item name
45 (other comment)
Appreciate the comment, we will change the argument to all show >customer_name> instead of >order_name>, thank you
46 (other comment)
Appreciate your comment, this typo has been fixed.
47 (other comment)
Hi, UG has since been update to reflect the details of the items stats
feature as well, thank you.
48 (other comment)
Appreciate your comment, tagging the PR to fix this typo now.
49 (other comment)
Appreciate the feedback, we will consider implementing the ability to see the new stock. @Cocokkkk mind updating this, because you did the stock features, thank you.
50 (other comment)
Appreciate your comment on this, we would do a screenshot of the inputs and expected output of all features at the end for better clarity once all the Ui messages have been confirmed.
51 (other comment)
Appreciate your comment on this, @951553394 mind updating your part in the UG and and also exception messages to say that input field should be case sensitive? Thanks
52 (other comment)
Appreciate your report, @Cocokkkk do you mind checking your items add same item name part again, to make sure that this error does not occur again or we can decide during the group meeting if we are gonna keep this feature again.
53 (other comment)
Appreciate your finding on this, however, i do not believe that there is a bug regarding this as the stock of B should be 30 initially. When you added the orders for GZY and GEE, the 10 and 20 stock are then removed respectively from the inventory. Therefore, after you typed 'items list' after adding the orders, the inventory shows stock of 0 for B. In conclusion, both orders can still be fulfilled. Maybe we can improve by better indicating that the inventory count is excluding the stock assigned to the orders
54 (other comment)
Appreciate your report, this issues has since been fixed by @Cocokkkk , thank you.
55 (other comment)
I'll fix this since its under orders add feature
56 (other comment)
Appreciate your comment, we would consider limiting the length of the customer's name.
57 (other comment)
Appreciate your comment, we have since trimmed whitespace to prevent this problem.
58 (other comment)
Appreciate your comment, UG has since been updated to reflect all functionalities
59 (other comment)
Appreciate your comment, @Cocokkkk @zikunz has this been fixed since?
60 (other comment)
Appreciate your comment, will add that the invalid file input is line >number> of the save file
61 (other comment)
Appreciate your comment, but I am unable to replicate the bug that you have shown, perharps u may have entered an item before that with the name " ". We have since fixed that empty spaces will be trimmed from the user's input
62 (other comment)
We have since fix that user's input has been trimmed and empty items cannot be added
63 (other comment)
Appreciate your comment, receipt file can only be accessed when you exit the app. Maybe we can add that message after we say receipt generated to let the user know that he/she needs to exit the app first. Will also note that in the UG as well
64 (other comment)
Appreciate your comment, this issue has since been fixed.
65 (other comment)
Appreciate your comment on this. We will update our UG accordingly to show full screenshots.
66 (other comment)
@e00426142 @Cocokkkk do update the expected output accordingly
67 (other comment)
Appreciate your comment, we will delete the feature whereby you can delete by the item name. @951553394 do make the necessary updates.
68 (other comment)
Appreciate your comment, but typing items list is enough to see the full list of inventory. Any additional stuff being typed after items list is ignored. Maybe we can add that any additional inputs added at the back will be ignored. @e00426142 kindly make the necessary changes for items list and orders list parts in the UG
69 (other comment)
Appreciate your comment, we will delete the feature whereby you can delete an item by its name to resolve such confusions.
@951553394 do make the necessary changes.
70 (other comment)
Appreciate your comment, @zikunz maybe we can consider removing the clear functions to prevent such problems from existing as we are running out of time to fix this issue.
71 (other comment)
Appreciate your comment, but we stated in the UG that marking using orders done feature would automatically generate a receipt for that particular order and remove it from the system.
72 (other comment)
Appreciate your comment, we have since updated our UG to correctly reflect the items stats feature as well.
73 (other comment)
Appreciate your comment, the intention was to keep the orders list as minimal as possible, thus we removed orders that are marked as done and convert them into receipts and if the user wants to view the completed orders, they can just view the receipts instead. Maybe we can consider your suggestion for future versions
74 (other comment)
Appreciate your comment, but there are no restrictions as to what the user wants to input for the item name
75 (other comment)
Appreciate your comment, this issue has since been fixed.
76 (other comment)
Appreciate your comment, it would definitely make more sense, but for now due to speed, we decided not to add this function as it will greatly slow down the process if the order is big. Perhaps, we can state in the UG about this limitation instead.
77 (other comment)
Appreciate your comment, we will standardize by just making sure that the items delete feature would only delete by item index instead of by item name as well. @951553394 do make the necessary adjustments.
@Leeyp
(31 comments)1 (commented on others PR)
Would it be better to parse this as part of the "add" method, in case in the future it is not only the foodDescription (e.g. add expiry date, add category) as part of the input?
2 (commented on others PR)
Would it be better to parse this as part of the "add" method, in case in the future it is not only the foodDescription (e.g. add expiry date, add category) as part of the input?
3 (commented on others PR)
Would it be better to make this line consistent with the exceptions below? (Minor Code Quality)
4 (commented on others PR)
Would it be better to explain what this "split" statement does in the comments above?
5 (commented on others PR)
Would it be better to explain what this "split" statement does in the comments above?
6 (commented on others PR)
Code looks good and clean. Well done!
Only request is to explain a little bit slightly more about what this Pattern Compile does, since it is a "rare" and technical usage. As long as it is explained once, no need to explain again in future, should be good to go.
7 (commented on others PR)
Would it be better to SLAP this method (i.e. make them all methods?)
8 (commented on others PR)
Would it be better to further SLAP this method (such that they are all calling methods only?)
9 (commented on others PR)
Can I understand what is the rationale for the change?
10 (commented on others PR)
Would be nice if we could have sample outputs for these usages
11 (commented on others PR)
Might be good to clarify what this split command does in a javadoc comment or similar.
12 (commented on others PR)
Would be good to extract this out as a method for Code Quality purposes
13 (commented on others PR)
What's lang-none?
14 (commented on others PR)
Here too
15 (commented on others PR)
Might want to clarify that is NOT on isExit then the loop continues, because it will actually quit on isExit, which might be misleading
16 (commented on others PR)
Could it be possible that this is not an 'alt' box?
FridgeFriend runs the command regardless whether is an exception or not (unless invalid input, which can be mentioned, or perhaps simply put this as 'valid command' instead of 'successful execution')
So, I think if the 'alt's command is a successful execution, the logical opposite is an unsuccessful execution, in which case it affects the output but not the initial execution of the command.
"No more than one alternative partitions be executed in an alt frame. That is, it is acceptable for none of the alternative partitions to be executed but it is not acceptable for multiple partitions to be executed." (https://nus-cs2113-ay2021s2.github.io/website/schedule/week10/topics.html#w10-1-sequence-diagrams-basics)
Therefore I recommend either this condition be changed to "valid command" instead of "successful execution", or the alt box moved downward to capture execute() of Command rather than getCommand() of Parser.
17 (commented on others PR)
Am I seeing things, or is the self-invocation here not spawning a new activation bar? Is that supposed to be correct?
18 (commented on others PR)
I think this might be incorrect? Where did "totalQuantity" come from? I believe the Fridge needs to read the value from somewhere. Should there be a clarification?
19 (commented on others PR)
Typo in "getMessagePrinterToUser" -> Should be getMessagePrintedToUser.
20 (commented on others PR)
Would it be better if you refactored/SLAPPed the Search function more? Right now, "getMessagePrintedToUser" looks quite messy. It might be a good idea to extract out into several methods for SLAP 😃
21 (commented on others PR)
I think this implementation requires more clarification.
22 (commented on others PR)
My apologies but, as I have just added a new History Command, I think you might have to add that into the Diagram.
23 (commented on others PR)
There is a typo in the actual file name. I think there might be problems generating the file image.
24 (commented on others PR)
might need another 'alt' where the exception is thrown. I think can write a note, but need to draw the alt box at least.
25 (commented on others PR)
Perhaps rephrase this into something that sounds nicer?
26 (commented on others PR)
It's not very clear what this means to 'consist'.
27 (commented on others PR)
Shifting the order of the foodToAdd would result in the history log data adding the post-edited quantity instead of the original quantity. Has this been addressed?
28 (commented on others PR)
We might want to set the "MAX Value" not to integer max value, but rather a smaller value (perhaps 10k? 100k?) which would definitely prevent the case of Integer Overflows.
29 (commented on others PR)
We are missing InvalidFoodStorageLocation Exception and the newest Minimum Quantity exception
30 (commented on others PR)
Do be slightly careful that order matters in the History command, but seems like the checks pass, so looks good!
31 (commented on others PR)
should be 'or' instead of 'and'
Displays a list of food items that are expiring within a week or have already expired.
32 (commented on own PR)
Alright
33 (commented on own PR)
Alright
34 (commented on own PR)
Resolved!
35 (commented on own PR)
Resolved!
36 (commented on own PR)
Resolved!
37 (commented on own PR)
Resolved!
38 (commented on own PR)
resolved!
39 (commented on own PR)
This is unfortunately not the current implementation
40 (commented on own PR)
Good eye, resolved
41 (commented on own PR)
It looks nice on my compiler, can double check?
42 (commented on own PR)
Good catch, resolved
43 (commented on own PR)
Good catch, resolved
44 (commented on own PR)
Sharp eye! Resolved.
45 (commented on own PR)
Resolved
46 (commented on own PR)
Resolved
47 (commented on own PR)
Resolved
48 (commented on own PR)
This one abit long so i think cannot tho unless i cut
49 (commented on own PR)
alright
50 (commented on own PR)
alright
51 (commented on own PR)
I condensed a bit but into 1 single line would violate code quality ("Line too long!")
52 (commented on own PR)
Sure, implemented.
53 (commented on own PR)
This is true, but would it be clearer for the reader to leave this expected output here, or to leave it blank for accuracy?
54 (commented on own PR)
After some thought, I think it would be clearer to leave this as it is, because I need at least one path that tells us that the list is being output, which was not indicated anywhere else
55 (commented on own PR)
I have thought of a solution that would solve both issues in my latest commit.
56 (other comment)
Resolved comments in second commit.
57 (other comment)
No longer relevant since all PRs include implicit Code Quality & Standard reviews.
58 (other comment)
Need to add a space before "in food object"
I help you edit in my commit
59 (other comment)
LGTM
60 (other comment)
Added Javadoc comments to some exceptions and fixed minor cosmetic issues
61 (other comment)
Also, refactored List method
62 (other comment)
Made changes, requesting approval from @Vinci-Hu and @SimJJ96 and @joohwan58
63 (other comment)
Fix broken multiquote code tags under Appendix: Instructions for Manual Testing
64 (other comment)
Dear @stephlewyh ,
Thank you for your comments!
Regarding point 11, I intentionally made the "Saving data" portion under "Manual testing" verbose, to insure against cheeky testers who attempt to break our code by testing all sorts of invalid corrupted test files, then reporting them as bugs. Since data files have the widest margin for mischief, I believed that having all possibilities spelled out would prevent them from reporting known issues as "bugs".
Is my assumption wrong? Is there a better way to write the section while keeping in mind adversarial readers/testers?
Thank you very much!
65 (other comment)
Marked as invalid due to user clearing the fridge before leaving the application, and misunderstanding the UG features.
66 (other comment)
Invalid bug but will update the UI status message to be even more clear.
67 (other comment)
Invalid because this is the intended output.
68 (other comment)
Invalid because this is the intended output. However, will update in UG to be even more clear.
69 (other comment)
Marked as invalid due to "FridgeFriend_v2.0.jar" being copyable in the java command as suggested. However, will modify in UG for further clarification.
70 (other comment)
Marked as invalid due the fact that it is technically correct.
71 (other comment)
Marked as invalid due to the fact that it is subjective opinion.
72 (other comment)
Marked as invalid due to the fact that project constraints require us to add all in one command. This is the intended function.
73 (other comment)
Marked as invalid due to subjective opinion.
74 (other comment)
Marked as invalid due to this being a suggestion rather than an actual bug. However, the suggestion will be noted.
75 (other comment)
Same concern for 7), even though the section is lengthy, it is clear and comprehensive, while not compromising on readability as some people who may be more interested in the Exceptions might find it useful (even though most might skim it). Clarity seems to be important here as there might be some weaker/confused readers who might find fault with sections that are not as clear/fleshed out.
Is there any way to improve the section while not compromising on detail/clarity for more nitpicky readers/might raise (invalid) "bugs" over content that is summarized instead of detailed?
@H-horizon
(22 comments)1 (commented on others PR)
Remove magic number.
2 (commented on others PR)
Since you are using "\n" frequently, you can store it as a constant NEW_LINE
3 (commented on others PR)
Need to implement setter and getter for selectedModule if we change it to private.
4 (commented on others PR)
For the module code name, you can try changing them to constants so it will be easier to modify them for debugging
5 (commented on others PR)
Don't forget to remove it later
6 (commented on others PR)
Probably better to change the magic number to a constant.e.g NUMBER_OF_ARGUMENTS_IN_COMMAND.
7 (commented on others PR)
Again magic number to a constant.
8 (commented on others PR)
Preferable to change the magic number to a constant
9 (commented on others PR)
Change 0(magic number) to a constant e.g NUMBER_OF_ARGUMENTS_FOR_LIST_COMMAND
10 (commented on others PR)
Can change the magic string to constant EMPTY_MESSAGE
11 (commented on others PR)
Same as the magic string above
12 (commented on others PR)
Magic number to constant EMPTY_TASK_LIST
13 (commented on others PR)
You can use a constant if you want
14 (commented on others PR)
Method name: saveTextToFile() ;
15 (commented on others PR)
Refactor magic number
16 (commented on others PR)
Refactor magic number
17 (commented on others PR)
Refactor magic number
18 (commented on others PR)
Refactor magic string
19 (commented on others PR)
Refactor magic number
20 (commented on others PR)
Magic number present
21 (commented on others PR)
Can refactor magic number
22 (commented on others PR)
Nice thinking!
23 (commented on own PR)
Was planning on doing so after I'm done implementing all commands. Thank you for the suggestion anw.
24 (commented on own PR)
I'll have a look. Sure idm
25 (commented on own PR)
This is not the final comment. I wrote this for Ivan. Will change it after he's done implementing the parser. No worries
26 (commented on own PR)
Parser
27 (commented on own PR)
I wanted to wait for the merging to discuss the names and refactor the code. I believe every lesson commands should be kept in the command package. Just didn't to create new classes in the skeleton rn.
28 (commented on own PR)
Will change it the constant name
29 (commented on own PR)
I'll have a look after your merge and make the appropriate changes
30 (commented on own PR)
No, but the abstract class throws an exception. So I had to handle it
31 (commented on own PR)
idm
32 (commented on own PR)
Ivan told me to add this to the messages class. He's gonna use it in the parser class
33 (commented on own PR)
sure
34 (commented on own PR)
I chose this function name because it is overridden in EditCheatSheet as well. Is executeCommand ok?
35 (commented on own PR)
fixed thanks
36 (commented on own PR)
Edit uses most methods from delete. Edit contains an overridden method and an additional one to perform its function.
37 (other comment)
Also, I notice you are missing the remove function for lessons.
This branch contains only the methods needed to add a lesson. The methods for other commands will be added from their respective branches.
Thank you Wen Hao!!
38 (other comment)
Good job! LGTM! Nevertheless, I believe that we should wait for version 2.1 after we are done implementing all our features. Then we can do it for UI as well and it will be consistent.
@Song0180
(19 comments)1 (commented on others PR)
You need to add weight as a param and initialize it as well.
2 (commented on others PR)
please add Javadoc comment for all public methods
3 (commented on others PR)
same as bodyweight class, please initialize totalCalories
4 (commented on others PR)
Please complete the method
5 (commented on others PR)
please complete the method
6 (commented on others PR)
Please add a constructor to initialize all private variables
7 (commented on others PR)
this is a class member, so should be static
8 (commented on others PR)
enum members should be in UPPERCASE
9 (commented on others PR)
the constructor should be:
public BodyWeight(RecordType type, LocalDate date, double weight) {
super(type, date);
this.weight = weight;
}
10 (commented on others PR)
Please refer to the constructor code I gave for BodyWeight
11 (commented on others PR)
I'll take care of this part after merging
12 (commented on others PR)
I'll take care of this part after merging
13 (commented on others PR)
please use the constructor to initialize the private attribute duration
14 (commented on others PR)
Please add Javadoc comment for all public methods
15 (commented on others PR)
You should use the constructor to initialize totalCalories
16 (commented on others PR)
please complete the method
17 (commented on others PR)
Please add Javadoc comments for all public methods
18 (commented on others PR)
please complete the method
19 (commented on others PR)
please complete the constructor
20 (other comment)
Javadoc comments do not follow the standard.
Parameters and returns must be specified, please add them accordingly
21 (other comment)
I'll merge first. will open a pr for bug fix later.
22 (other comment)
Please fix the CI error
23 (other comment)
Please fix the CI error
24 (other comment)
The text ui test error can be ignored. The test is to be updated after this PR is merged.
25 (other comment)
This does not seem to be a bug. The body weight record can be added via add
command, which is clearly specified in the UG.
26 (other comment)
@PingruiLi can you take a look at this issue plz. Thanks!
27 (other comment)
This is actually designed in this way. Once a goal is set, it will check the progress via existing records immediately. That's why the newly added daily goal will be seen as achieved since there are records for today already. Therefore, this is not considered as a bug.
28 (other comment)
@PingruiLi can you take a look at this issue plz? Thanks. Adding a lower bound for bodyweight when checking the input(e.g. at least 20kg) will do.
29 (other comment)
@PingruiLi
30 (other comment)
@PingruiLi can you take a look at this issue plz? Thanks. Adding a lower bound for bodyweight when checking the input(e.g. at least 20kg) will do.
31 (other comment)
@PingruiLi
32 (other comment)
@PingruiLi
33 (other comment)
@PingruiLi
34 (other comment)
@PingruiLi
35 (other comment)
This is a design choice. More workout categories can be added indeed, but this is not considered a bug, hence won't fix.
36 (other comment)
@PingruiLi
37 (other comment)
@PingruiLi
38 (other comment)
This limit is specified in UG clearly.
However, we can consider using float number for duration.
@PingruiLi
39 (other comment)
A good advice, but this is not considered a bug, hence closed.
40 (other comment)
@PingruiLi
41 (other comment)
As stated in the user guide, the application limits the number of food categories. Rice and bread can be seen as grain. Hence not considered a bug.
42 (other comment)
Already fixed in pr#129
43 (other comment)
Already fixed in #129
44 (other comment)
unable to reproduce the issue
@aliciatay-zls
(17 comments)1 (commented on others PR)
Maybe these constants can be combined and their name can be more descriptive? e.g. MESSAGE_DELETE_PROMPT
2 (commented on others PR)
I think the method names could be modified to be more self-explanatory e.g. starting with verbs
Line 30 too
3 (commented on others PR)
Maybe this could be moved to a method in UI
4 (commented on others PR)
Thank you for removing these duplicated methods!!
5 (commented on others PR)
Can add a newline at the end for this file
6 (commented on others PR)
If this is not used anywhere can just delete
7 (commented on others PR)
I think lines 36 and 44 could be replaced with ui.readCommand()?
Scanner scanner = new Scanner(System.in);
...
String input = scanner.nextLine();
(some parts greyed out so I can only comment nearest to the lines)
8 (commented on others PR)
Actually should this class be called ListModulesCommand? To standardise with ListLessonsCommand and ListTasksCommand and also to be clearer
I think we just missed the s when typing
9 (commented on others PR)
Maybe this line and line 37 could also make use of ui.readCommand()? And generally replace any other places where a new Scanner is created?
10 (commented on others PR)
Maybe can consider:
MESSAGE_TASK_CHECK_GRADED
MESSAGE_TASK_CHECK_GRADED_INFO
MESSAGE_SELECT_TASK_INFO
11 (commented on others PR)
Could you add ability to print messages for NumberFormatException and ArrayIndexOutOfBounds?
12 (commented on others PR)
Right, thanks!
13 (commented on others PR)
Maybe can improve readability by ending each string at NEWLINE? But optional I guess because it's just test code
14 (commented on others PR)
I think you can use FORMAT_INDEX_ITEM for line
15 (commented on others PR)
I think printed messages will look less cluttered now, nice!
16 (commented on others PR)
maybe can use the happy path method instead (return if lessonToEdit == null)
17 (commented on others PR)
Maybe the method name can be redefined to show the negative outcome it is expecting? e.g. checkForInvalidCharacters()
18 (commented on own PR)
Thank you, edited!
19 (commented on own PR)
thank you, done!
20 (commented on own PR)
thanks, done!
21 (commented on own PR)
okay, done
22 (commented on own PR)
Most output looks standardised now to me except for DeleteLessonCommand. I think can standardise it/edit/update UG
23 (other comment)
*Handle invalid non-integer input
24 (other comment)
Add ability to edit fields for task command (description, deadline, remarks)
25 (other comment)
Should not have split lines in markdown, 1 paragraph 1 line better according to se guide
26 (other comment)
Do let me know if you disagree or have other suggestions for the command names. I will update in the UG tomorrow and push to this same PR. Thanks guys!
Looks really good, nice! Only one thing, maybe can use "tsk" for the task commands? Not so much to save letters but more to standardise so that all the commands are easier to remember for the user.
27 (other comment)
Hi, maybe instead of return to the main command, you can redirect them back to the option select instead for user friendliness.
Labels:
severity.VeryLow
type.FeatureFlaw
original: lamzf1998/ped#1
We avoided using a while loop because we anticipated that if the user changed his/her mind halfway and no longer wanted to edit the lesson, they would not be stuck endlessly being prompted for a valid input. However, we have taken note of this and will mention it in the design considerations for the edit commands.
@jadenwjh
(13 comments)1 (commented on others PR)
Consider using a more descriptive variable name other than 'c'
2 (commented on others PR)
Consider refactoring this as a method so that u can run this recursively.
3 (commented on others PR)
Consider adding javadoc to describe the use of this method.
4 (commented on others PR)
Consider assigning a variable to constant values.
ie: private static final String FILTER = "filter";
5 (commented on others PR)
Command command = parser.parse...
Because single character names usually used for counter / index.
6 (commented on others PR)
Yup, perhaps init()?
7 (commented on others PR)
Consider adding super(errorMessage).
8 (commented on others PR)
To follow OOP, you should call on the exception's getMessage to print here.
showInvalidParameter(InvalidParameterException e) {system.out.println(e.getMessage()))}
9 (commented on others PR)
FIND command is missing here.
10 (commented on others PR)
Consider using fixed constraints, since there are only 2 possible valid cases (sort asc , sort desc). This will capture all valid cases.
11 (commented on others PR)
To adhere to other codes, use this.value = null.
12 (commented on others PR)
consider refactoring this to private methods to make code readable
13 (commented on others PR)
Consider parsing the key to EmptyParameterException so that calling "System.out.println(e.getMessage())" is enough. Adheres to OOP
14 (other comment)
Completed. Can be tested with fetchByLocation and fetchByType.
15 (other comment)
Also implement JUnit test for this feature.
16 (other comment)
Also implement JUnit test for this feature.
17 (other comment)
Make use of ApiRepository.fetchUnits(HashMap>QueryKey,String> map) to test.
18 (other comment)
Take note of exceptions, when user input does not make query key.
19 (other comment)
Handle the 'output' part of the app. Work with Angel so she can add to UG.
20 (other comment)
Pang How is doing the 'input' of the app, Jin Wei is doing the 'output' of the app.
21 (other comment)
Work with Angel, since this is the input part of the app. She will add details into UG.
22 (other comment)
This is not a useful feature, since user has to 'guess' the price at which the units are available.
23 (other comment)
Once Pang How is done with parser you may start on this feature
24 (other comment)
May need asynchronous programming
25 (other comment)
26 (other comment)
Need to add to Parser
27 (other comment)
sort, save and delete command need to trim values
28 (other comment)
All integer values as input must be checked.
29 (other comment)
TYPE should have harder restrictions.
30 (other comment)
Error message for TYPE, should include the info reported above.
31 (other comment)
Already transferred your changes to UG and TextUi. Thanks.
32 (other comment)
Duplicate.
@Vinci-Hu
(12 comments)1 (commented on others PR)
Function name should be a verb, like printByeMessage
2 (commented on others PR)
Same as above
3 (commented on others PR)
If you show this message before remove action take place, this output would be weird. (There might be excpetions when you actually run remove method)
4 (commented on others PR)
Good to have.
5 (commented on others PR)
This comment is vague
6 (commented on others PR)
Why is this class level?
7 (commented on others PR)
Should explain what Logger class does here?
8 (commented on others PR)
You changed this to /cat right?
9 (commented on others PR)
I have wrote it in my pr for this.
10 (commented on others PR)
Do you plan to add a pattern for every child class of QUANTITY? But current implementation can work.
11 (commented on others PR)
I suggest You are running low on CATEGORY
12 (commented on others PR)
Me and JJ are using a more pink color for the Food box.
13 (commented on own PR)
Fixed
14 (commented on own PR)
Yes thank you.
15 (commented on own PR)
Will solve this in next pr!
16 (other comment)
LGTM
17 (other comment)
This is for the running low warning.
18 (other comment)
modify remove commands: change syntax into remove foodname quantity
update junit test and text-ui-test for remove commands
19 (other comment)
We are not supposed to list OTHER locations in the first place??
@Leeyp @kwokyto @joohwan58 @SimJJ96
20 (other comment)
We are not supposed to list OTHER locations in the first place??
@Leeyp @kwokyto @joohwan58 @SimJJ96
Because this is only a list by category. We might need to emphasize this CATEGORY in the display message
@brandonfoong
(12 comments)1 (commented on others PR)
I don't think we should use str since it is an abbreviation, the argument could just be called string
.
Alternatively, you could also rename the method to printMessage
and the argument to message
.
2 (commented on others PR)
Should also add a check to ensure that a patient has been loaded, otherwise print an error message to inform the user that the user has not been found.
3 (commented on others PR)
The null value there was a placeholder since the Ui class wasn't done yet, sorry if my tests were misleading!
Future JUnit tests shouldn't use null (I guess you could create a new Ui object and pass that as a parameter?)
4 (commented on others PR)
You could change "not be empty" to "not be null" to reduce confusion between list being null
or an empty string "".
5 (commented on others PR)
Would it be better to extract this as a global constant to avoid using magic values?
6 (commented on others PR)
The order of the arguments for assertEquals
is (expected, actual)
, so it would be good to swap them around for consistency.
7 (commented on others PR)
Would it be better to extract this out into the Constants
class?
8 (commented on others PR)
You could make this into a conditional, in case the file already exists.
9 (commented on others PR)
I think everything from this part until fileWriter.close()
doesn't need to be in the try catch block, could you double-check that?
10 (commented on others PR)
No worries, I just checked and I think that writing to file could also throw an IOException
, so it's fine to leave it in the try-catch.
11 (commented on others PR)
Could expand enum out into enumerate
12 (commented on others PR)
unexpecred -> unexpected
13 (commented on own PR)
Should I number the records, e.g.
coughing
fever
etc?
14 (commented on own PR)
Sounds good, will use this format.
15 (commented on own PR)
I was considering that, but it seems that github flavoured markdown doesn't support resizing images from within the tag (see https://gist.github.com/uupaa/f77d2bcf4dc7a294d109). It seems like I have to use <img>
tags to control the image size.
16 (commented on own PR)
Done!
17 (other comment)
LGTM!
18 (other comment)
LGTM!
19 (other comment)
DG draft done
20 (other comment)
LGTM!
I think it should be fine to allow future dates, in case the user's computer time isn't set properly.
In general, for feature flaws, as long as we can justify our decisions, we can always reject the bug report in the actual PE.
21 (other comment)
Tag #87
22 (other comment)
Thanks for the report, bug has been fixed!
23 (other comment)
Thanks for the report, bug has been fixed!
24 (other comment)
Thanks for the report, bug has been fixed!
25 (other comment)
Closed for now, will come back to it after the bugfixes.
26 (other comment)
Fixed in #83
27 (other comment)
Change all tests to use assertDoesNotThrow
instead of a try catch block.
Additional minor changes:
Remove hardcoded whitespace from error messages
Change BaseException.toString()
to be compatible with the new error format
Add MethodDoesNotExist
exception to be caught in the Parser.parse()
method, for *Command
classes that do not have the correct constructor
Small changes to error messages
@isaharon
(11 comments)1 (commented on others PR)
Consider creating a default constructor
2 (commented on others PR)
Remove final
3 (commented on others PR)
To remove from object class
4 (commented on others PR)
addModule creates new file after loading?
5 (commented on others PR)
Consider creating a default constructor
6 (commented on others PR)
Can probably use the UI class to read input.
7 (commented on others PR)
Might need to standardize naming of constants.
8 (commented on others PR)
Duplicate statements with the one after?
9 (commented on others PR)
Would probably be good to generalize both the exceptions to something like a ParserException instead of re-using a CommandException since it is thrown by Parser class.
10 (commented on others PR)
See above comment.
11 (commented on others PR)
In my view, the isValidModuleCode method should be in the Module class as a class-level method since it could be a general method that other components might need to use. i.e. loading of module lists.
12 (other comment)
Gained approval from @8kdesign to re-assign.
13 (other comment)
Failing tests, will look into it.
14 (other comment)
Require further look into codebase.
@SimJJ96
(10 comments)1 (commented on others PR)
Would it be better to consider the input command as a lower case to handle the upper case command of bye?
2 (commented on others PR)
I think you have missed out on replacing the word todo with list
3 (commented on others PR)
yes actually any name will do as long as it is not empty
4 (commented on others PR)
Is extra space allow here?
5 (commented on others PR)
Should the message here be quantity 5?
6 (commented on others PR)
I think you can just return without a text since the listing is actually a void method where all their getters are actually passed to the UI.
7 (commented on others PR)
Would it be possible to change the limit to 0?
8 (commented on others PR)
Should we inform the user that if all of the minimum quantity if set to 0 would disable the running low command ?
9 (commented on others PR)
Would you help me change to the newer version of setlimit vegetable /qty 0 ?
10 (commented on others PR)
Similarly here would be "Okie dokie! The new minimum quantity for category 'VEGETABLE' is 0"
11 (commented on own PR)
No. I was thinking that these two would be sufficient as we would have the user enter the amount either by /qty or /wgt only
12 (commented on own PR)
From the website is actually just a term for us to have a common understanding of certain key words ?
Glossary: A glossary serves to ensure that all stakeholders have a common understanding of the noteworthy terms, abbreviations, acronyms etc.
13 (commented on own PR)
What do you mean by singular verbs? Do you mean to add the user to everything?
i.e The user has a tendency to forget expiry date and location of the food stored?
14 (other comment)
We will consider as a feature improvement.
15 (other comment)
We will consider this as a future implementation.
16 (other comment)
Repeated #187
17 (other comment)
We will consider this for future implementation.
@ivanchongzhien
(10 comments)1 (commented on others PR)
Do you think it's better to put these constants in a more specific class, eg: StorageConstants, since there will be many different constants for different parts of the program
2 (commented on others PR)
Consider renaming FILE_FORMAT to something more descriptive of what format you're looking for?
Suggestion: TXT_FILE_EXTENSION, TXT_FILE_FORMAT, TXT_FILE?
3 (commented on others PR)
Consider replacing this line with:
import static seedu.duke.common.Constants.(constant name)
so you don't have to repeatedly use Constants.(constant name)? I think if you are using most of the constants in that class, it is acceptable to use *.
4 (commented on others PR)
Same as Loader class, consider import static?
5 (commented on others PR)
Good job moving validation to the respective class. Makes it more organized and logical. Same for email validation (isValidEmail).
6 (commented on others PR)
Nice, refactored this to a new class makes Parser cleaner.
7 (commented on others PR)
Nice refactoring of the getDashboardCommandFromString method.
8 (commented on others PR)
Nice, will keep in mind
9 (commented on others PR)
I see, moved this to new class. Got it!
10 (commented on others PR)
Possible typing error here!
11 (commented on own PR)
I did think of putting it into a separate Constant class, but I was not sure where else they would be used other than the parser. Perhaps I can separate them into a class called ParserConstants?
12 (commented on own PR)
Okay! I will make the change
13 (commented on own PR)
For now we are coding for the happy case so it's irrelevant. I wrote that comment to remind us later on to catch that exception when user enters an invalid lesson type
14 (commented on own PR)
Oops, missed that one. Thanks!
15 (commented on own PR)
I was thinking to let the respective command objects catch the exception? What do you all think?
For now, I will add a comment to remind myself to throw those exceptions later on in our 2nd week
16 (commented on own PR)
Just checked with Isa, no parameter needed as he will be getting user input for the index.
17 (commented on own PR)
WIll do
18 (commented on own PR)
We could move it there, but it has to be public maybe so everyone can use it?
19 (commented on own PR)
Will remember to update in next PR, thanks!
20 (commented on own PR)
Magic strings are as placeholders for now.
21 (commented on own PR)
Okay, will keep in mind!
22 (other comment)
Sorry for the overlook! I was following the module website instructions which told us to run the jar using "java -jar". Managed to run app after running the command as mentioned in UG:
@okkhoy
@xhxh96
23 (other comment)
Shall I reopen the issue prof @okkhoy ?
24 (other comment)
After merging, can @H-horizon and @aliciatay-zls check your respective parts (Hemrish -> add lesson, Alicia -> add task) in the parser.
There are magic string warnings which I have put there for now as placeholders. (look for the comment "//PLACEHOLDER")
Can you replace them with your own proper warnings by declaring them as constants?
25 (other comment)
Resolved by handling non-integer input in checkIndices method.
26 (other comment)
Resolved by handling non-integer input in checkIndices method.
27 (other comment)
Resolved by handling non-integer inputs in checkIndices method.
28 (other comment)
Change of mind, link validation will be done in parser. Validity of provided link will be handled by OpenLink command.
29 (other comment)
Resolved in PR #131
30 (other comment)
Do let me know if you disagree or have other suggestions for the command names. I will update in the UG tomorrow and push to this same PR. Thanks guys!
31 (other comment)
Looks really good, nice! Only one thing, maybe can use "tsk" for the task commands? Not so much to save letters but more to standardise so that all the commands are easier to remember for the user.
Hm you have a point there about consistency, we did consider it at first but then we realized that we have quite a few other 4 letter commands (exit, list, close - 5 letter) which did not need to be shortened as they were already short enough, plus keeping the full word where possible might improve the understandability?
32 (other comment)
Check is already being done, just that it is not indicated on the UI.
33 (other comment)
Can print a date and time to differentiate.
Capitalize the lesson type, eg. tutorial -> Tutorial
34 (other comment)
Resolved in v2.1
35 (other comment)
Handled in another issue.
36 (other comment)
Use proper regex string
37 (other comment)
No.
38 (other comment)
Hi, ok.
39 (other comment)
That's new to us, will change.
40 (other comment)
Be thankful we are user friendly
41 (other comment)
[After discussion with the team] No.
42 (other comment)
[Related to previous issue] Thanks
43 (other comment)
Awaiting response from Zikun
44 (other comment)
Good suggestion but nah
45 (other comment)
Tthank you. Wwil fix.
46 (other comment)
Considering. Might implement for v3.0
47 (other comment)
Screenshots would have been nice.
48 (other comment)
No.
49 (other comment)
It's a feature, not a bug
50 (other comment)
Link can be added, but cannot be opened. It's the responsibility of the user to enter correct links.
51 (other comment)
For add lesson, there is no integer involved in the command. We are handling inputs as strings.
For other parts of our program:
"The int type in Java can be used to represent any whole number from -2147483648 to 2147483647"
Hence, any values beyond this range can be considered an invalid integer.
52 (other comment)
This is getting out of hand.
53 (other comment)
This is a CS1231 argument. Vacuous truth.
54 (other comment)
Remove font functionality for v2.1
@fsgmhoward
(10 comments)1 (commented on others PR)
This one probably using assertDoesNotThrow
will be better, or just put without the try/catch?
2 (commented on others PR)
Probably a renumbering is required (1. 2. 3. 4. ...)?
3 (commented on others PR)
Oh. I notice that. I will merge it then. Thanks!
4 (commented on others PR)
I thought the records are only stored as a single string? If that's the case, I think simply printing out should be sufficient.
5 (commented on others PR)
Probably you would like to use Singapore time format instead of the default ISO one for both printing and parsing.
protected static String datePattern = "dd/MM/yyyy";
...
LocalDate date = LocalDate.parse(dateString, DateTimeFormatter.ofPattern(datePattern));
System.out.println(date.format(DateTimeFormatter.ofPattern(datePattern));
6 (commented on others PR)
As per SE-EDU's markdown guide, using all 1.
might be better.
7 (commented on others PR)
Would it be better if to use markdown's inbuilt tag instead?
Like this one for our user guide!
8 (commented on others PR)
I would suggest use another delimiter as "\t" is a white space character. I am not sure whether it will cause unexpected behavior since I need to filter all these delimiter in Parser as well.
9 (commented on others PR)
Delete
10 (commented on others PR)
Add if message is invalid command, print out one more line notice.
11 (commented on own PR)
Thank you! Corrections has been pushed.
12 (commented on own PR)
Thank you! Corrections has been pushed.
13 (commented on own PR)
Thanks! I have added a few more lines to this.
14 (commented on own PR)
Thank you. It was fixed along with other occurrences of typos.
15 (commented on own PR)
Thanks! It has been updated.
16 (commented on own PR)
Thanks! It has been updated.
17 (other comment)
Issue reference: #22 #24 #25
18 (other comment)
The documentation bug is confirmed. It should be S7654321F
. Others give an invalid message as they are in deed invalid - we use NRIC checksum to verify the validity.
19 (other comment)
Problem confirmed. /dd
is ignored but we allowed an empty record
command. This will be fixed in v2.1
20 (other comment)
Usage is record [DATE] [/s SYMPTOM] [/d DIAGNOSIS] [/p PRESCRIPTION]
(specified in UG)
If date is omitted, it will be today's date by default. If you want records to be updated to the 3/3/2021 one, the date must be specified everytime record
is executed.
21 (other comment)
For T0012345, the checksum is A. So T0012345A
is valid, but T0012345C
is not. It says invalid because IT IS INVALID. That is basically a non-existing ID number.
22 (other comment)
For our current design, only the "meaningful" part of the command is used. For current
command, since it does not require a payload/any arguments, everything behind the command itself will be ignored.
We still value this suggestion but it should be a won't fix (at least in v2.1) and it is not a bug.
23 (other comment)
This is a valid suggestion on documentation but it is a duplicate of #108. Please refer to it.
24 (other comment)
Probably we would need to implement a check here to ensure dates are today and/or the past.
25 (other comment)
Probably we can add a check to ensure an input entry is not exactly the same as an existing one.
26 (other comment)
This has been mentioned in the UG that you have to load a patient before you can record
things to it. It is also shown in your screenshot.
This command requires that a patient has been loaded with the
load
command.
If no patient has been loaded, Patient Manager will print an error message.
27 (other comment)
Duplicate of #115. This is a valid suggestion it will be fixed for v2.1.
28 (other comment)
This is a valid concern and should be fixed in v2.1.
29 (other comment)
We use the last digit ("checksum digit") to verify the validity of the IC numbers. For T1234567, it should be T1234567J
. Similarly, there is no IC numbers starting with e
, so it is an invalid number.
30 (other comment)
This was fixed in #83.
31 (other comment)
Fixed.
32 (other comment)
We no longer allow a record without any content to be added.
33 (other comment)
This has been fixed.
34 (other comment)
@brandonfoong Yes. I understand that. However, I think the suggestion not allowing future dates sounds reasonable that's why I added it. That should largely be a typo if it occurs. For the computer clock problem, I think it is minor and users probably will want to ensure their computer clock being accurate before use our program.
35 (other comment)
It will be problem if there is a long list of patients with similar ID (e.g. they were born in the same year). It will also not be computationally efficient to do a O(n) search for all items for each and every load
executed. We understand this is a good suggestion but it would be implemented.
@sarzorwyn
(9 comments)1 (commented on others PR)
Good use of simpleton pattern!
2 (commented on others PR)
Great job adhering to OOP by using less static!
3 (commented on others PR)
it's better to not leave commented code if you are unlikely to use it again
4 (commented on others PR)
Is it possible to separate the save all persons and load all persons test to 2 separate tests?
5 (commented on others PR)
since you use this a lot, perhaps you can abstract out to a method and use if condition in that method for readability.
6 (commented on others PR)
v2 👏👏👏
7 (commented on others PR)
maybe a short comment to let the reader know 76 is the length of the divider or using a static final int
8 (commented on others PR)
Good use of oop for command
9 (commented on others PR)
maybe can say:
with the use of commands using just the keyboard.
10 (other comment)
hi
11 (other comment)
I think you can add that you implemented the clear command too
12 (other comment)
This is harder than expected
13 (other comment)
test comment please ignore
14 (other comment)
If i say so myself 👌
15 (other comment)
Will add UG entry to clarify that it only moves the storage, not loads it.
@huachen24
(9 comments)1 (commented on others PR)
the code fails stylechecks on line 69-83, could you check and edit? thanks!
2 (commented on others PR)
I think there may not be a need to add the before tag if you are calling the methods in each test method since it might be executed twice?
3 (commented on others PR)
This seems to be a little too nested
4 (commented on others PR)
what does edit do if program is not in review mode? Should we add a warning since this command does not work in reco mode?
5 (commented on others PR)
you might wanna remove the extra lines haha
6 (commented on others PR)
try to use the existing ui instance
7 (commented on others PR)
In this case anything other than 'n' will abandon the recommendation. Shall we have a loop to allow multiple tries for inputting y/n?
8 (commented on others PR)
duplicate review says review list but duplicate recommendation only says list. Shall we standardize it?
9 (commented on others PR)
Instead of this is it possible to define a new method in UI printWhiteSpacePrice
that uses MAX_WHITE_SPACE_PRICE = 17 instead?
@iamakilahamed
(7 comments)1 (commented on others PR)
Need to leave a empty line between each method
2 (commented on others PR)
Need to remove the space after InvalidCommandException e
3 (commented on others PR)
Change to single import
4 (commented on others PR)
Cannot have empty catch statement
5 (commented on others PR)
I don't think you need the else part. You can just setCheckIn(false) outside the if without the else statement to make the happy path prominent.
6 (commented on others PR)
Yes I agree too. Likewise for line 70 and 99 in Duke class
7 (commented on others PR)
Good use of Singleton design pattern
8 (other comment)
If ignore, then we just close this PR?
9 (other comment)
We have generalized it to anywhere instead of just malls.
10 (other comment)
Looks good to merge 😃
11 (other comment)
Looks good to merge 👍🏼
12 (other comment)
Will be continued in PR #73
13 (other comment)
Looks good to merge
14 (other comment)
Looks good to merge!
15 (other comment)
Looks good to merge but @hussain1998 remember to address these problem in the next PR.
16 (other comment)
The tests should fail. Work in progress.
17 (other comment)
Looks good to merge
18 (other comment)
Alright looks good to merge!
19 (other comment)
Looks good to merge!
20 (other comment)
Looks good to merge!
21 (other comment)
Looks good to merge!
22 (other comment)
The check problem will be solved in the next PR.
23 (other comment)
Looks good to merge!
24 (other comment)
looks good to merge
25 (other comment)
Looks good to be merged
26 (other comment)
Looks good to merge
27 (other comment)
ok looks good to me!
28 (other comment)
LGTM!
29 (other comment)
LGTM
30 (other comment)
Looks good to merge!
31 (other comment)
Test PR
32 (other comment)
Looks good to merge! Well done!
33 (other comment)
Looks good to merge 😂
34 (other comment)
CYC understood n/Ian /p13572468
as a person name since the user did not start the phone number with /p
.
35 (other comment)
This is intended to check for whoever has checked out.
36 (other comment)
PersonLog.txt
cannot be touched. Mentioned in UG.
37 (other comment)
list becomes listcheckedin
38 (other comment)
Change error message
39 (other comment)
Ask the person editmax
40 (other comment)
We did not do that as we wanted to order the details according to priority level.
41 (other comment)
#195
42 (other comment)
Remove location name from args
43 (other comment)
Editing particulars will be implemented in v2.2 and above.
44 (other comment)
Add extra line
45 (other comment)
Venue name will be removed
46 (other comment)
Thank u
47 (other comment)
Add into QnA
48 (other comment)
Location name will be removed
49 (other comment)
Looks good to merge
50 (other comment)
The clear command only clears the entries in the tracking list. It does not clear the person log file. That is why it is not possible to check in another person with the same ID.
51 (other comment)
Do not approve.
52 (other comment)
This issue can be closed since it has been done in #250
53 (other comment)
This PR can be approved if its okay 😃
54 (other comment)
The changes in the DG after table of contents to around line 400 was due to handling of merge conflict when attempting to pull #260 . I should have accidently missed some lines there.
@joohwan58
(6 comments)1 (commented on others PR)
missing break;
2 (commented on others PR)
missing break;
3 (commented on others PR)
Duke? not FridgeFriend?
4 (commented on others PR)
outdated? we dont have todos
5 (commented on others PR)
the 'save' folder
6 (commented on others PR)
pull request #67 has the instructions to save
7 (commented on own PR)
That conflicts with Food Storage Location, and save can be a noun anyway
8 (other comment)
The switch statement is missing the break;
for the cases
9 (other comment)
LGTM. Though can we change all instances of Duke
to FridgeFriend
?
10 (other comment)
LGTM. Are we good to press Merge button?
11 (other comment)
LGTM
12 (other comment)
Ah the checks are failing because the IO tests have not been updated
13 (other comment)
Right how can you account for the saving function in the ui test
14 (other comment)
LGTM
15 (other comment)
LGTM, thanks for the help!
@wjchoi0712
(4 comments)1 (commented on others PR)
Maybe you can consider repositioning the class diagram as current it is quite hard to read
2 (commented on others PR)
Perhaps some attributes or methods can be omitted as it may not do much in explaining the UI Component
3 (commented on others PR)
Why don't you consider maintaining a unified style for class diagram? Perhaps different color for each component will allow the reader to better understand the class diagrams
4 (commented on others PR)
Consider hiding the boxes at the bottom using "hide footer"
5 (other comment)
We will mention this in the UG
@Emkay16
(3 comments)1 (commented on others PR)
Since the saving has to be done regardless of whether the file exists (if it does, overwrite the existing file, if it doesn't create the file) would it be fine without the conditional?
2 (commented on others PR)
Not much of an issue, but the markdown coding standard seems to prefer *
over -
for bullet points
3 (commented on others PR)
The phrasing here can be a little confusing for readers. Perhaps "Words or characters starting with /
marks the beginning of an argument" would sound a little clearer.
4 (commented on own PR)
Initially I had them labelled 1. 2. 3. but according to the markdown coding standard, using generic numbers (1.) makes it easier to insert more items in the future.
5 (other comment)
... so that the records can be stored for safe-keeping
6 (other comment)
WAIT WHY ARE MY COMMITS ALL MADE UNDER A DIFFERENT ACCOUNT
7 (other comment)
History has been rewritten, shall redo the whole PR.
8 (other comment)
Marked invalid as it is stated in the user guide that the record command requires a patient to be loaded.
@tehtea
(2 comments)1 (commented on others PR)
don't have to do it now, but by right unit tests should test for negative examples too
2 (commented on others PR)
should the >
and >
brackets be together with the input?
3 (other comment)
Most likely will be delayed
4 (other comment)
How is this severity.High? Will fix in the later release.
5 (other comment)
This is documentation bug. Will fix accordingly along with other documentation issues.
6 (other comment)
How is this severity.Medium
? Aren't all testers supposed to run the JAR
files using java -jar
?
7 (other comment)
How is this severity.Medium
as well?
@NgManSing
(2 comments)1 (commented on others PR)
I think we should change them to:
System.out.print("Thank you for using TraceYourProj!" + "\n");
System.out.print("Hope you have a wonderful day." + "\n");
It is because the text-ui-test may fail due to the line separator not matching.
2 (commented on others PR)
I suggest adding list-all again to see if the resource is really deleted.
3 (other comment)
We think that this functionality is no longer useful. Therefore, the development of it stopped. (Close issue)
4 (other comment)
The behaviour of add functionality has been modified. No overwrite will be performed now.
5 (other comment)
I think the circles should be removed according to prof's post: https://github.com/nus-cs2113-AY2021S2/forum/issues/54
@LeeHanYongAndy
(2 comments)1 (commented on others PR)
Good spot! Don't know where this was used in.
2 (commented on others PR)
thanks for editing this to make it look nicer.
3 (other comment)
Failed.
4 (other comment)
Fixes #18
5 (other comment)
Hi Jason, your user story is nicely crafted with the user, needs, and reason of needs.
Fixes #33
6 (other comment)
Reopen - close only after V1.0 is working.
7 (other comment)
Hi Gerard, thank you for the work, the code looks good and organized.
8 (other comment)
Closed due to failing tests. @gerardtwk can you kindly recheck on the runtest.bat. Thank you
9 (other comment)
Update title typo from validateDate to validateAmount.
10 (other comment)
Good job Gerard. Thank you for your hard work. The code looks good.
11 (other comment)
Thank you for your hard work @marklowsk. I'll test out the program with mine.
12 (other comment)
Thank you for working till so late. Appreciate it.
13 (other comment)
Hi @tzexern, thank you for finishing up the remaining methods.
14 (other comment)
Hi @tzexern, this issue has been completed. Can you kindly close this issue for both of us?
15 (other comment)
Thank Jason!
16 (other comment)
Thank you for the hard work @tzexern.
17 (other comment)
Thanks, @jonahtwl. This portion was difficult to handle, thank you for your effort and hard work!
18 (other comment)
Thank you for the update and constant improvement! @marklowsk
19 (other comment)
The program now shows up to 2 decimal places with proper amount validation and error messages.
20 (other comment)
Looks good.
21 (other comment)
Thank you for testing!
22 (other comment)
Thanks @tzexern
23 (other comment)
Thanks for fixing the bug!
24 (other comment)
Thanks for the fix and sorry due to the bug in github.
Github bug: #85 passed but afterward show failure.
25 (other comment)
Hi, @tzexern can you kindly please close this issue for us? Our team have completed v1.0.
26 (other comment)
Thanks @marklowsk.
27 (other comment)
Update: closed due to keeping -i feature.
28 (other comment)
Fixes #102
29 (other comment)
@marklowsk Thank you for your hardwork!
30 (other comment)
Thanks @marklowsk for setting up the skeleton.
31 (other comment)
@tzexern parser side for credit score done (see PR #103).
32 (other comment)
Good work @jonahtwl 😃
33 (other comment)
Looks good!!
34 (other comment)
Nice Architecture.
35 (other comment)
Nice update on DG
36 (other comment)
Nicely done
37 (other comment)
Complete in PR #108
38 (other comment)
thank for working on the update!
39 (other comment)
Good job @jonahtwl
40 (other comment)
Agree with mark. Thanks @gerardtwk
41 (other comment)
@tzexern thanks for the improvement!
42 (other comment)
Thanks for the update @marklowsk.
43 (other comment)
Thanks for updating the UG screenshot and DG updates.
44 (other comment)
Fixed in PR #196
45 (other comment)
Fix in PR #197
46 (other comment)
Fix in PR #196
47 (other comment)
Hi, thank you for your feedback. I think you might have missed out on some portions of the UG due to time constraints but we have stated that >> represent an area where data is required. And under the 3.8 of the UG, we also stated that the features are named and highlighted in mark up. Below are some screenshots for your reference.
48 (other comment)
Thanks for the suggestion, we will update the user guide on this.
49 (other comment)
Hi thank you for suggesting but the argument that was read in was recognized as "2.9 -d20032021". There are no other valid syntax options after it.
50 (other comment)
Updated in PR #191.
51 (other comment)
Fixes #197 to address amount validation.
Fixes #198 to address help output
52 (other comment)
Thanks for the fixes.
53 (other comment)
Thanks for spotting this.
@EmilyTJX
(2 comments)1 (commented on others PR)
sounds good
2 (commented on others PR)
do we use reviewS list?
@jalvinchan
(1 comments)1 (commented on others PR)
Try changing \n to System.lineSeparator()
2 (other comment)
Repeated issue #85
3 (other comment)
Implement as 1 step
4 (other comment)
Repeated #94
5 (other comment)
Maybe either just take from the list of all emails or explain in the user guide
6 (other comment)
add read to storage
7 (other comment)
repeated #102
8 (other comment)
repeated #95
9 (other comment)
Fix #102, #109, #110
10 (other comment)
I have two emailManager objects, one for sender, one for recipient. Using static means that the emailList is shared between all the objects. So when I update the recipient's emailList, the sender's list gets updated too
11 (other comment)
I am thinking that the tags is up to the recipient to set themselves and the tag is not linked to the emails. An example is like teachers may tag an email as work and send it to students but for the students they will tag it as school.
@jovanhuang
(1 comments)1 (commented on others PR)
I think should be "list-all" here instead of "list all".
2 (other comment)
Thanks Sam for checking. My bad, I will make the changes asap.
3 (other comment)
Yes sure, I have updated on your behalf.
@seangoats
(1 comments)1 (commented on others PR)
Can consider overriding equals() method for Project instead
2 (other comment)
Duplicate of #135
3 (other comment)
Duplicate of #133
4 (other comment)
Duplicate of #133
5 (other comment)
Duplicate of #133
6 (other comment)
Duplicate of #133
@limwenfeng
(1 comments)1 (commented on others PR)
It includes information about the person details, time and movement whether its in or out
2 (other comment)
LGTM
3 (other comment)
LGTM
4 (other comment)
Current UI
5 (other comment)
LGTM
6 (other comment)
Ui need some touch up
7 (other comment)
LGTM
8 (other comment)
LGTM
9 (other comment)
LGTM
10 (other comment)
Fixes #155
Fixes #154
11 (other comment)
LGTM
12 (other comment)
LGTM
13 (other comment)
LGTM
14 (other comment)
LGTM
15 (other comment)
LGTM
16 (other comment)
17 (other comment)
LGTM
18 (other comment)
LGTM
19 (other comment)
LGTM
@blank-bank
(1 comments)1 (commented on others PR)
shouldnt have indentation here
2 (other comment)
yes
3 (other comment)
Invalid usage of the command.
4 (other comment)
It is a feature of our application to ensure good data validation.
@Krithigha24
(1 comments)1 (commented on others PR)
I think @EmilyTJX did changes for this alr, will there be merge conflicts?
2 (commented on own PR)
should we decide what features we want to implement for the reco mode? like for example can the user edit in reco mode?
3 (commented on own PR)
edited accordingly!
4 (commented on own PR)
ok i have resolved this alr!
5 (commented on own PR)
standardised!
@vvvvh123
(1 comments)1 (commented on others PR)
I see that this implementation only sets the answers, if assignment.getAnswers() == null. Maybe you could consider changing it so that we set the answers every time the answers are loaded from text file? This way the answers will update in case the text file was changed.
2 (other comment)
LGTM
3 (other comment)
LGTM
4 (other comment)
LGTM
5 (other comment)
LGTM
6 (other comment)
LGTM
7 (other comment)
LGTM
8 (other comment)
LGTM
9 (other comment)
LGTM
10 (other comment)
LGTM
11 (other comment)
LGTM
12 (other comment)
LGTM
13 (other comment)
LGTM
14 (other comment)
LGTM
15 (other comment)
LGTM
16 (other comment)
LGTM
17 (other comment)
LGTM
18 (other comment)
LGTM
19 (other comment)
LGTM
20 (other comment)
Thank you for the feedback. This is a user guide problem that we will fix
21 (other comment)
Thank you for your feedback, we have added the command to our user guide!
22 (other comment)
Thank you for the feedback, we have updated the user guide.
23 (other comment)
Thank you for the feedback, I have updated our user guide
24 (other comment)
LGTM
25 (other comment)
LGTM
26 (other comment)
LGTM
27 (other comment)
LGTM
28 (other comment)
LGTM
29 (other comment)
LGTM
30 (other comment)
LGTM
31 (other comment)
LGTM
@FarmZH98
(0 comments)1 (other comment)
Please update test-ui-test 😃
2 (other comment)
I need to modify this when composing email too. I thought about this when i saw the error and I was thinking that we might need to check '.' too
3 (other comment)
I will add a parser method to check if email is valid
4 (other comment)
@jalvinchan you changed this right? Do you want to change to "list all" instead? Sounds better. Otherwise can just close this issue!
5 (other comment)
@jalvinchan, send email by checking if email is in the system. If yes, send, if not, print error message. Thank you!!
6 (other comment)
Noted with 1, but actually why so?
7 (other comment)
ya my rationale behind it is to simulate real email system where you can edit to anything you like, but just cant send unless you change to a correct email address
8 (other comment)
yeah good point!
9 (other comment)
actually, i believe user doesnt necessary have to list allemails, they can list draft, archive etc.
@jalvinchan
@heyjinwei
(0 comments)1 (commented on own PR)
Sorry, do you have any suggestions? haha because i just followed the example they gave on the week 7 project
2 (commented on own PR)
okay will change accordingly. thank you
3 (commented on own PR)
are u referring to the whole chunk of code inside the while loop? what would you recommend I call it?
4 (commented on own PR)
okay thank you! done!
5 (commented on own PR)
okay done!
6 (commented on own PR)
good point! done!
@JoviYeung92
(0 comments)1 (other comment)
CS-add name
2 (other comment)
admin can now verify themselves
3 (other comment)
admin can now add stores to canteen
4 (other comment)
done!
5 (other comment)
KIV
6 (other comment)
KIV
7 (other comment)
done
8 (other comment)
Fix !
9 (other comment)
fixed !
10 (other comment)
Can you provide SS. Thanks.
11 (other comment)
fixed
12 (other comment)
I think you might have misunderstood the UG.
13 (other comment)
You should select canteen and store first.
14 (other comment)
exit is suppose to end the application and take you out of the file. Explained in UG.
15 (other comment)
You type only when it shows that you can type.
16 (other comment)
We will leave it for future development
@lihaoyangML
(0 comments)1 (other comment)
merge approved
2 (other comment)
Decide not to do due to potential bugs
3 (other comment)
Hi, in the DG, it is stated that :
dd must be an integer between 1-31
mm must be an integer between 1-12
yyyy must be an integer between 2021-2099
4 (other comment)
Hi, it was mentioned in the DG that:
dd must be an integer between 1-31
mm must be an integer between 1-12
yyyy must be an integer between 2021-2099
Thank you.
@violinyap
(0 comments)1 (other comment)
This is already fixed for the new tp.jar
@zhangyongzhe20
(0 comments)1 (other comment)
move to local fork
2 (other comment)
duplicate
3 (other comment)
tutorial task
4 (other comment)
these text files are put inside jar.
@KevinNgWK
(0 comments)1 (other comment)
Did this occur when you logged in as admin, or did this occur in public user? Did this occur when selecting stores?
2 (other comment)
Unable to reproduce issue
3 (other comment)
Unable to reproduce error
4 (other comment)
What is the issue?
5 (other comment)
Is there any screenshots so we can reproduce this issue? Did you also download our pre-made text file before testing (as per user guide)?
6 (other comment)
Thanks for the constructive feedback.
7 (other comment)
You must have selected a canteen before you can add a store. May I know the steps to reproduce this issue?
8 (other comment)
Did you download our data folder as stated in the user guide?
9 (other comment)
I understand your concerns. In production purposes, we will remove the admin password from the user guide. However, as we are only developing this app currently, we have to provide the password for you to test. Without it, you will only have access to half of our app.
10 (other comment)
Refer to issue #124
11 (other comment)
Refer to issue #124
12 (other comment)
I appreciate your concerns for the inappropriateness of deleting reviews. However, it is necessary to control the input of reviews, so that we can prevent potential issues such as unrealistic and inappropriate reviews.
Noted on improving our user guide. We will try to continuously improve on it!
13 (other comment)
Thanks for the comment! However, we might leave this to a future iteration.
14 (other comment)
These are for our logging purposes, and will not be shown to the user. Thanks for correcting our English though. We will look into ways to prevent logging from being shown to the user.
15 (other comment)
Refer to issue #110
16 (other comment)
Refer to issue #110
17 (other comment)
Refer to issue #110
@ManikaHennedige
(0 comments)1 (other comment)
Proper application structure has been established
2 (other comment)
LGTM
3 (other comment)
LGTM
4 (other comment)
Add 'do not edit .txt files' to UG
5 (other comment)
Handle exception
6 (other comment)
Handle exception
7 (other comment)
Handle exception
8 (other comment)
parser handle exception
9 (other comment)
Handle exception
10 (other comment)
Add all relevant rectified issues
11 (other comment)
LGTM
12 (other comment)
LGTM
13 (other comment)
Previously rectified
@yanli1215
(0 comments)1 (other comment)
There is a mistake in addToSent method
2 (other comment)
this feature is not that important to have
3 (other comment)
Everyone can supplement their own parts
4 (other comment)
examples in the feature part almost all need to change later
@yyixue
(0 comments)1 (other comment)
Looks good.
2 (other comment)
thank you!!!
@cswbibibi
(0 comments)1 (other comment)
done
2 (other comment)
bcz of typo. Done
3 (other comment)
solved.
@kangxinwang
(0 comments)1 (other comment)
Solved! Thanks a lot 😃
2 (other comment)
Hi, thanks for the feedback. We were considering it in intellij environment. The change in tone was not intended actually, I wanted it to be friendly throughout, but will review it as per your comments.
3 (other comment)
Thanks for the feedback. I think you did not download the latest jar file and data folder.
4 (other comment)
Hi, thanks for the valuable feedback. Will fix it!
@Chihui8199
(0 comments)1 (other comment)
Duplicated issue
2 (other comment)
Not necessary to have anymore
3 (other comment)
Jar file not updated for testers
current versions has solve this issue
@yanli1215 @jalvinchan @FarmZH98 please help close issue if no problem hehe
4 (other comment)
Team to discuss if users should be informed that the user would have to first create a type before the list shows/displays any information
5 (other comment)
the jar file has not been updated during the testing.
team to help close this issue if appropriate
6 (other comment)
jar file has not been updated during testing
Team to decide if this error message is good enough
7 (other comment)
jar file has not been updated during testing.
error handled in the latest version
Team to close this issue if appropriate
8 (other comment)
jar file not updated for testing
regardless, updated code to make it more bug free
9 (other comment)
jar file not updated for dry run
current version is up to date
10 (other comment)
Issue solved in current version
11 (other comment)
Error message corrected in earlier version and not updated in jar
12 (other comment)
Latest version check that is the same for your machine bah
13 (other comment)
To decide if we want to implement this feature!
14 (other comment)
@FarmZH98 Yeah you r right let me change and update here
15 (other comment)
Team to decide what to do with this
16 (other comment)
Change user guide
17 (other comment)
this is resolved, the jar file is not updated during test
18 (other comment)
@Chihui8199 to check for "." too
19 (other comment)
Junk and deleted emails are different
20 (other comment)
https://ay2021s2-cs2113t-f08-2.github.io/tp/UserGuide.html#7-command-summary
@e0699194
(0 comments)1 (other comment)
Fail. Rename DeliveriTest.java and Deliviri.java to DukeTest.java and Duke.java respectively
2 (other comment)
Fail. Missing package.
3 (other comment)
Add bye command to UG
4 (other comment)
Unable to replicate issue
5 (other comment)
Unable to replicate issue
@gerardtwk
(0 comments)1 (other comment)
Looking great! We can move on to the next phase now.
2 (other comment)
Thanks for the changes! Look good to merge now 😃
3 (other comment)
Thanks for finding it!
4 (other comment)
Note to merge PR #59 before merging this.
5 (other comment)
Looking great, thanks for the good work!
6 (other comment)
Looks good, now I have a clearer idea of what to do for Credit Score, thanks!
7 (other comment)
Fixes #98 and #95
8 (other comment)
The UserGuide looks better now! Thanks for the screenshot!
9 (other comment)
Thanks for being sharp! Didn't notice about this small issue as I refactor the code
10 (other comment)
Looks much more readable now. Thanks!
11 (other comment)
Looks great! Thanks for the work!
12 (other comment)
Looks great, thanks for the hardwork!
13 (other comment)
Hi Jonah,
Please indicate in your section that users are not allowed to modify finux.txt at all.
Thank you
14 (other comment)
Closed due to the branch not being up to date before sending the PR.
15 (other comment)
Closed due to the branch not being up to date before sending the PR.
16 (other comment)
Good work! Thank you
17 (other comment)
Thanks for the edit! It looks much better now
18 (other comment)
Looks good to merge! Great work!
19 (other comment)
Thanks for handling these issues, the UG looks much better now!
20 (other comment)
Looks good, thanks for the hard work!
@kewenlok
(0 comments)1 (other comment)
Fixes #9
2 (other comment)
Duplicate of #10
3 (other comment)
List package is not complete yet.
4 (other comment)
Thank you for your suggestion. We have taken note of this issue and decided to allow showing the progress of MCs more than the course requirements (eg. 160 MCs) as it is stated here that MCs more than 160 will still be computed towards your CAP.
5 (other comment)
Thank you for your comment. The CAP should be calculated even when the total MCs exceeded 160 MCs based on the NUS CAP calculation method here.
6 (other comment)
Thank you for raising this issue. My team and I think that it is better to implement a new "info" feature for viewing the details of a module (including prerequisites) rather than listing all under the "list" feature which could be too cramped.
@fangxinjia0203
(0 comments)1 (other comment)
fixed bugs and add delete for moduleplanner
@AlexanderTanJunAn
(0 comments)1 (other comment)
great job!
2 (other comment)
fixed with post PED commit
3 (other comment)
Great use of logging to keep track of program control flow and exceptions. Also noticed additions to JUnit tests which will be good for code coverage. Overall very well done!
4 (other comment)
Multiple schedules allowed for same patient ID as long as different date
@hussain1998
(0 comments)1 (commented on own PR)
I wanted to ask you guys first before I deleted the line. On whether I should keep the previous one or current one.
If if looks ok I will delete the comments in the a new PR
2 (commented on own PR)
I tried to do it but had synchronisation errors, I will try again later on!
3 (other comment)
I think this one was solved by @JonathanKhooTY
@hiongkaihan
(0 comments)1 (commented on own PR)
I have done the change to ""
2 (commented on own PR)
I have extracted all the magic values and used global constants instead
3 (other comment)
so that the records can be stored for safe-keeping
4 (other comment)
I can record the patient symptoms
5 (other comment)
The records can be stored for safe-keeping
6 (other comment)
There are some checkstyle errors causing the checks to fail.
/home/runner/work/tp/tp/src/main/java/seedu/duke/Storage.java:95: At-clause should have a non-empty description. [NonEmptyAtclauseDescription]
/home/runner/work/tp/tp/src/main/java/seedu/duke/Storage.java:121: First sentence of Javadoc is missing an ending period. [SummaryJavadoc]
/home/runner/work/tp/tp/src/main/java/seedu/duke/Storage.java:154:56: '(' is preceded with whitespace. [MethodParamPad]
7 (other comment)
SORRY! I accidentally opened a pull request in the wrong group
@jonahtwl
(0 comments)1 (other comment)
Doesn't work
2 (other comment)
Checkstyle Errors
3 (other comment)
Failed check for expected output
4 (other comment)
PR #23 completed this.
5 (other comment)
Thanks @marklowsk for the abstract command class, will continue working on the other subclasses.
6 (other comment)
Looks fine, thanks for refactoring.
7 (other comment)
Thanks for refactoring the code! Looks cleaner now
8 (other comment)
Great catch on the bug!
9 (other comment)
Will change the Double variable to BigDecimal and PR again!
10 (other comment)
We are removing the index (-i) option right?
11 (other comment)
Do let me know if anyone has a question with regards to this.
12 (other comment)
Looks fine, thanks for the quick work
13 (other comment)
Looks fine
14 (other comment)
Thanks for getting this up quickly
15 (other comment)
looks fine, thanks for the quick update
16 (other comment)
Looks great! Thanks Mark!
17 (other comment)
Nice enhancement! Thanks for the quick update
18 (other comment)
isReturn NOT removed
returnDate is added
returnDate is saved
returnDate can be loaded
19 (other comment)
Looks good! Thanks for updating.
20 (other comment)
Thanks for refactoring and editing the images!
21 (other comment)
Nice job!
22 (other comment)
Great work.
23 (other comment)
Please do let me know if there are changes to be made. For minor changes (spelling/full stop), I believe we can edit directly on Git
24 (other comment)
Okay nice!
25 (other comment)
Hi! Thank you for raising this up! We will make it more explicit in the UG in the explanation of the credit score feature!
26 (other comment)
May we have some extra information on this bug?
27 (other comment)
Thank you for pointing this out. We will edit our UG to make this clearer!
@Cocokkkk
(0 comments)1 (commented on own PR)
Okay! Thank you for your review!
2 (other comment)
@nus-pe-bot @ongweisheng Yes! We've already fixed it.
Thanks:)
3 (other comment)
@nus-pe-bot @ongweisheng Yes, we've fixed it already!
Thanks! 😃
4 (other comment)
@nus-pe-bot Thank you for your report! We've fixed it already.
5 (other comment)
@nus-pe-bot Thank you for your report! We've fixed it already.
6 (other comment)
@nus-pe-bot Thank you for your report. We've fixed it already.
7 (other comment)
@nus-pe-bot Thanks for your report. We've fixed it already.
8 (other comment)
@nus-pe-bot Thank you for your report. We've fixed it already.
9 (other comment)
@nus-pe-bot Thank you for your report. We've fixed it already.
10 (other comment)
@ongweisheng Yes, we've fixed it already. Thanks:)
@tzexern
(0 comments)1 (other comment)
Looks good
2 (other comment)
Implemented in #25 PR.
3 (other comment)
Looks awesome
4 (other comment)
Looks good to merge
5 (other comment)
Looks good
6 (other comment)
Looks good to merge
7 (other comment)
Cancel PR.
CI Error detected.
8 (other comment)
Thanks for the useful help commands!
9 (other comment)
Sure, no problem buddy! @LeeHanYongAndy
Implemented in #63 and #65
10 (other comment)
CI Error.
11 (other comment)
Thanks for the bug fixes @marklowsk !
12 (other comment)
Looks good, thanks!
13 (other comment)
Yep, no problem buddy.
The test run looked fine.
14 (other comment)
@gerardtwk You may want to change the type of the parameter days
in the getCreditScore
method from int
to long
.
15 (other comment)
Good work on DG!
16 (other comment)
Thanks for the changes!
17 (other comment)
Thanks for the edits!
18 (other comment)
Thanks for the updates!
19 (other comment)
great work!
20 (other comment)
Thanks for the improvement Andy!
21 (other comment)
Thanks for the refinement!
22 (other comment)
Great job on the diagrams!
23 (other comment)
Thanks for the UG updates!
24 (other comment)
Thanks for the changes!
25 (other comment)
Thanks for the updates!
26 (other comment)
Thanks for the updates on view andy!
@SimBowen
(0 comments)1 (other comment)
Non-issue, hovering over the blocks mentioned, E3 and LT5 shows that they are in fact connected
2 (other comment)
@Rye98 kindly take note and close when added
3 (other comment)
Non-issue. Following the map attached the shortest route is correctly determined. Cutting across places with no pathways are not considered.
4 (other comment)
Non-issue. The deck is neither an engineering canteen nor a computing canteen. It is an arts canteen.
5 (other comment)
Non-issue. Central Square is not part of engineering neither is it part of computing. It is located at YIH which is not covered under NUSMaze.
6 (other comment)
Seems to look fine on my end. Will check around.
7 (other comment)
It is the intended functionality. Edit will be considered.
8 (other comment)
Will make documentation clearer.
9 (other comment)
Will change 2 and add in picture for 3. Will try to simplify 1 if possible.
10 (other comment)
Will be considered as improvement
11 (other comment)
Non-issue. This is an intended feature. Users are allowed to call blocks multiple names if they desire.
12 (other comment)
Intended behavior. However warning as an improvement will be considered.
13 (other comment)
Will consider. This was a conscious decision as multiple errors may clog up the CLI with invalid inputs.
14 (other comment)
It is the current intended functionality. Will discuss with @wjchoi0712 and decide if changing it is better.
15 (other comment)
similar to #150
16 (other comment)
similar to #153
17 (other comment)
Non-issue. There is no direct path from E3A to T-lab according to the map below.
18 (other comment)
Non-issue. According to the attached map E3 lies in between the mentioned path.
19 (other comment)
Users are not meant to touch the data files.
20 (other comment)
Non-Issue. Users are not meant to touch the data files.
21 (other comment)
Non-issue. Users are not meant to edit the data files.
22 (other comment)
Non-issue. Users are not supposed to edit the data files.
23 (other comment)
similar to #162
24 (other comment)
linked to #159
25 (other comment)
Fixed by #116
26 (other comment)
fixed by #116
27 (other comment)
fixed by #116
28 (other comment)
fixed by #116
29 (other comment)
fixed by #170
30 (other comment)
fixed by #170
31 (other comment)
fixed by #170
32 (other comment)
fixed by #170
33 (other comment)
Error message will be changed
34 (other comment)
similar to #164
35 (other comment)
similar to #157
36 (other comment)
fixes #145 and #167
37 (other comment)
fixed by #176
38 (other comment)
fixed by #176
39 (other comment)
fixed by #173
40 (other comment)
Will be considered for future implementation
@marklowsk
(0 comments)1 (other comment)
Looks good
2 (other comment)
I will work on the next phase of the commands. Thanks!
3 (other comment)
Thanks for fixing the parser!
4 (other comment)
Looking good, nice use of JavaDocs
Thanks for adding in the common.Validators class for code reuse!
5 (other comment)
Thanks for adding the exception.
6 (other comment)
Very fast bug fix!
7 (other comment)
Implemented in #45,
changes made in #49,
and Record toString() method finalized in #71.
Good work!
8 (other comment)
Validation finalized in #68.
Thanks for reusing the validation method!
9 (other comment)
Discontinued due to prioritization of other features.
10 (other comment)
Can also update it with Intro, Help and View feature if you have time. 👍
11 (other comment)
Yes, e.g. from remove -i 7
to remove 7
.
12 (other comment)
They will try to implement it as planned.
13 (other comment)
Sorry, forgot to mention to add in the person attribute too.
14 (other comment)
Done in #122
15 (other comment)
Thanks for pointing this out. This is due to the default ResolverStyle
of the DateTimeFormatter
.
16 (other comment)
Year era AD only, starting from year 0001.
17 (other comment)
We only do not allow empty strings for description.
18 (other comment)
Hi, it is stated at section 3.1, the top section of add feature.
Thanks!
19 (other comment)
Thanks for pointing this out. This is due to the default ResolverStyle
of the DateTimeFormatter
.
Fixed in #193.
20 (other comment)
Looks good to merge!
21 (other comment)
Fixed in #193.
22 (other comment)
The credit score of 'alex' is the same as the issueDate
of alex and returnDate
is on the same day.
So there is no deduction of credit score.
23 (other comment)
Yes, we do not have unique IDs for each record, relying solely on the list entry index.
We plan to keep it this way as this is still a viable for this iteration.
Deleting an above entry will reduce the index of all entries below naturally, so we will not identify it as a bug.
@leowxx
(0 comments)1 (commented on own PR)
Since the fileWriter uses inFile, there will be an error if I put it outside the try catch block. I'll try to see if there's anything I can do about this. Thanks!
@jhjhajh
(0 comments)1 (commented on own PR)
hmm I think can merge emily's pr first? then i try to pull and fix merge conflicts. or the person merging can fix
@KimIdeas8
(0 comments)1 (other comment)
can avoid merging first - empty class
@zikunz
(0 comments)1 (commented on own PR)
Sorry, I will make all hyperlinks following the convention we did for UG.
2 (commented on own PR)
We could keep for now. If not required, we can delete later 😃
3 (commented on own PR)
Fixed! Sorry for the typo!
4 (commented on own PR)
I will check all exceptions and make sure they are caught at right place and print correct error message when adding an item later today 😃
5 (commented on own PR)
I see, will make changes to it 😃
6 (commented on own PR)
I see, will make changes to it 😃
7 (commented on own PR)
I see, will make changes to it 😃
8 (other comment)
Kexuan has fully implemented the feature relating to the user story (as a user, I can see orders-related commands).
9 (other comment)
Wei Sheng has fully implemented the feature relating to the user story (as a user, I can add new orders).
10 (other comment)
Zikun has fully implemented the feature relating to the user story (as a user, I can clear all orders).
11 (other comment)
[Zikun] Wrong messages are printed. Please fix the bug.
12 (other comment)
Logging with storage functionality is to do done later.
13 (other comment)
Our user guide still needs to be refined and all relevant pull requests should be linked to this issue.
14 (other comment)
Consider changing item tips to item stats(statistics) instead
That's a better suggestion, thank you!
15 (other comment)
Mutiple items can be deleted using item update command. This user story might not be relevant as of now.
16 (other comment)
It might complicate things and increase learning cost for the user. We will stick to delete index for items.
17 (other comment)
It might complicate things and increase learning cost for the user. We will stick to delete index for orders.
18 (other comment)
Because the price required was in integer, will change all to BigDecimal in v2.1
I see. Let me change it to BigDecimal 😃
19 (other comment)
Not recommended to add more features after v2.0.
20 (other comment)
Not recommended to add more features after v2.0.
21 (other comment)
The items add command of this version of easyLog is consistent with its orders add command. Specifically, the user needs to input item price and item command in 1 line. Also, the user will be prompted again and again if a pair of valid item price and stock is not given. The coding style is also improved.
The items add command of this version of easyLog is consistent with its orders add command. Specifically, the user needs to input item price and item command in 1 line. Also, the user will be prompted again and again if a pair of valid item price and stock is not given. The coding style is also improved.
The Ui class and Message class are not done yet. It is intentionally left for another member to do.
22 (other comment)
Could you please elaborate why item description/name cannot be a pure number?
23 (other comment)
Thank you for your feedback, can @Cocokkkk kindly check if the bug still exists in the current version of easyLog?
24 (other comment)
Thank you for your feedback. We have recified them 😃
25 (other comment)
Thank you for your feedback. The current version of easyLog shows the correct message for invalid item price 😃
@MingShun98
(0 comments)1 (other comment)
v1.0-trial-MingShun Version
2 (other comment)
Thank you for the issue, bug fixed
3 (other comment)
bug fixed
4 (other comment)
Yes it is allowed, will reflect clearer in UG
5 (other comment)
bug fixed
@fupernova
(0 comments)1 (other comment)
Give Zhi Fah more lines please he has 1 line
2 (other comment)
Oopsies
3 (other comment)
Oopsiez
4 (other comment)
The situation described here is very unlikely to occur to the target audience for our application. In fact, there are little to no situations where this scenario is likely to occur at all.
5 (other comment)
Please read the user guide in detail, the error message is valid and as intended.
6 (other comment)
As good as the suggestion is, the error message is detailed enough and is sufficient for the target audience, a NUS student, to see the error in his input.
7 (other comment)
Duplicate of #193, will be resolved under there.
8 (other comment)
Not an intended feature for our app, users can refer to NUS website for more information.
@Chiamjiaen
(0 comments)1 (other comment)
update v1.0 version
2 (other comment)
#resolve 101
3 (other comment)
Issue has since been rectified with by altering storage method
@xseh
(0 comments)1 (other comment)
Command shows intended behaviour, refer to UG for proper usage of update command.
2 (other comment)
Duplicate under issue #212. Will be classified as issue #212
3 (other comment)
Duplicate under issue #212. Will be classified as issue #212
4 (other comment)
Duplicate under issue #212. Will be classified as issue #212
5 (other comment)
Duplicate issue with #201. Will be fixed under #201
6 (other comment)
User guide specifically mentioned not to mess with the configuration file. The intended behaviour under a modified/corrupted file is to avoid program crash.
7 (other comment)
Duplicate issue under #196. Will be tracked under #196.
8 (other comment)
Duplicate issue under #209. Will be tracked under #209.
9 (other comment)
Duplicate under #187. Will be tracked under #187.
10 (other comment)
Duplicate under #198. Will be tracked under #198.
11 (other comment)
The command is designed to fit all flags in a single command specifically for fast typists, who can quickly add a new module in a single line. The suggestion has been extensively discussed previously and the conclusion was that having multiple prompts would not benefit fast typists and other users, as they need to constantly pause and await system response.
12 (other comment)
The update command does not work on its own, without the need for done command. Duplicated under #209. Will be tracked under #209.
@zihan9485
(0 comments)1 (other comment)
LGTM
2 (other comment)
LGTM
3 (other comment)
LGTM
4 (other comment)
LGTM
5 (other comment)
LGTM
@jianningzhuang
(0 comments)1 (other comment)
LGTM
2 (other comment)
LGTM
3 (other comment)
LGTM
4 (other comment)
cool use of AssertThrows
5 (other comment)
LGTM
6 (other comment)
LGTM
7 (other comment)
LGTM
8 (other comment)
LGTM
9 (other comment)
LGTM
10 (other comment)
LGTM
11 (other comment)
LGTM
12 (other comment)
LGTM
13 (other comment)
As a TA, I can autograde MCQ assignments which have set values and short answer assignments, which can be short sentences
14 (other comment)
also output list of students who did not submit work for autograding
15 (other comment)
LGTM
16 (other comment)
LGTM
17 (other comment)
Great job in improving the parser class to separate out all the parameters from the user input. I like how you declared the length of certain separators and commands as final variables.
However, a concern I have with this implementation is that the module code has to be a parameter for every single command. Would it be easier to select a module we are working in so all the actions performed are done in the context of that module? It would also reduce the number of unnecessary parameters for each command!
18 (other comment)
LGTM
19 (other comment)
LGTM
20 (other comment)
LGTM
21 (other comment)
LGTM
22 (other comment)
LGTM
@bryanwhl
(0 comments)1 (other comment)
Logo is correct
2 (other comment)
issue done
3 (other comment)
Looks good for merging
4 (other comment)
Looks ready to merge
5 (other comment)
LGTM
6 (other comment)
LGTM
7 (other comment)
LGTM
8 (other comment)
LGTM
9 (other comment)
Looks good for merging
10 (other comment)
Looks good for merging!
11 (other comment)
LGTM
12 (other comment)
LGTM
13 (other comment)
Looks good to merge
14 (other comment)
Looks good to merge