Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-13 Thread James Cameron
On Sun, Jun 13, 2010 at 05:27:56PM +0530, Anish Mangal wrote:
> Thanks for the insightful responses. I have used a slightly modded
> version of NotifyAlert (aptly called NotifyRedAlert). A sample
> screen-capture can be found here...

Reviewed.  I don't like timed alerts, since we have no guarantee that
the attention span of the user is contiguous, and given the age of the
typical user perhaps it is even more fragmented than we might think.

Notification in synchronous response to user action should use the alert
mechanism as you have done, just without the timer.

Asynchronous notification is entirely different, since it relates to
actions by others, delayed response to actions by self, or system
events.  An invitation to join an activity uses an asynchronous
notification on the top left of the toolbar.

What we have *now* for asynchronous notification that are not
invitations ... can be seen as an icon that appears in the top right of
the toolbar.  It can be activated by typing this command at a shell
prompt:

notify-send title "some text"

Unfortunately, in 0.84 at least, while the icon appears there seems to
be no way to obtain the notification text.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-13 Thread Gary Martin
Hi Anish, 

On 13 Jun 2010, at 12:57, Anish Mangal  wrote:

>> An alert like a chat or Activity sharing invitation would be nice, but one
>> with a more visible signal is needed.
> 
>> We really really really ... need a general notification system. :D
> 
>> Please no popup error dialogue windows if you can avoid it ;) The alert 
>> strip that displays under the toolbar is a much more friendly notification 
>> for the Sugar UI design.
> 
> Thanks for the insightful responses. I have used a slightly modded
> version of NotifyAlert (aptly called NotifyRedAlert). A sample
> screen-capture can be found here...
> 
> http://people.sugarlabs.org/~anish/sl1842-journal.gif
> Note: The link above is a big animated gif (~1.8M) and some browsers
> may struggle to display it.

Yea, my iPad chocked half way through :)

> If this seems fine, I'll mail the patch for reviewing.

Looks nice. The colour fade (red to black over the time-out countdown) is 
something new and not in the Sugar HIG, but I don't have an objection — makes 
fair warning UI sense and could be something we adopt elsewhere when needed (if 
there aren't too many objections).

Regards,
--Gary

> Cheers,
> Anish
> 
> On Fri, Jun 11, 2010 at 7:08 AM, Gary Martin  
> wrote:
>> On 10 Jun 2010, at 19:13, Anish Mangal  wrote:
>> 
>>> I was planning on fixing sl#1842 [1] but I'm not sure what should be
>>> the correct method of alerting users incase a write error does occur.
>>> Should I popup a dialog box, or use alerts like the one used in chat,
>>> sugar-commander? Suggestions welcome.
>> 
>> Please no popup error dialogue windows if you can avoid it ;) The alert 
>> strip that displays under the toolbar is a much more friendly notification 
>> for the Sugar UI design.
>> 
>> Regards,
>> --Gary
>> 
>>> [1] http://bugs.sugarlabs.org/ticket/1842,
>>> 
>>> Cheers,
>>> Anish
>>> ___
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>> 
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-13 Thread Anish Mangal
> An alert like a chat or Activity sharing invitation would be nice, but one
> with a more visible signal is needed.

> We really really really ... need a general notification system. :D

> Please no popup error dialogue windows if you can avoid it ;) The alert strip 
> that displays under the toolbar is a much more friendly notification for the 
> Sugar UI design.

Thanks for the insightful responses. I have used a slightly modded
version of NotifyAlert (aptly called NotifyRedAlert). A sample
screen-capture can be found here...

http://people.sugarlabs.org/~anish/sl1842-journal.gif
Note: The link above is a big animated gif (~1.8M) and some browsers
may struggle to display it.

If this seems fine, I'll mail the patch for reviewing.

Cheers,
Anish

