Closed Bug 1113016 Opened 10 years ago Closed 9 years ago

Add a panel to manage Addons

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fabrice, Assigned: arcturus)

References

Details

Attachments

(1 file, 1 obsolete file)

46 bytes, text/x-github-pull-request
arthurcc
: review+
arthurcc
: feedback+
Details | Review
      No description provided.
Attached file PR (obsolete) —
Arthur, let me know if you need details about that! The goal is to list the new "addon" apps in a panel and be able to enable or disable them using the mozApps api.

We'll need a new icon for that. I have no idea how to do that. It seems that the current code picks up some semi random icon that I kind of like ;)
Attachment #8538288 - Flags: review?(arthur.chen)
Comment on attachment 8538288 [details] [review]
PR

Thanks for adding the panel, Fabrice.

I left some comments in github regarding separating the logic of UI and data. And then we also need unit tests for the Addons module. Let me know if any problems, thanks!
Attachment #8538288 - Flags: review?(arthur.chen)
Arthur, thanks for the review, it looks like copy/pasting from the theme panel was not that a great idea!

I won't have time to look at that for a few weeks, so if you have someone on your side to make that move on that would be much appreciated!
Flags: needinfo?(arthur.chen)
Fabrice, we will try to move this forward if all of our planned 2.2 features are finished. (I guess this one is not for 2.2, am I correct?) 

Include EJ as I will be on PTO in the next two weeks.
Flags: needinfo?(arthur.chen)
Can try to have a look, but cannot promise to be done by the end of this week sorry :S
Assignee: fabrice → francisco
Attached file Pointer to PR 27383
Hi,

Fabrice I've been trying to get your patch and come with the separation than Arthur asked.

Arthur, hope this separation is what you were mentioning.

Things that are still needed, unit test, open a bug to create the icon and add it to the gaia font, and a way of uninstalling, so far we are just enabling and disabling, guess we can do that in a follow up.
Attachment #8538288 - Attachment is obsolete: true
Attachment #8548871 - Flags: feedback?(fabrice)
Attachment #8548871 - Flags: feedback?(arthur.chen)
Comment on attachment 8548871 [details] [review]
Pointer to PR 27383

Thanks Fernando. lgtm, but I let Arthur review.
Attachment #8548871 - Flags: feedback?(fabrice)
Blocks: 1122979
Blocks: 1122981
Comment on attachment 8548871 [details] [review]
Pointer to PR 27383

Looks good! However, there are some issues to be addressed. Details please refer to github, thanks.
Attachment #8548871 - Flags: feedback?(arthur.chen) → feedback+
Comment on attachment 8548871 [details] [review]
Pointer to PR 27383

Hi Arthur,

tried to address the comments on gh, and added simple unit test.
Attachment #8548871 - Flags: review?(arthur.chen)
Comment on attachment 8548871 [details] [review]
Pointer to PR 27383

r=me with the last comments addressed, thanks!
Attachment #8548871 - Flags: review?(arthur.chen) → review+
Landed:

https://github.com/mozilla-b2g/gaia/commit/8a916e0b9cf89e2b1de780f1e9f7dbca360efe20
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Fabrice do you want this in 2.2?
Flags: needinfo?(fabrice)
String needs a fix (no need to update the string ID): the correct spelling is add-on, not addon.
(In reply to Francisco Jordano [:arcturus] [:francisco] from comment #12)
> Fabrice do you want this in 2.2?

Not sure yet... I may have to disable add-on support altogether because of some platform issue that is yet unresolved.
Flags: needinfo?(fabrice)
(In reply to Francesco Lodolo [:flod] from comment #13)
> String needs a fix (no need to update the string ID): the correct spelling
> is add-on, not addon.

yep. see also Bug 1122981
I've filed 1131773 as a followup to turn this simple enable/disable panel into a more full-featured "Add-on Manager" that displays more information about each add-on and also allows an addon to be deleted.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: