Closed Bug 401105 Opened 17 years ago Closed 17 years ago

Indicate which theme is in use in update URL variable

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: fligtar, Assigned: mossop)

Details

(Keywords: verified1.8.1.15)

Attachments

(2 files)

With extensions, the extension's status (userEnabled, userDisabled, etc) is available in the update URL. Themes, however, all show as enabled.

It would be useful for theme authors (and AMO statistics for those authors) if themes that aren't in use were shown as disabled, or if calling them disabled is incorrect, making a new status for them to distinguish which is in use.
I think using the existing userEnabled/Disabled status makes sense for themes, shouldn't be too difficult to fix.
Requesting blocking-firefox3 - AMO would really like to make sure this is fixed for Firefox 3 and I can't request the "wanted" flag, nor do I know if that is approval for landing it.

I'm not sure how likely this is, but it would also be really helpful if this could be fixed in Firefox 2 as well. We'll have people still using Firefox 2 for a long time after Firefox 3 is released, and this is the sort of bug that leaves a permanent record in theme stats prior to being fixed. But, if not, Firefox 3 will be fine.
Severity: enhancement → normal
Flags: blocking-firefox3?
Marking wanted, for now.

Justin, what's the effect on AMO of not fixing this? If it severely impacts your ability to do something in your redesign, please explain and renominate.

(fwiw, marking wanted means that we're saying that we'd like a fix, but would ship without it; it also means you'll need to request approval1.9? on a reviewed patch before landing)
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Attached patch patch rev 1Splinter Review
This just adjust the userEnabled/Disabled status for themes. If they really are disabled (shouldn't be) then they will still be userDisabled. They will only appear as userEnabled though if the theme is selected as the current theme.
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #293143 - Flags: review?(robert.bugzilla)
Whiteboard: [has patch]
Comment on attachment 293143 [details] [diff] [review]
patch rev 1

r=me... Thanks
Attachment #293143 - Flags: review?(robert.bugzilla) → review+
Comment on attachment 293143 [details] [diff] [review]
patch rev 1

This is a simple change that allows AMO and other theme authors to gather more useful stats about whether their theme is actually in use or not.
Attachment #293143 - Flags: approval1.9?
Attachment #293143 - Flags: approval1.9? → approval1.9+
Checking in toolkit/mozapps/extensions/src/nsExtensionManager.js.in;
/cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v  <--  nsExtensionManager.js.in
new revision: 1.270; previous revision: 1.269
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
OS: Mac OS X → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [has patch]
Target Milestone: --- → Firefox 3 M11
Version: unspecified → Trunk
AMO would like to see this on the branch, it is a very minor tweak which will vastly improve the stats that theme authors can get. I'll have to submit a new patch due to this code moving a bit but there is no real behavioural difference.
Flags: blocking1.8.1.13?
Not blocking a branch release, but if you get a reviewed branch patch and request approval we can look at it if it goes in early enough.
Flags: blocking1.8.1.13? → blocking1.8.1.13-
Attached patch ranch patchSplinter Review
Same patch for the branch
Attachment #305478 - Flags: review?(robert.bugzilla)
Attachment #305478 - Flags: review?(robert.bugzilla) → review+
Comment on attachment 305478 [details] [diff] [review]
ranch patch

This allows people monitoring their update pings to actually get stats of whether their theme is in use. AMO in particular needs this for their stats to match up with those from trunk users.
Attachment #305478 - Flags: approval1.8.1.14?
Comment on attachment 305478 [details] [diff] [review]
ranch patch

Approved for 1.8.1.14. a=ss for release-drivers.
Attachment #305478 - Flags: approval1.8.1.14? → approval1.8.1.14+
Checking in toolkit/mozapps/extensions/src/nsExtensionManager.js.in;
/cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v  <--  nsExtensionManager.js.in
new revision: 1.144.2.65; previous revision: 1.144.2.64
done
Keywords: fixed1.8.1.14
Verified on Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.15pre) Gecko/2008061004 BonEcho/2.0.0.15pre

Using livehttpheaders and checking for updates for the Scribblies theme.

The theme's status now indicates whether it is userEnabled or userDisabled if the theme is currently being used or not, contrasting with the way Firefox 2.0.0.14 would show the status as userEnabled all the time.
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: