Charm browser defaulting to open

Richard Harding rick.harding at canonical.com
Mon Jun 17 14:17:22 UTC 2013


On Mon, 17 Jun 2013, Jeff Pihach wrote:

> I would like to propose a slightly more complex structure where we
> track the number of times the user has minimized the sidebar and
> after, say, 5 times we ask them if they want it hidden by default.
> At that point we record it in SS and not show it on load. At this
> point we could also save the api requests for the browser until it's
> visible.
> 
> -Jeff

If the page loads and the default viewmode is minimized the api request
won't go out. You can verify by going directly to

http://uistage.jujucharms.com/minimized/

So if we set something and check for a default viewmode it'll work out just
fine on the request side.

-- 

Rick Harding

Cloud Engineering
https://launchpad.net/~rharding
@mitechie



More information about the Juju-GUI mailing list