Last modified: 2014-02-09 03:30:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49092, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47092 - Echo: Implement 'Mark all as read'
Echo: Implement 'Mark all as read'
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Echo (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-10 18:58 UTC by Fabrice Florin
Modified: 2014-02-09 03:30 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fabrice Florin 2013-04-10 18:58:25 UTC
We'd like to give users a button that lets them mark older notifications as read, so their badge goes back to zero. 

This button could go either in the flyout or archive page, or both.

This is a high priority for our first release, because a number of people have complained about this issue: they see that the badge is showing a number, but they cannot find the older notification that's causing the issue, because it is buried deep into the archive, several clicks away.

See our preliminary requirements for this feature:
http://www.mediawiki.org/wiki/Echo/Feature_requirements#Mark_all_as_read
Comment 1 Ryan Kaldari 2013-04-17 00:36:13 UTC
This is actually a difficult feature to implement due to potential performance issues. If a user has thousands of unread notifications (which is possible) updating them all at once would be an expensive hit on the database. In those cases we may want to defer the job to the job queue or do some sort of batching.
Comment 2 Fabrice Florin 2013-04-17 00:50:01 UTC
Yes, based on our recent discussion, this would have to be postponed to a later date, since it doesn't seem practical for our first release next week. So I have lowered the priority, to give us time to explore back-end implementation strategies.
Comment 3 Gerrit Notification Bot 2013-04-17 01:02:05 UTC
Related URL: https://gerrit.wikimedia.org/r/59568 (Gerrit Change Ifcb0a436e2b31062741c441cca239d35ddefa0e1)
Comment 4 Ryan Kaldari 2013-04-17 01:03:51 UTC
I checked in an initial version without performance safeguards as change Ifcb0a436. Marked as -2 for now.
Comment 5 Ryan Kaldari 2013-04-18 23:30:19 UTC
Added some limitations for performance reasons and deployed. Still need a solution for users with thousands of unread notifications (right now they just have to clear them all manually).
Comment 6 Gerrit Notification Bot 2013-05-21 21:06:50 UTC
Related URL: https://gerrit.wikimedia.org/r/64858 (Gerrit Change I7896abbc1b8268d13692a0521b7c696226618b76)
Comment 7 Erik Bernhardson 2013-05-21 23:33:17 UTC
Checked in an initial implemention of batch updating the user notifications using the same components we use in db migrations.  Echo already contains an appropriate index for the query( the user_event index on echo_notification ) but there may be other concerns i'm not aware of.
Comment 8 Kunal Mehta (Legoktm) 2013-09-01 03:12:15 UTC
I get a "mark all as read" button on my flyout (added in Ifcb0a436e2b31062741c441cca239d35ddefa0e1), but not on [[Special:Notifications]] itself. Is that still being worked on?
Comment 9 spage 2013-09-23 20:41:12 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/201
Comment 10 Gerrit Notification Bot 2013-12-30 16:24:04 UTC
Change 64858 abandoned by EBernhardson:
Batch update job for unread user notifications

Reason:
there wasn't really much interest

https://gerrit.wikimedia.org/r/64858

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links