-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement guest edit
feature
#127
Conversation
Users are not able to edit fields for created guests. This is frustrating as they must remove and re-add a guest in order to reflect changes. Let's, * Add GuestEditCommand and GuestEditCommandParser * Modify GuestCommandParser to accept the new command * Add EditGuestDescriptorBuilder for implementing tests * Create tests for all the aforementioned newly-created classes
guest edit
featureguest edit
feature
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #127 +/- ##
============================================
+ Coverage 81.49% 82.29% +0.80%
- Complexity 816 844 +28
============================================
Files 116 118 +2
Lines 2416 2610 +194
Branches 277 319 +42
============================================
+ Hits 1969 2148 +179
- Misses 396 398 +2
- Partials 51 64 +13
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Let's un-draft this PR to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but a few nits that need to be fixed first!
src/test/java/wedlog/address/logic/parser/CommandParserTestUtil.java
Outdated
Show resolved
Hide resolved
src/test/java/wedlog/address/logic/parser/GuestEditCommandParserTest.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/parser/GuestEditCommandParser.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a small bug fix needed!
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/parser/GuestEditCommandParser.java
Outdated
Show resolved
Hide resolved
src/main/java/wedlog/address/logic/commands/GuestEditCommand.java
Outdated
Show resolved
Hide resolved
src/test/java/wedlog/address/logic/commands/EditGuestDescriptorTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work!
Resolves #117.
Users are unable to edit Guests that have been created.
This is limiting as users have to delete and recreate Guests if they want to update any fields.
Let's implement functionality that allows users to edit Guest data.