Closed
Bug 1169558
Opened 9 years ago
Closed 9 years ago
[Messages][NG] Lay out Conversation service structure
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S14 (12june)
People
(Reporter: azasypkin, Assigned: julienw)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file)
Based on ConversationService spec from bug 1169543, we'd like to create basic ConversationService interface here. Patch for this bug should contain full service/client definition without real method implementation (just stub methods throwing "Not Implemented" exception for now).
Assignee | ||
Updated•9 years ago
|
Blocks: messages-nga
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → felash
Assignee | ||
Comment 1•9 years ago
|
||
Hey Oleg, Steve, Please tell me what you think :) I added a ServiceMixin that I stole both from Steve's work in mozMobileMessagingShim and Oleg's Event Dispatcher :) Should I add unit tests for this too?
Attachment #8621003 -
Flags: feedback?(schung)
Attachment #8621003 -
Flags: feedback?(azasypkin)
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8621003 [details] [review] master github PR Looks good to me! Added some nits and questions at GitHub. Thanks!
Attachment #8621003 -
Flags: feedback?(azasypkin) → feedback+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8621003 [details] [review] master github PR I fixed the nits and added a unit test. Tell me what you think ! Do we need to do the client right now ?
Attachment #8621003 -
Flags: review?(schung)
Attachment #8621003 -
Flags: review?(azasypkin)
Attachment #8621003 -
Flags: feedback?(schung)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8621003 [details] [review] master github PR (In reply to Julien Wajsberg [:julienw] from comment #3) > Comment on attachment 8621003 [details] [review] > master github PR > > I fixed the nits and added a unit test. > > Tell me what you think ! Looks good, just few tiny nits/questions at github! > > Do we need to do the client right now ? Honestly, I don't think so. IMO it's hard to say how client will look like right now.
Attachment #8621003 -
Flags: review?(azasypkin) → review+
Assignee | ||
Comment 5•9 years ago
|
||
I fixed everything Oleg reported; now waiting for Steve's review :)
Reporter | ||
Updated•9 years ago
|
Assignee | ||
Comment 6•9 years ago
|
||
master: 2157bb84cf217ecb3d217a2f1ee4282d59ea248c Steve, if you notice anything, we can fix in a follow-up. Thanks !
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 7•9 years ago
|
||
Comment on attachment 8621003 [details] [review] master github PR Overall looks good, just some question(for the bridge mixin): - Would you prefer that all the services should follow this pattern that leaving all the bridge setup and interface in this bridge mixin? - If it's our pattern for services, will we plan to support the service in non-worker context?
Attachment #8621003 -
Flags: review?(schung) → review+
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Steve Chung [:steveck] from comment #7) > Comment on attachment 8621003 [details] [review] > master github PR > > Overall looks good, just some question(for the bridge mixin): > - Would you prefer that all the services should follow this pattern that > leaving all the bridge setup and interface in this bridge mixin? If we can do that, yep, I think it would be nice. I followed up with your approach in bug 1171865 because I thought it was a good idea, and extended it to make it more generic. > - If it's our pattern for services, will we plan to support the service in > non-worker context? I don't think so; I think that even for the non-splitted-view app, we can use the services-in-worker. Or what do you have in mind ?
Reporter | ||
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•