Feature flags are not accessible in JavaScript.

Bug #891714 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Aaron Bentley

Bug Description

We sometimes wish to enable and disable javascript-based features, so there should be a uniform way of accessing feature flags in JavaScript.

Tags: qa-ok

Related branches

Aaron Bentley (abentley)
Changed in launchpad:
assignee: nobody → Aaron Bentley (abentley)
status: Triaged → In Progress
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 891714] [NEW] Feature flags are not accessible in JavaScript.

Thanks for doing this, I'm very glad to see you took a whitelist
approach where only select flags are exposed. Nice (and necessary -
some flag values may be confidential).

speculation: I wonder if we should also expose a list of *requestable*
flags, to let browsers opt in (e.g. via cookies) similar to google
labs.

Revision history for this message
Martin Pool (mbp) wrote :

On 18 November 2011 08:30, Robert Collins <email address hidden> wrote:
> Thanks for doing this, I'm very glad to see you took a whitelist
> approach where only select flags are exposed. Nice (and necessary -
> some flag values may be confidential).
>
> speculation: I wonder if we should also expose a list of *requestable*
> flags, to let browsers opt in (e.g. via cookies) similar to google
> labs.

I think that would be great, especially in conjunction with the new
"you're in a beta" banner.

This can be done somewhat adequately at the moment by making an open
team per feature.

It would be nice if even the availability of a lab was itself
dynamically controllable.

--
Martin

Revision history for this message
Aaron Bentley (abentley) wrote :

We were thinking of allowing people to opt out of features, forcing the default value to be used. That wouldn't require additional functionality. Not sure whether we'll be able to get to that.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Aaron Bentley (abentley)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.