What do we do with the Juju GUI charm in the GUI?

Nick Boettcher nick.boettcher at canonical.com
Fri Dec 14 14:52:05 UTC 2012


Ideally we don't want people accidentally unexposing or removing the charm without some type of warning if it is going to kill the GUI. That said, the warning should be written into the Charm readme, at the very least, so we can say we've told people about what will happen - if they don't read the information that's now our fault right? We definitely shouldn't hide it as it is a service/process running in their environment which could be using resources (?), something important for them to know about.

I don't think we need a special warning if they remove the charm because they get a warning anyway. Perhaps a charm could have a bespoke warning message if it is removed, otherwise the default is used? It would be nice to have an unique warning if the charm is unexposed though... but that would mean creating a unique behaviour.

So I see two options:

a) Ensure warnings are in the readme/description (little effort)
b) Extra warning if someone chooses to unexpose the charm (unknown effort for unique behaviour).


Cheers,
Nick.


Message: 2
Date: Thu, 13 Dec 2012 12:01:27 -0500
From: Gary Poster<gary at modernsongs.com>
To: Juju GUI Developer List<juju-gui at lists.ubuntu.com>
Cc: Alejandra Obregon<alejandra.obregon at canonical.com>
Subject: What do we do with the Juju GUI charm in the GUI?
Message-ID:<50CA09E7.2000601 at modernsongs.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi all, especially Nick.  I raised this before, but I don't think Nick
was around and I didn't write down a resolution to the discussion.

Right now, if you start the GUI with the charm, you see the GUI charm in
the GUI.  You can also remove the charm, which will mean that the GUI
will suddenly die. Unexposing it will also kill the GUI.  Is this what
we want?  If we want something different, how badly do we want it?

Options that we've talked about so far:
- leave as is
- special behavior: when you try to destroy or unexpose the GUI, you get
an extra warning.
- we hide the GUI charm (I'm worried about this one, because people may
want to see that it exists, and people may want to manipulate it for
various reasons).

Thoughts?

Thanks!

Gary

-------------- next part --------------
An HTML attachment was scrubbed...
URL:<https://lists.ubuntu.com/archives/juju-gui/attachments/20121213/9c98872b/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 13 Dec 2012 17:52:40 +0000
From: Benji York<benji.york at canonical.com>
To: Gary Poster<gary at modernsongs.com>
Cc: Juju GUI Developer List<juju-gui at lists.ubuntu.com>,	Alejandra
	Obregon<alejandra.obregon at canonical.com>
Subject: Re: What do we do with the Juju GUI charm in the GUI?
Message-ID:
	<CAC8tyQ66kZRtXqVrYwyB8kf7fMxo-8Bp=58gAXcDeQ2Q=X50og at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Dec 13, 2012 at 5:01 PM, Gary Poster<gary at modernsongs.com>  wrote:

> Hi all, especially Nick.  I raised this before, but I don't think Nick was
> around and I didn't write down a resolution to the discussion.
>
> Right now, if you start the GUI with the charm, you see the GUI charm in the
> GUI.  You can also remove the charm, which will mean that the GUI will
> suddenly die. Unexposing it will also kill the GUI.  Is this what we want?
> If we want something different, how badly do we want it?
>
> Options that we've talked about so far:
> - leave as is

This is my preference.  Given that we do not have any experience guiding
us as what to do, we should not expend energy to do something that is
probably not right anyway.
-- Benji York




More information about the Juju-GUI mailing list