Closed
Bug 946750
Opened 11 years ago
Closed 7 years ago
[Haida][Contacts] Contacts app should use Haida pattern to change views
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mbudzynski, Assigned: mbudzynski)
References
Details
Attachments
(1 obsolete file)
Contacts app should use separate sheets for every view, and use window.open instead of build-in navigation module.
Updated•11 years ago
|
Blocks: 1.4-comms-targeted
![]() |
||
Updated•11 years ago
|
Flags: in-moztrap?(atsai)
QA Contact: atsai
Assignee | ||
Comment 1•11 years ago
|
||
I've merged sheets support provided by bug #961800 on bubble-tea branch yesterday and found some regressions & parts of the app that are not working (mostly because I couldn't test them before because of the one-popup-per-app limitation). I'm working now on fixing all of them [1], I should finally have patch ready to r? early next week. In the meantime, parts of my WIP patch can be checked in my contacts-haida branch [2].
Because of the change in architecture, most of the test are failing so far. I'll finish fixing them just after I'll fix all the regressions.
[1] Etherpad with things that don't work as expected https://etherpad.mozilla.org/contacts-haida-regressions
[2] https://github.com/michalbe/gaia/tree/contacts-haida
Assignee | ||
Comment 2•11 years ago
|
||
According to things decided on Contacts workweek last week, solving this bug will be separated into two steps described in the Etherpad document [1]. First part (separating views, but keeping current navigation pattern) is Bug #952490, second step is Bug #952563.
[1] https://etherpad.mozilla.org/contacts-haida
Assignee | ||
Comment 3•11 years ago
|
||
Work in progress - last week I've separated HTML of 'add new contact' form and implement first state of the iframe based navigation [1]. Instead of using Haida pattern supported in system I created separate iframe for each view and load view's html document inside (just for the 'form' view for now). The iframe after that behaves like 'section' elements before, there is no difference for end user.
[1] https://github.com/michalbe/gaia/commit/fe342416637414292003e21f00f841794cad0ad9
Comment 4•11 years ago
|
||
Nice, is the whole work in this branch?
https://github.com/michalbe/gaia/compare/module-separation-contacts-haida
Comment 5•11 years ago
|
||
Some comments, with the current WIP, just to take into account before any review:
- We won't need all css and js now in form.js
- Remove dead code (I know you'll in a cleaning step ;P)
And that's all I've seen \o/
Looking forward for the next iterations!
Thanks a lot Michal!
Comment 6•11 years ago
|
||
Btw, just saw the visual refresh for contacts starting to land:
https://bugzilla.mozilla.org/show_bug.cgi?id=966224
The sooner we rebase the better.
Thanks!
Assignee | ||
Comment 7•11 years ago
|
||
About your comment - in this branch I focus on navigation, I'll merge with the rest later this week.
Assignee | ||
Comment 8•11 years ago
|
||
'Rest' of the contact app (all the views etc.).
Assignee | ||
Comment 9•11 years ago
|
||
WIP update: I've pushed next part of the navigation system in michalbe/gaia:module-separation-contacts-haida. What it basically do is creating a new navigaitonStack object that is used in all the child views (not the main view) inside the iframes. Every time any of it's methods is called it sends postMsg to the parent window with request to the navigation action (haida-navigation-shim-receiver.js in main view). Rest of the logic is unchanged, so it behaves as before.
I'm now merging new changes to my branch, finish separating views and complete the navigation-shim with needed actions.
Comment 10•11 years ago
|
||
Thanks!!
Looking forward for more changes, did you had any problem with iframes created during different imports?
Assignee | ||
Comment 11•11 years ago
|
||
I didn't get to this part so far, I have some mess in settings and trying to resolve it now.
Updated•11 years ago
|
Summary: [Haida] Contacts app should use Haida pattern to change views → [Haida][Contacts] Contacts app should use Haida pattern to change views
Updated•11 years ago
|
No longer blocks: 1.4-comms-targeted
Assignee | ||
Comment 12•11 years ago
|
||
Finally, first WIP patch prepared. Some tests are still failing, but since it's a huge architecture change, I would love :arcturus to start reviewing it while I'll fix them.
Attachment #8436912 -
Flags: review?(francisco)
Comment 13•11 years ago
|
||
Comment on attachment 8436912 [details] [review]
[WIP] patch
Also asking for Jose's review here.
Attachment #8436912 -
Flags: review?(jmcf)
Comment 14•11 years ago
|
||
BTW, just realised, should this patch be attached to a specific bug for the form view?
As I'm seeing this is the meta for whole haida effort, and looks to me as it should be in a separate bug.
Assignee | ||
Comment 15•11 years ago
|
||
Ok, filing a bug now.
Assignee | ||
Updated•11 years ago
|
Attachment #8436912 -
Attachment is obsolete: true
Attachment #8436912 -
Flags: review?(jmcf)
Attachment #8436912 -
Flags: review?(francisco)
![]() |
||
Updated•10 years ago
|
Flags: in-moztrap?(atsai) → in-moztrap-
Comment 16•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•