Page MenuHomePhabricator

When opening a notification it disappears before navigating away
Closed, ResolvedPublic

Description

When clicking on a notification in the panel, it disappears for a second before the navigation to the associated content is produced.
This looks like a small glitch. It would be better if the whole panel got closed (only when opening a notification, not when marking it as read).

I captured the issue in an animation below:

Event Timeline

Catrope added a subscriber: Catrope.

I noticed this too and commented about it on T129898, but forgot to create a separate bug for it.

At T129898#2229476 I suggested that we could remove the mark-as-read-on-click behavior and instead append ?markread=123 to the primary link URL (where 123 is the event ID) and have requests with that parameter schedule a DeferredUpdate to mark that notification as read.

Change 286577 had a related patch set uploaded (by Catrope):
Replace mark-as-read-on-click with ?markasread= URL parameter

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

Change 286577 merged by jenkins-bot:
Replace mark-as-read-on-click with ?markasread= URL parameter

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

Checked in betalabs - when Notification is clicked, the open flyout with the clicked notification is still displayed until the page will be loaded.

jmatazzoni closed this task as Resolved.May 4 2016, 6:28 PM