Desktop notifications


  • sockdevs

    Now we have them… how do we configure them? And what do we get them for?



  • Server or client side?
    I haven't been offered any on Chrome / on iOS.


  • sockdevs

    @swayde said:

    Server or client side?


    :rolleyes:

    Chrome asked me if I wanted to allow notifications, so I said 'Eh, why not?'
    And now I don't know where to configure them…



  • I asked since you might want to enable them server side You know, since I had not seen any client side. Also, why am I left out? Neither chrome on iOS,android or Windows offers me notifications...


  • area_deu

    Firefox does!


  • mod

    My Chrome did.Have you done a refresh lately? Received any PMs? That's what triggered it for me.



  • Your replies seems to have triggered it now... But only on the Android device (which I opened to reply)


  • sockdevs

    Minor related :wtf::

    It's a bit dark!



  • @RaceProUK said:

    Chrome asked me if I wanted to allow notifications, so I said 'Eh, why not?'And now I don't know where to configure them…

    Chrome: Turn Notifications On or Off

    Addendum: Then I read it closer and it was confusing and I realized you have to be using notifications for anything, to be able to get the notifications icon in Windows. But it turns out that you can click on the lock (or document) left of the URL to configure a website in Windows, just like in Android. Learned something new.


  • Winner of the 2016 Presidential Election

    I denied immediately, since all I can see it doing is popping up something like

    Reply from @raceproUk
    wanker

    when my boss is looking over my shoulder


  • mod

    I tend to browse the site for a bit, go do work, then come back to refresh my brain between tasks.

    Notifications suck me back into the site in the middle of my "productive" time.

    No, thanks. At least not on this machine. I hope I can set it independently at home and have it not sync those settings...



  • Hm. Does not mention iOS at all. Does not seem to be able to enable notifications either.. "able to enable" 😛



  • I've never used notifications on FF before. I was expecting something a bit more... subtle.


  • Discourse touched me in a no-no place

    Seems to be stuff that turns up in the :fa_comment:

    Badly if the topic name is long. This is the full width shown on the screen of the laptop I'm currently using:


  • Discourse touched me in a no-no place

    And I see nothing anywhere (including /admin) about configuring them.



  • Very good that :laughing:

    You're clearly the :wtf: for allowing users to have thread titles longer than 8 characters.



  • @Boner said:

    thread titles longer than 8 characters

    >5E+14 possible titles1. That should be enough for anyone.

    1 For a very restricted character set, \w + space + a couple of basic punctuation; a lot more if you allow a larger character set.



  • Does Chrome sync the "Allow notifications" setting between machines?
    If it does, I'll keep the work desktops on the old version of Chrome that doesn't support these notifications.



  • @loopback0 said:

    Does Chrome sync the "Allow notifications" setting between machines?

    Not if you don't log in.

    Filed under: I have never logged into Chrome.



  • Which I have, because some synchronisation is handy.

    At the moment it's :cow2: though because Chrome at work doesn't auto update so it's on a version without notifications.



  • I've been prompted on both android and windows (in chrome, logged in as same user) in that order.
    Make of that what you want. (ie. i presume it does not sync that setting)
    Does any of you get notifications on android/mobile? I've accepted them on android, but i don't get any, whereas on windows i get them (even old ones).



  • Android Chrome hasn't asked about notifications.



  • Oh, no, used Dischorse for a couple of minutes and now it's asked.


  • Winner of the 2016 Presidential Election

    Maybe it's the first time when you should actually get one if they were turned on?



  • Desktop notifications make it even less feasible to have any thread on "Watching" for any period of time.



  • It's Discourse, I'm not expecting logic here.


  • area_deu

    Notifications seem reasonably useful on slow days. i.e.not during the week


  • sockdevs

    they also, thankfully, seem to be suppressed when you are active on the site.

    not sure how multiple tabs work as i don't habitually multitab discourse


  • sockdevs

    @accalia said:

    not sure how multiple tabs work as i don't habitually multitab discourse

    I do when there's activity in the Sekret PM Club; it's… Discoursistent.


  • Winner of the 2016 Presidential Election

    I get them when in a different (non-Discourse) tab. And maybe when browser is out of focus? Not sure, really.


  • mod

    @accalia said:

    not sure how multiple tabs work as i don't habitually multitab discourse

    Not worth it. Turn of desktop notifications if you enjoy the tabbed browsing experience.


  • Winner of the 2016 Presidential Election

    From what I can piece together (also reading the posts over at meta.d) it only prompts if the notification is delivered on THE background tab.

    So If you open 3 tabs, Discourse uses some voodoo to decide which one is the active instance (either the one I opened or the one I visited last... not sure which) and only gives you notifications if that tab is out of focus or something is happening in a topic that is not that tab.

    This makes sense to me, as those people who use multiple tabs would get swamped if they got a notification for every event for every Discourse-tab they have open.

    Filed Under: It's rikings feature as far as I can tell... ask him about details


  • sockdevs

    @Kuro said:

    It's rikings feature as far as I can tell... ask him about details

    @riking?


  • Winner of the 2016 Presidential Election

    @riking!

    Filed Under: Notification spam!


  • sockdevs

    Maybe it's like Beetlejuice; you have to say his name three times.

    @riking!



  • Give the kid a break; he's probably neck-deep in final exams right about now...



  • IIRC @riking said he wasn't too sure about the code that handles multiple tabs.

    He probably used other words, but those are the best that fit my memory :laughing:



  • That said - sometimes the desktop notification hangs around ages after the Disconotification is cleared and needs manually clearing,



  • @Onyx said:

    Maybe it's the first time when you should actually get one if they were turned on?

    That's correct. In order to turn it on if you previously denied it, you'll need to put the permission back to default and refresh (as it fast-exits if you denied permission).

    @Kuro said:

    So If you open 3 tabs, Discourse uses some voodoo to decide which one is the active instance (either the one I opened or the one I visited last... not sure which) and only gives you notifications if that tab is out of focus or something is happening in a topic that is not that tab.

    @loopback0 said:

    IIRC @riking said he wasn't too sure about the code that handles multiple tabs.

    Yes, this is correct. I'm still convinced there's a bug in the active tab tracking, but can't figure it out. Repros welcome.



  • @RaceProUK said:

    Now we have them… how do we configure them? And what do we get them for?

    There is no configuration, since I didn't really see any configurable points beside "enabled/not enabled". You only get popup notifications for "actionable items" - e.g. watched topic posts, replies, quotes, PMs, but not likes or badge awards.



  • How can you tell? Doesn't it just get diluted into the mass of other bugs?



  • ... Because it's self-contained code with its only output visible to/used by other code consisting of a single boolean variable per JS context?



  • @riking said:

    ... Because it's self-contained code with its only output visible to/used by other code consisting of a single boolean variable per JS context?

    You speak words of wisdom, but they carry no meaning here in Discourse land.

    Now calmly go away before someone hears you speaking of this "self-contained" heresy.



  • @riking said:

    ... Because it's self-contained code with its only output visible to/used by other code consisting of a single boolean variable per JS context?

    You write Discourse code, we're going to call it a piece of shit.

    Welcome to DailyWTF.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.