Closed Bug 1090097 Opened 10 years ago Closed 10 years ago

[settings] refactor SIM Manager with AMD pattern

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eragonj, Assigned: eragonj)

References

Details

Attachments

(1 file)

Overview Description:

Refactor Firefox Accounts panel with AMD pattern referring to
https://github.com/gasolin/gaia/tree/master/apps/settings

to make it modularize and more easier to maintain


Expected Results:

pass all settings test and act the same as original implementation

Additional Information:
Attached file patch on master(2.2)
Hi Arthur,

I just updated SimCardManager with better structure and it was re-written in AMD now. There are no functionalities got changed here and just want to make sure the direction is ok.

I am actively writing tests and jsdocs now, would update any news about it later.

Any feedback / idea would be appreciated ! Thanks
Attachment #8513183 - Flags: feedback?(arthur.chen)
Great news, just totally rewrote all test files (removed some legacy codes and use some modern way (?) to make it look nice) and added jsdoc !
Comment on attachment 8513183 [details] [review]
patch on master(2.2)

Yeah, jsdocs added, tests fixed ! I think this patch is ready to be reviewed, thanks Arthur !
Attachment #8513183 - Flags: feedback?(arthur.chen) → review?(arthur.chen)
Comment on attachment 8513183 [details] [review]
patch on master(2.2)

Looks good to me! r=me with the nits addressed, thanks.
Attachment #8513183 - Flags: review?(arthur.chen) → review+
Thanks Arthur, merged into Gaia/master(2.2) : https://github.com/mozilla-b2g/gaia/commit/5c22ab657bf06664ca084c12d86343e12f309c00
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.

Attachment

General

Created:
Updated:
Size: