Closed
Bug 1162027
Opened 10 years ago
Closed 10 years ago
[Messages][New Gaia Architecture] extract inbox/index.html
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: azasypkin)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
![]() |
||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8606970 [details] [review]
[gaia] azasypkin:bug-1162027-split-inbox-index > mozilla-b2g:master
Hey Steve,
In this patch I've extracted views/inbox/index.html from main index.html + removed some more ConversationView-InboxView dependencies.
You can test inbox index.html in browser (fixed some desktop mocks as well). inbox/index.html loads only files needed for inbox, so it's not possible to navigate to another view since new view should be hosted in a separate iframe with its own dependencies loaded. Navigation will be possible once we start using little-browser.
Currently I use main startup.js, but still poking around to see if I can come up with something smarter.
Thanks!
Attachment #8606970 -
Flags: feedback?(schung)
Comment 3•10 years ago
|
||
Comment on attachment 8606970 [details] [review]
[gaia] azasypkin:bug-1162027-split-inbox-index > mozilla-b2g:master
I think this separation is good with dependencies clean up by draft change event driven. And thanks for the addional clean up in oter place!
Attachment #8606970 -
Flags: feedback?(schung) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8606970 [details] [review]
[gaia] azasypkin:bug-1162027-split-inbox-index > mozilla-b2g:master
Hey Steve,
Thanks for the feedback! I've updated PR according to your good idea about "InboxView.showDraftSavedBanner" with slight modification to get rid of this dependency from ConversationView entirely.
What do you think?
Thanks!
Attachment #8606970 -
Flags: review?(schung)
Comment 5•10 years ago
|
||
Mostly looks good and I like the way to make the saveDraft simpler with less inbox view access. I only one concern about the thread deletion in inbox view and it might cause duplicate update/removal action(but it won't lead the incorrect result). Some thoughts left on github.
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Steve Chung [:steveck] from comment #5)
> Mostly looks good and I like the way to make the saveDraft simpler with less
> inbox view access. I only one concern about the thread deletion in inbox
> view and it might cause duplicate update/removal action(but it won't lead
> the incorrect result). Some thoughts left on github.
Hey Steve,
I've proposed possible solution at Github, please let me know what you think.
Thanks!
Comment 7•10 years ago
|
||
Comment on attachment 8606970 [details] [review]
[gaia] azasypkin:bug-1162027-split-inbox-index > mozilla-b2g:master
Yeah, I think this check should be enough for now, thanks for all the efforts!
Attachment #8606970 -
Flags: review?(schung) → review+
![]() |
||
Updated•10 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 9•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/ee2f5b57b8aaf1ad07c9fde61ced7358aac78670
![]() |
||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•