Closed
Bug 1171865
Opened 9 years ago
Closed 9 years ago
[Messages][NG] Layout mozMobileMessageShim structure
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S14 (12june)
People
(Reporter: steveck, Assigned: steveck)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file)
After spec confirmed, we decided to have a API shim for wrapping all the mozMobilemessage API and it will be used by messaging service and conversation service(maybe some controller as well).
Updated•9 years ago
|
Whiteboard: [p=1]
Target Milestone: --- → 2.2 S14 (12june)
Assignee | ||
Comment 1•9 years ago
|
||
Hey, it's the first draft of the mozMobileMessage shim. It simply proxy the API/broadcast event without any(or very few) additional logic inside. Please tell me if you have other thought about the shim, thanks!
Attachment #8616724 -
Flags: feedback?(felash)
Attachment #8616724 -
Flags: feedback?(azasypkin)
Comment 2•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github I left some comments but this looks good
Attachment #8616724 -
Flags: feedback?(felash) → feedback+
Comment 3•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github lgtm as well, just minor nits at GitHub.
Attachment #8616724 -
Flags: feedback?(azasypkin) → feedback+
Updated•9 years ago
|
Assignee: nobody → schung
Status: NEW → ASSIGNED
Updated•9 years ago
|
Blocks: messages-nga
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github Patch updated with unit test. Not sure if these tests could actually cover the real use case as a shim.
Attachment #8616724 -
Flags: review?(felash)
Attachment #8616724 -
Flags: review?(azasypkin)
Comment 5•9 years ago
|
||
Looks good overall, left some comments and questions at gitHub, mostly nits. Keeping r? for now. Thanks!
Comment 6•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github I'll leave Oleg handle this tomorrow as I'm traveling.
Attachment #8616724 -
Flags: review?(felash)
Assignee | ||
Comment 7•9 years ago
|
||
Hi Oleg, I updated the patch with a question about the init part. Thanks for all the review!
Comment 8•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github Hey Steve, Looks good now! I've left last nits. + Could you please also remove MozMobileMessageShim.init() call from the shim file (that should simplify tests as well) and ask for review as soon as you're ready? Thanks!
Attachment #8616724 -
Flags: review?(azasypkin)
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github Ok, init removed with other suggestion addressed.
Attachment #8616724 -
Flags: review?(azasypkin)
Comment 10•9 years ago
|
||
Comment on attachment 8616724 [details] [review] Link to github I think we're good to go here, we'll polish shim later if needed in the scope of bugs like bug 1169576 and bug 1169573! Julien do you have anything to add? Thanks!
Flags: needinfo?(felash)
Attachment #8616724 -
Flags: review?(azasypkin) → review+
Comment 11•9 years ago
|
||
I just left one nit in the unit test but otherwise this looks good; anyway this can be changed if we need it in the future (for example we could use the Service Mixin ?).
Flags: needinfo?(felash)
Assignee | ||
Comment 12•9 years ago
|
||
Thanks for all the reviews :) In master: 6be1d1fdd54c999b5f733de5f80e61cb81fbe9a0
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•