Rob--W / stackexchange-notifications

Realtime desktop notifications for Stack Exchange sites.
44 stars 8 forks source link

Mark all as read when opening #30

Open ghost opened 5 years ago

ghost commented 5 years ago

How to reproduce

  1. Configure the plugin
  2. Wait for an update to arrive (changing the icon to one with a number on it)
  3. Click the icon to show the inbox

Expected result

I believe an older version of this excellent plugin marked all items as read when displaying the inbox.

Actual result

I have to press an extra button while the inbox is open to mark all as read.

I would prefer not to have to click the button all the time.

Rob--W commented 5 years ago

What was the behavior of "an older version of this excellent plugin"? Before the last version, clicking the extension button would open the tab that you have configured at the options page.

In the latest version (2.2), I added a panel where I tried to match the appearance of the inbox on Stack Exchange/Stack Overflow/... websites. On these websites, opening the inbox automatically marks them as read, but since my extension is not part of the site, I made marking as read an optional feature.

I'm open to adding a preference to automatically mark items as read, but first I want to make sure that I understood your request and assumptions correctly (and that you're not confusing my extension with the website or another extension).