-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Edit offer button #5955
Edit offer button #5955
Conversation
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.
ACK - please see my comments what I changed.
@@ -138,6 +143,7 @@ private void onEditOpenOfferRemoved() { | |||
editOfferView = null; | |||
} | |||
|
|||
// navigation.navigateToPreviousVisitedView(); |
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.
Please remove unused code
if (data instanceof Offer) { | ||
Offer offer = (Offer) data; | ||
openOffer = openOfferManager.getOpenOfferById(offer.getId()).orElse(null); | ||
} |
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.
I'd rather do this in the OfferBookViewModel
I'm still merging this PR although as Codacy has permission issues (again) |
@xyzmaker123 thanks for working on this. Can you post a screenshot of what this looks like in the context of the whole offer book screen? |
@pazza83 Sure, two examples: |
@xyzmaker123 thanks looks good. Not sure where the 'add duplicate icon' will be included and #5774 (comment) Would it make sense to have 3 options:
cc: @ripcurlx |
Fixes #4986
Screenshots: