online-auction-scala icon indicating copy to clipboard operation
online-auction-scala copied to clipboard

Add feature: an item owner should be able to edit an item

Open ignasi35 opened this issue 8 years ago • 12 comments
trafficstars

As an Item owner I want to edit an item's description and auction settings before I start the auction.

I also want to edit the description and title once the auction is already started.

ignasi35 avatar Feb 13 '17 18:02 ignasi35

Hi, can I get assigned to this task since I've already started implementing the necessary features?

0xlbr avatar Feb 26 '17 22:02 0xlbr

Hi @Lambrina. Thanks for working on this! GitHub is only letting me assign members of the Lagom organization, but I think with the comment you've already left that should be enough to keep others from duplicating the work.

TimMoore avatar Feb 26 '17 23:02 TimMoore

P.S., this has already been implemented in online-auction-java, so it's a good idea to use the Java implementation as a guide for how it should be implemented in Scala: https://github.com/lagom/online-auction-java/blob/master/item-impl/src/main/java/com/example/auction/item/impl/ItemServiceImpl.java#L91

TimMoore avatar Feb 26 '17 23:02 TimMoore

@TimMoore Thank you for the advice :+1:

0xlbr avatar Feb 27 '17 05:02 0xlbr

Hi @Lambrina and @nomthysmylz, it looks like you are both working on the same issue at once. :thinking:

ignasi35 avatar Feb 27 '17 17:02 ignasi35

@Lambrina I didn't realise you were working on this too.... :grimacing: I should have rechecked this before submitting my PR :see_no_evil: :see_no_evil: :see_no_evil:

nomthy avatar Mar 01 '17 10:03 nomthy

@nomthysmylz no worries, we should probably coordinate tasks better for the future though. Have you finished it yet?

0xlbr avatar Mar 01 '17 10:03 0xlbr

@Lambrina online-auction-scala/pull/27/files thats how far I had gone on this

nomthy avatar Mar 01 '17 11:03 nomthy

@ignasi35 @jroper @TimMoore can I get some other feature to implement?

0xlbr avatar Mar 01 '17 11:03 0xlbr

Hi @nomthysmylz and @Lambrina, the edit item feature is quite a big task and I think there's enough room for both to collaborate. Given clear contracts on all the services and gateway I think the task can be split.

If you ignore the verbosity of Java and some unrelated small refactors, you can get an idea of the size of the edit item task by looking at the original PR in online-auction-java: https://github.com/lagom/online-auction-java/pull/14/files Keep in mind that PR was merged before search-service existed in online-auction-java. Because search-service already exists in online-auction-scala (even though is not usable via the UI https://github.com/lagom/online-auction-scala/issues/10) an item editing will need to be properly consumed in the search service too so data in elasticsearch is consistent.

ignasi35 avatar Mar 02 '17 14:03 ignasi35

@nomthysmylz & @Lambrina could you let us know what your plans are for this? Would you like to collaborate on it together?

TimMoore avatar Mar 08 '17 06:03 TimMoore

@TimMoore Sure! @nomthysmylz How would you like to split the work?

0xlbr avatar Mar 08 '17 23:03 0xlbr