On Fri, Jun 11, 2010 at 7:08 AM, Gary Martin  wrote:
> On 10 Jun 2010, at 19:13, Anish Mangal  wrote:
>
>> I was planning on fixing sl#1842 [1] but I'm not sure what should be
>> the correct method of alerting users incase a write error does occur.
>> Should I popup a dialog box, or use alerts like the one used in chat,
>> sugar-commander? Suggestions welcome.
>
> Please no popup error dialogue windows if you can avoid it ;) The alert strip 
> that displays under the toolbar is a much more friendly notification for the 
> Sugar UI design.
>
> Regards,
> --Gary
>
>> [1] http://bugs.sugarlabs.org/ticket/1842,
>>
>> Cheers,
>> Anish
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-11 Thread Tomeu Vizoso
On Fri, Jun 11, 2010 at 17:46, Walter Bender  wrote:
> On Fri, Jun 11, 2010 at 5:11 AM, Tomeu Vizoso  wrote:
>> On Thu, Jun 10, 2010 at 20:56, Martin Abente  
>> wrote:
>>> We really really really ... need a general notification system. :D
>>
>> You may not believe it, but the shell has an implementation of
>> http://www.galago-project.org/specs/notification/ .
>>
>> We need more activities to use it and also improve the implementation.
>
> Is there a good example somewhere we can highlight for activity developers?

I added support for it to XOIrc but I'm not sure if I managed to have
that patch accepted back then.

Regards,

Tomeu

> regards.
>
> -walter
>
>>
>> Regards,
>>
>> Tomeu
>>
>>> On Thu, 2010-06-10 at 14:39 -0400, Frederick Grose wrote:
 On Thu, Jun 10, 2010 at 2:13 PM, Anish Mangal
  wrote:
         I was planning on fixing sl#1842 [1] but I'm not sure what
         should be
         the correct method of alerting users incase a write error does
         occur.
         Should I popup a dialog box, or use alerts like the one used
         in chat,
         sugar-commander? Suggestions welcome.

         [1] http://bugs.sugarlabs.org/ticket/1842,


 An alert like a chat or Activity sharing invitation would be nice, but
 one with a more visible signal is needed.


 I imagine an alert icon that rises out of the Frame, enlarges and
 glows for a few moments, then settles back to the Frame, but then
 shows a glowing edge or corona and bumps up slightly every 15 or 30
 seconds in case the learner was focused on another Activity at the
 time the alert was first displayed (or just decided to postpone
 attention to the alert and then forgot about the pending need for
 attention).


 Of course, the icon should be clickable and reveal a useful palette of
 actions at any point in its lifetime.


 New alerts with behavior like the above would be welcome for
 invitations as well as errors.


 Thanks!           --Fred
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>> ___
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-11 Thread Walter Bender
On Fri, Jun 11, 2010 at 5:11 AM, Tomeu Vizoso  wrote:
> On Thu, Jun 10, 2010 at 20:56, Martin Abente  
> wrote:
>> We really really really ... need a general notification system. :D
>
> You may not believe it, but the shell has an implementation of
> http://www.galago-project.org/specs/notification/ .
>
> We need more activities to use it and also improve the implementation.

Is there a good example somewhere we can highlight for activity developers?

regards.

-walter

>
> Regards,
>
> Tomeu
>
>> On Thu, 2010-06-10 at 14:39 -0400, Frederick Grose wrote:
>>> On Thu, Jun 10, 2010 at 2:13 PM, Anish Mangal
>>>  wrote:
>>>         I was planning on fixing sl#1842 [1] but I'm not sure what
>>>         should be
>>>         the correct method of alerting users incase a write error does
>>>         occur.
>>>         Should I popup a dialog box, or use alerts like the one used
>>>         in chat,
>>>         sugar-commander? Suggestions welcome.
>>>
>>>         [1] http://bugs.sugarlabs.org/ticket/1842,
>>>
>>>
>>> An alert like a chat or Activity sharing invitation would be nice, but
>>> one with a more visible signal is needed.
>>>
>>>
>>> I imagine an alert icon that rises out of the Frame, enlarges and
>>> glows for a few moments, then settles back to the Frame, but then
>>> shows a glowing edge or corona and bumps up slightly every 15 or 30
>>> seconds in case the learner was focused on another Activity at the
>>> time the alert was first displayed (or just decided to postpone
>>> attention to the alert and then forgot about the pending need for
>>> attention).
>>>
>>>
>>> Of course, the icon should be clickable and reveal a useful palette of
>>> actions at any point in its lifetime.
>>>
>>>
>>> New alerts with behavior like the above would be welcome for
>>> invitations as well as errors.
>>>
>>>
>>> Thanks!           --Fred
>>> ___
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-11 Thread Tomeu Vizoso
On Thu, Jun 10, 2010 at 20:56, Martin Abente  wrote:
> We really really really ... need a general notification system. :D

