Closed
Bug 973466
Opened 11 years ago
Closed 10 years ago
[settings] refactor wifi panel with AMD pattern
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S6 (18july)
People
(Reporter: gasolin, Assigned: eragonj)
References
Details
(Whiteboard: [p=18])
Attachments
(1 file)
Overview Description:
Refactor wifi panel with AMD pattern referring to
https://github.com/crh0716/gaia/tree/settings2_iterative
to make it modularize and more easier to maintain
Steps to Reproduce:
1) run make test-perf APP=settings
2) run make test-integration APP=settings
Expected Results:
pass all settings test and act the same as original implementation
Additional Information:
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ejchen
Assignee | ||
Comment 1•11 years ago
|
||
This is still a WIP patch.
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 2.0 S2 (23may)
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
https://github.com/mozilla-b2g/gaia/pull/18471
Assignee | ||
Updated•11 years ago
|
Whiteboard: [p=3]
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
Hi all,
I think wifi panel is 80%+ ready and it's time to run the feedback / review process. Any feedback is welcome, thanks ;)
Attachment #8409505 -
Flags: feedback?(gduan)
Attachment #8409505 -
Flags: feedback?(gasolin)
Attachment #8409505 -
Flags: feedback?(arthur.chen)
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
Thanks for taking this great challenge of the tremendous work! Have some comments in github.
Attachment #8409505 -
Flags: feedback?(gasolin)
Assignee | ||
Comment 5•11 years ago
|
||
Fixed the dependency.
Updated•11 years ago
|
Target Milestone: 2.0 S2 (23may) → ---
Assignee | ||
Comment 8•10 years ago
|
||
@Arthur,
just updated the patch and rebased to latest master.
I already addressed you guys' comments and removed the elements dependencies as much as possible.
If you have time to take a look, can you give me some feedback about this patch ? thx :)
Comment 9•10 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
I left some comments mainly focusing on wifi_context and wifi_wps. Let's try improve these two modules at first and move forward, gogogo!
Attachment #8409505 -
Flags: feedback?(arthur.chen)
Assignee | ||
Comment 10•10 years ago
|
||
Arthur, I just addressed all your feedback on Github and they look better now !
I will keep updating them and please leave any feedback if you want !
Thanks !!
Flags: needinfo?(arthur.chen)
Comment 11•10 years ago
|
||
It looks much better now!
However, I still have some questions on WifiContext as I'm not so sure about the role it plays. Currently it seems that WifiContext is used for storing states and network related information and meanwhile the objects that used WifiContext should be responsible for updating the information, which concerns me as it fails easily if someone uses it forget to do the update...
Therefore, I would prefer to encapsulate the code that establishes the network connection and does updates into one object instead of leaving them in the code being subject to change (for example, UI related code may change a lot due to UX spec changes).
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
Arthur, just addressed all comments we discussed offline. Can you help me check the other parts ? Thanks :]
Attachment #8409505 -
Flags: feedback?(arthur.chen)
Comment 13•10 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
WifiContext and Wps look good to me. I left one comment in github. Please squash the commits and I'll start to review the other parts, thanks!
Attachment #8409505 -
Flags: feedback?(arthur.chen) → feedback+
Assignee | ||
Comment 14•10 years ago
|
||
OK I just updated it ! Good idea by the way :)
Thanks Arthur !
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S6 (18july)
Assignee | ||
Comment 15•10 years ago
|
||
Arthur, I just took off wifiDialog and refactored changeDisplay, please help me check it when you have time, thanks :)
Flags: needinfo?(arthur.chen)
Comment 16•10 years ago
|
||
Good work! I left some comments in github. And I found that the function of "join hidden network" does not work for me. Sometimes the network I added did not show up in the known networks list or showed up with an "undefined" title.
Flags: needinfo?(arthur.chen)
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
Arthur, I think we can do final review now !
I just fixed the unit tests and addressed all your comments.
Please kindly review this patch when you have time ! We are almost there :)
Thanks !!!
Attachment #8409505 -
Flags: review?(arthur.chen)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [p=3] → [p=18]
Comment 18•10 years ago
|
||
Comment on attachment 8409505 [details] [review]
patch on master
Well done, EJ! Please squash the commits and merge after bug 1032070 lands.
Attachment #8409505 -
Flags: review?(arthur.chen)
Attachment #8409505 -
Flags: review+
Attachment #8409505 -
Flags: feedback?(gduan)
Updated•10 years ago
|
QA Contact: gchang
Assignee | ||
Comment 19•10 years ago
|
||
Thanks all,
we finally landed this into Gaia/master : c9105b7e8e78495786c648197d92dc9b87c489ba
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•