[sugar] Clicking links (was Re: sugar roadmap)
Benjamin M. Schwartz
bmschwar
Fri Apr 11 15:54:29 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eben Eliason wrote:
| On Fri, Apr 11, 2008 at 11:15 AM, Bert Freudenberg
<bert at freudenbergs.de> wrote:
|> I personally find addressing this scenario not worth the awkwardness
|> we currently have, clicking a URL in any activity should open a
|> browser on that URL, no questions asked, IMHO. If necessary, invent a
|> new permission for this.
|
| Well, perhaps a permission is in fact needed then. Of course, I still
| see that there could be worth in a service which allows activities to
| launch others. Perhaps the Develop activity eventually wants to
| launch an SVG editor for its icon. Perhaps Write wants to be able to
| embed links to other projects (as was initially mentioned as the use
| case) for writing tutorials. I'm not sure how to accomplish this.
I'm pretty sure how to accomplish this. If an Activity wants to open the
browser, perhaps in response to clicking a link, it should
1. Save the link as an object in the datastore. It should have a mime
type indicating that it is a URL, like "text/uri-list".
2. Ask the Journal to display the detailed view for this new object.
That's it for the activity.
3. The user opens the object like any other Journal object. This
requires one click. Alternatively, the user decides not to open the
object, or decides to do something more complicated with the object.
- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/8H1UJT6e6HFtqQRArdrAKCg6xsqwmJiiN/SAAbNeGAeJ4dBpACffS9E
XSS5VcjthaGAtpXC9zQ7ZJw=
=2asn
-----END PGP SIGNATURE-----
More information about the Sugar-devel
mailing list