You may not believe it, but the shell has an implementation of
http://www.galago-project.org/specs/notification/ .

We need more activities to use it and also improve the implementation.

Regards,

Tomeu

> On Thu, 2010-06-10 at 14:39 -0400, Frederick Grose wrote:
>> On Thu, Jun 10, 2010 at 2:13 PM, Anish Mangal
>>  wrote:
>>         I was planning on fixing sl#1842 [1] but I'm not sure what
>>         should be
>>         the correct method of alerting users incase a write error does
>>         occur.
>>         Should I popup a dialog box, or use alerts like the one used
>>         in chat,
>>         sugar-commander? Suggestions welcome.
>>
>>         [1] http://bugs.sugarlabs.org/ticket/1842,
>>
>>
>> An alert like a chat or Activity sharing invitation would be nice, but
>> one with a more visible signal is needed.
>>
>>
>> I imagine an alert icon that rises out of the Frame, enlarges and
>> glows for a few moments, then settles back to the Frame, but then
>> shows a glowing edge or corona and bumps up slightly every 15 or 30
>> seconds in case the learner was focused on another Activity at the
>> time the alert was first displayed (or just decided to postpone
>> attention to the alert and then forgot about the pending need for
>> attention).
>>
>>
>> Of course, the icon should be clickable and reveal a useful palette of
>> actions at any point in its lifetime.
>>
>>
>> New alerts with behavior like the above would be welcome for
>> invitations as well as errors.
>>
>>
>> Thanks!           --Fred
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-10 Thread Martin Abente
We really really really ... need a general notification system. :D

On Thu, 2010-06-10 at 14:39 -0400, Frederick Grose wrote:
> On Thu, Jun 10, 2010 at 2:13 PM, Anish Mangal
>  wrote:
> I was planning on fixing sl#1842 [1] but I'm not sure what
> should be
> the correct method of alerting users incase a write error does
> occur.
> Should I popup a dialog box, or use alerts like the one used
> in chat,
> sugar-commander? Suggestions welcome.
> 
> [1] http://bugs.sugarlabs.org/ticket/1842,
> 
> 
> An alert like a chat or Activity sharing invitation would be nice, but
> one with a more visible signal is needed.
> 
> 
> I imagine an alert icon that rises out of the Frame, enlarges and
> glows for a few moments, then settles back to the Frame, but then
> shows a glowing edge or corona and bumps up slightly every 15 or 30
> seconds in case the learner was focused on another Activity at the
> time the alert was first displayed (or just decided to postpone
> attention to the alert and then forgot about the pending need for
> attention).
> 
> 
> Of course, the icon should be clickable and reveal a useful palette of
> actions at any point in its lifetime.
> 
> 
> New alerts with behavior like the above would be welcome for
> invitations as well as errors.
> 
> 
> Thanks!   --Fred
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-10 Thread Frederick Grose
On Thu, Jun 10, 2010 at 2:13 PM, Anish Mangal wrote:

> I was planning on fixing sl#1842 [1] but I'm not sure what should be
> the correct method of alerting users incase a write error does occur.
> Should I popup a dialog box, or use alerts like the one used in chat,
> sugar-commander? Suggestions welcome.
>
> [1] http://bugs.sugarlabs.org/ticket/1842,


An alert like a chat or Activity sharing invitation would be nice, but one
with a more visible signal is needed.

I imagine an alert icon that rises out of the Frame, enlarges and glows for
a few moments, then settles back to the Frame, but then shows a glowing edge
or corona and bumps up slightly every 15 or 30 seconds in case the learner
was focused on another Activity at the time the alert was first displayed
(or just decided to postpone attention to the alert and then forgot about
the pending need for attention).

Of course, the icon should be clickable and reveal a useful palette of
actions at any point in its lifetime.

New alerts with behavior like the above would be welcome for invitations as
well as errors.

Thanks!   --Fred
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [DESIGN] Alerting users in case of write errors (sl#1842)

2010-06-10 Thread Anish Mangal
I was planning on fixing sl#1842 [1] but I'm not sure what should be
the correct method of alerting users incase a write error does occur.
Should I popup a dialog box, or use alerts like the one used in chat,
sugar-commander? Suggestions welcome.

[1] http://bugs.sugarlabs.org/ticket/1842,

Cheers,
Anish
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel