Re: [Wikitech-l] Notification bubble system

2012-09-22 Thread Krinkle
On Sep 22, 2012, at 9:31 AM, Daniel Friesen wrote: > On Sat, 22 Sep 2012 00:10:11 -0700, Isarra Yos wrote: > >> On 21/09/2012 11:46, Rob Moen wrote: >>> On Sep 20, 2012, at 3:48 PM, Krinkle wrote: >>> If they happened as a direct consequence of a user action, maybe it should appear i

Re: [Wikitech-l] Notification bubble system

2012-09-22 Thread Daniel Friesen
On Sat, 22 Sep 2012 00:10:11 -0700, Isarra Yos wrote: On 21/09/2012 11:46, Rob Moen wrote: On Sep 20, 2012, at 3:48 PM, Krinkle wrote: If they happened as a direct consequence of a user action, maybe it should appear inside the interface where it was performed? Agreed, interaction related

Re: [Wikitech-l] Notification bubble system

2012-09-22 Thread Isarra Yos
On 21/09/2012 11:46, Rob Moen wrote: On Sep 20, 2012, at 3:48 PM, Krinkle wrote: If they happened as a direct consequence of a user action, maybe it should appear inside the interface where it was performed? Agreed, interaction related notifications should be localized in the interface where

Re: [Wikitech-l] Notification bubble system

2012-09-21 Thread Rob Moen
On Sep 20, 2012, at 3:48 PM, Krinkle wrote: > If they happened as a direct > consequence of a user action, maybe it should appear inside the interface > where > it was performed? Agreed, interaction related notifications should be localized in the interface where the action is be performed. T

Re: [Wikitech-l] Notification bubble system

2012-09-20 Thread Daniel Friesen
On Thu, 20 Sep 2012 15:48:27 -0700, Krinkle wrote: On Sep 19, 2012, at 8:41 PM, Trevor Parscal wrote: I'm glad this area is getting a lot of interest - unfortunately I haven't been able to keep up on this thread but I wanted to give a suggestion related to adding icons. It's reasonable

Re: [Wikitech-l] Notification bubble system

2012-09-20 Thread Krinkle
On Sep 19, 2012, at 8:41 PM, Trevor Parscal wrote: > I'm glad this area is getting a lot of interest - unfortunately I haven't > been able to keep up on this thread but I wanted to give a suggestion > related to adding icons. > > It's reasonable to take an option that provides a URL to an icon i

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Trevor Parscal
On Wed, Sep 19, 2012 at 11:54 AM, Munaf Assaf wrote: > I wasn't clear; that's exactly what we're doing in the Agora CSS library. > You are adding an icon feature to me.notify in the Agora CSS library? I know the answer is "no, we are creating icons that can be used for that and other purposes",

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Munaf Assaf
I wasn't clear; that's exactly what we're doing in the Agora CSS library. -- Munaf Assaf On Wednesday, September 19, 2012 at 11:51 AM, Trevor Parscal wrote: > Maybe I was unclear. > > I'm not suggesting we make these icons so much as we make the notification > system use them by name. > >

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Trevor Parscal
Maybe I was unclear. I'm not suggesting we make these icons so much as we make the notification system use them by name. As in: mw.notify( { // This is bad 'icon': ' http://upload.wikimedia.org/wikipedia/commons/4/32/check-icon.svg' /* other options here */ } ); vs. mw.notify( {

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Munaf Assaf
Already in progress. http://www.mediawiki.org/wiki/Wikimedia_Foundation_Design/Agora_Icon_Set They'll eventually be in the Agora library as sprites. -- Munaf Assaf On Wednesday, September 19, 2012 at 11:41 AM, Trevor Parscal wrote: > I'm glad this area is getting a lot of interest - unfortun

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Trevor Parscal
I'm glad this area is getting a lot of interest - unfortunately I haven't been able to keep up on this thread but I wanted to give a suggestion related to adding icons. It's reasonable to take an option that provides a URL to an icon image, but we should have a common (customizable per skin and la

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Krinkle
On Sep 19, 2012, at 2:57 AM, "Helder ." wrote: > On Tue, Sep 18, 2012 at 9:28 PM, Jon Robson wrote: >> On Commons it seems to take 5 seconds to disappear which is too long as at >> this point I'm wondering how to dismiss it. > I think the time should depend on the length of the message. > The wa

Re: [Wikitech-l] Notification bubble system

2012-09-19 Thread Krinkle
On Sep 18, 2012, at 5:07 PM, Gerard Meijssen wrote: > On 18 September 2012 00:09, Steven Walling wrote: > >> Following up on what I said previously about wanting to build on top of >> this, there are some usability enhancements proposed at bug #40307. >> >> On the truncation issue: length is a

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Steven Walling
On Tue, Sep 18, 2012 at 5:28 PM, Rob Moen wrote: > Not sure if this is a known issue, but the notification is at the top of > the document regardless of where you are on the page. Meaning if I'm at > the bottom of a long article, I have to scroll up to the top to see the > bubble. Should it not

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Helder .
On Tue, Sep 18, 2012 at 9:28 PM, Jon Robson wrote: > On Commons it seems to take 5 seconds to disappear which is too long as at > this point I'm wondering how to dismiss it. I think the time should depend on the length of the message. The watchlist notification in Portuguese has ~46 words, and if

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Jon Robson
On Commons it seems to take 5 seconds to disappear which is too long as at this point I'm wondering how to dismiss it. A good ui pattern would be for it to fade out over those 5 seconds to show me what is happening and when I hover over it go back to no transparency to signal that it will fade auto

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Rob Moen
Not sure if this is a known issue, but the notification is at the top of the document regardless of where you are on the page. Meaning if I'm at the bottom of a long article, I have to scroll up to the top to see the bubble. Should it not be relative to the scroll position? I noticed this by

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Erik Moeller
On Tue, Sep 18, 2012 at 5:11 PM, Jon Robson wrote: > There is a huge usability issue with the current implementation. > I just watched an article on commons and got a notification bubble, I then > tried to use the down arrow to click global usage and couldn't actually get > to the menu. The notif

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Jon Robson
There is a huge usability issue with the current implementation. I just watched an article on commons and got a notification bubble, I then tried to use the down arrow to click global usage and couldn't actually get to the menu. I don't seem to be able to dismiss the notification. On Tue, Sep

Re: [Wikitech-l] Notification bubble system

2012-09-18 Thread Gerard Meijssen
Hoi, The default watchlist is 37 words ... these words are probably en.wikipedia measurements. To what extend have different scripts and different languages been considered ? Thanks. GerardM On 18 September 2012 00:09, Steven Walling wrote: > On Sat, Sep 15, 2012 at 6:11 AM, Krinkle wrote

Re: [Wikitech-l] Notification bubble system

2012-09-17 Thread Steven Walling
On Sat, Sep 15, 2012 at 6:11 AM, Krinkle wrote: > ... yes, but now that we're on the subject, lets try to aim for > standardization here instead of encouraging arbitrary HTML for layout (I'd > like to phase that out sooner rather than later). We can allow HTML inside > the body (e.g. for hyperlin

Re: [Wikitech-l] Notification bubble system

2012-09-17 Thread Daniel Friesen
On Sun, 16 Sep 2012 22:44:14 -0700, S Page wrote: Great stuff. I think it should be in mw.util , alongside mw.util.jsMessage() , which I assume it obsoletes. https://gerrit.wikimedia.org/r/#/c/19199/ Krinkle, Aug 27th Is the system documented somewhere already so gadget/script authors can

Re: [Wikitech-l] Notification bubble system

2012-09-16 Thread S Page
Great stuff. I think it should be in mw.util , alongside mw.util.jsMessage() , which I assume it obsoletes. Is the system documented somewhere already so gadget/script authors can > start using it? > I don't see anything yet in https://www.mediawiki.org/wiki/ResourceLoader/Default_modules -- =S

Re: [Wikitech-l] Notification bubble system

2012-09-15 Thread Daniel Friesen
On Sat, 15 Sep 2012 06:11:31 -0700, Krinkle wrote: On Sep 14, 2012, at 3:11 AM, Daniel Friesen wrote: On Thu, 13 Sep 2012 15:03:04 -0700, Steven Walling wrote: On Wed, Sep 12, 2012 at 11:09 PM, Erik Moeller wrote: Is the system documented somewhere already so gadget/script author

Re: [Wikitech-l] Notification bubble system

2012-09-15 Thread Krinkle
On Sep 14, 2012, at 3:11 AM, Daniel Friesen wrote: > On Thu, 13 Sep 2012 15:03:04 -0700, Steven Walling > wrote: > >> On Wed, Sep 12, 2012 at 11:09 PM, Erik Moeller wrote: >> >>> Is the system documented somewhere already so gadget/script authors >>> can start using it? >>> >> >> +1 to doc

Re: [Wikitech-l] Notification bubble system

2012-09-13 Thread Daniel Friesen
On Thu, 13 Sep 2012 15:03:04 -0700, Steven Walling wrote: On Wed, Sep 12, 2012 at 11:09 PM, Erik Moeller wrote: Is the system documented somewhere already so gadget/script authors can start using it? +1 to docs for this, please. :) My other question is similar to what Andrew asked ea

Re: [Wikitech-l] Notification bubble system

2012-09-13 Thread Steven Walling
On Wed, Sep 12, 2012 at 11:09 PM, Erik Moeller wrote: > Is the system documented somewhere already so gadget/script authors > can start using it? > +1 to docs for this, please. :) My other question is similar to what Andrew asked earlier: what potential is there for including something more tha

Re: [Wikitech-l] Notification bubble system

2012-09-12 Thread Erik Moeller
On Mon, Aug 13, 2012 at 10:18 AM, Daniel Friesen wrote: > So I spent a night implementing a fully featured notification bubble system. > Something that should work for watchlists, VisualEditor, and perhaps some > other things like LQT, and perhaps anything we want to start making more > dynamic. S

Re: [Wikitech-l] Notification bubble system

2012-08-29 Thread Raylton P. Sousa
It looks like "NotifyOSD[1]" and think it will work very well with "echo[2]". I think an interesting thing would be the ability to position it on the screen through the preferences[3] [1]https://wiki.ubuntu.com/NotifyOSD [2]https://www.mediawiki.org/wiki/Echo_(Notifications) [3]https://www.mediaw

Re: [Wikitech-l] Notification bubble system

2012-08-28 Thread Helder .
On Tue, Aug 28, 2012 at 10:01 PM, Lars Aronsson wrote: > The auto-hide might be smooth for experienced > computer users, but perhaps not for the elderly people that we > try to recruit as new editors. That is one more use case for this: https://bugzilla.wikimedia.org/show_bug.cgi?id=30401 Helder

Re: [Wikitech-l] Notification bubble system

2012-08-28 Thread Lars Aronsson
On August 13, Daniel Friesen wrote: A little while ago Trevor Parscal changed our jsMessage setup to be a floating auto-hiding notification bubble. https://gerrit.wikimedia.org/r/#/c/17605/ That page, created on August 3, reads: "By being designed as a floating bubble instead of a static posit

Re: [Wikitech-l] Notification bubble system

2012-08-27 Thread Antoine Musso
Le 13/08/12 19:18, Daniel Friesen a écrit : > > So I spent a night implementing a fully featured notification bubble > system. Something that should work for watchlists, VisualEditor, and > perhaps some other things like LQT, and perhaps anything we want to > start making more dynamic. Same goes f

Re: [Wikitech-l] Notification bubble system

2012-08-16 Thread Daniel Friesen
I didn't like jsMessage's behaviour of mw.util.jsMessage( 'Foo' ); treating 'Foo' as html, so any string you pass will be treated as plaintext. But it does accept arbitrary DOM nodes and jQuery objects just like jsMessage did. And as a bonus it will also accept a mw.message instance and automatical

Re: [Wikitech-l] Notification bubble system

2012-08-16 Thread Andrew Garrett
This looks like it would work brilliantly for Echo real time notifications. Does it accept arbitrary HTML as a payload? On Mon, Aug 13, 2012 at 6:18 PM, Daniel Friesen wrote: > A little while ago Trevor Parscal changed our jsMessage setup to be a > floating auto-hiding notification bubble. > http

Re: [Wikitech-l] Notification bubble system

2012-08-13 Thread MZMcBride
Daniel Friesen wrote: > Here's a demo video of the new notification system: > https://www.mediawiki.org/wiki/File:Mw-notification.ogv > > The changeset is https://gerrit.wikimedia.org/r/#/c/19199/ Thank you very much for putting that video together. It was very helpful to understand what you were

Re: [Wikitech-l] Notification bubble system

2012-08-13 Thread Trevor Parscal
I support this change, it's a great next step on the design work I put into https://gerrit.wikimedia.org/**r/#/c/17605/ and seems to be very clever in the way it handles multiple messages. That said, it's a pretty big change to an area of code that Timo (

[Wikitech-l] Notification bubble system

2012-08-13 Thread Daniel Friesen
A little while ago Trevor Parscal changed our jsMessage setup to be a floating auto-hiding notification bubble. https://gerrit.wikimedia.org/r/#/c/17605/ The end implementation felt half-baked to me. Since it just swapped text for notification replacement. And didn't support multiple notifica