[Sugar-devel] Browse: give sugar color to webpages

Walter Bender walter.bender at gmail.com
Mon Jul 7 07:18:16 EDT 2014


On Sun, Jul 6, 2014 at 11:13 PM, Sam Parkinson <sam.parkinson3 at gmail.com>
wrote:

> Hi,
>
> I'm writing a login system for the new ASLO.
>
> I think that it would be cool to have peoples XO Colors attached to their
> account (as their avatar).  It would also be nice to prefill the username
> field with their sugar nick.
>
> I propose a way to access this data through javascript in browse.  It
> generates an object like this:
>
>         window.sugarUser = {nick: "nickname", stroke: "#ABCDEF", fill:
> "#123456"}
>
> (Here is my pull request:
> https://git.sugarlabs.org/browse/mainline/merge_requests/14 )
>
> I'm not sure how that goes down from a privacy standpoint.
>

No privacy issues: these data are already made available as part of the
neighborhood model.

>
>
> Sam
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140707/afa57c9e/attachment-0001.html>


More information about the Sugar-devel mailing list