Google Chrome extension for discourse notifications


(Alessandro) #1

I’ve released the new version 1.0.0.
I’ve added the multi-site feature: the user can add more discourse sites to see all notifications in one single place.
You can install it from here: Discourse Forum Notifications - Chrome Web Store
(The version bump is because of completely code rewrite.)

All previous posts about versions are:




(Anton) #2

A few screenshots would make it easier to click on the link and get more info about the plugin.


#3

I had this extention before the update and it worked well, but now it seems to be giving me issues

The bar on top seems unnecessarily big, the image is broken (not even sure what the image should be), and the unread notifications badge doesn’t show up anymore, yet it’s still up-to-date with I click it. Along with the number badge not working, Chrome’s desktop notifications also stopped

Also for reference, this is what it used to look like for me in case it wasn’t meant to or something, I think it looked much better before


(Alessandro) #4

Notifications list about two discourse sites:

The options page:

and a desktop notification:


(Rafael dos Santos Silva) #5

No love for subfolder installs? :sadpanda:


(Alessandro) #6

It tries to get the icon site image png and if it fails it uses the favicon.

unread notifications are showed with a different background color as previous. Once the user read the post, the background becomes white. Chrome desktop notifications are displayed only if no discourse site is opened in the browser to avoid double notifications. Check if they are enabled into the options page.

The look is the same of previous version, except the head bar that shows the site reference to distinguish them and a little white side borders.

Have you tried a disable/enable extension ? Or reboot the browser ? Or to reinstall it ?


#7

Reinstalling fixed the image, but the forum I use this for isn’t super active so I’m gonna have to wait and see for the badge and notifications


(Alessio Fattorini) #8

Looks good to me! Very very useful, now I can use the same extension for my community and meta.
Great work friend!


(Alessandro) #9

I’m not sure I understand what you mean. Can you elaborate ?


(Rafael dos Santos Silva) #10

If my Discourse install is on a subfolder like example.com/forum the extension register only example.com


(Alessandro) #11

:+1: you are right. Please open an issue on github


(cpradio) #12

Done.


(cpradio) #13

Submitted a PR for it too
https://github.com/alepolidori/chrome-discourse-notifications/pull/17


(Alessandro) #14

New version 1.1.0

Thx to @cpradio


(cpradio) #15

Just wanted to say thanks to getting this deployed @alep! It works great on our sub-folder instance. :smile:


(Alessandro) #16

@cpradio glad to hear it is helpful for you too :+1:


(Anton) #17

Can I increase the font?
It looks too small especially on big hires screens like iMac 27’’


(Anton) #18

Issues (in the latest version)

Issue 1

Clicking on the “Earned badge XXX” elements lead to a non-existing page:

Issue 2

Clicking in the popup box always opens a new tab. Instead, it should check if the is a tab with the same Discourse instance opened already and updates the tab’s URL instead.

As a minimum thing, you should use some target per-discourse-website, so that every time I click on a link in your notification plugin, it opens in the same tab rather than in a new tab.

For example: target="discourse_notification_meta.discourse.org".

Issue 3

“Badge earned” notifications still blue after clicking on them:


(Alessandro) #19

Sorry, not now. Please sign it as a new issue in github Issues · alepolidori/chrome-discourse-notifications · GitHub


(Alessio Fattorini) #20

You miss also some icons, check the pic below