Page MenuHomePhabricator

Tray notifications from Help Panel with Flow in AR Wiki
Open, Needs TriagePublic

Description

In Arabic Wikipedia, the help desk works with Flow, so when a newcomer in posting a message there from the Help Panel feature, they read this message

Capture d'écran Deepin_zone de sélection _20200608201332.png (439×450 px, 46 KB)
and wait for a bell notification, but when they get answer, they receive a tray notification.
Capture d'écran Deepin_zone de sélection _20200608201455.png (493×112 px, 9 KB)

Event Timeline

@Dyolf77_WMF: Assuming this task is about the StructuredDiscussions code project, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects. Please set appropriate project tags when possible. Thanks!

Dyolf77_WMF renamed this task from Tray notifications with Flow in AR Wiki to Tray notifications from Help Panel with Flow in AR Wiki.Jun 9 2020, 11:33 AM
Dyolf77_WMF updated the task description. (Show Details)

@Aklapper : Thanks for adding that project.

@Dyolf77_WMF -- if the user is explicitly pinged in the Flow response, do they get a tray and a bell?

@Dyolf77_WMF -- if the user is explicitly pinged in the Flow response, do they get a tray and a bell?

@MMiller_WMF Yes, they get a tray and a bell:

Capture d’écran du 2020-09-03 09-08-10.png (431×111 px, 38 KB)

Capture d’écran du 2020-09-03 09-08-54.png (769×282 px, 71 KB)

Thanks, @Dyolf77 for reporting! I checked on arwiki betalabs for both - when a question is answered on a Mentor discussion page and for questions answered on Help desk. I did not see that Reply with mention will produce two notifications.

That how I tested:

    • user A posts a question to a mentor's Flow-based page or Help desk (also Flow-based)
  • user B answers user A (and mentions user A with {{FlowMention|user A}} - user A receives only one notification (an alert).

However, the topic will be added to user A watchlist and all other updates to the topics will trigger notifications.
For example, below the screenshot shows that the first notification (an alert) was with a mention; the second - a notice- was just reply on the topic (the notices will be sent for any update of the topic).

Screen Shot 2020-09-03 at 3.53.18 PM.png (1,134×450 px, 93 KB)

The bottom line - mentioning a user on a topic should not send a double notification - only a mention (it was specifically tested for Echo notifications) . If you notice that it's not the case, I'll look into it again.

Thanks @Etonkovidova for testing this on beta wiki,

@Dyolf77_WMF -- if the user is explicitly pinged in the Flow response, do they get a tray and a bell?

@MMiller_WMF Yes, they get a tray and a bell:

I noticed that the tray is because the topic was closed. So corrections to my comment above:

  • You are right @Etonkovidova, mentioning a user on a topic sends only one bell notification;
  • Not mentioning a user on a topic sends only one tray notification.

So when a question from a newcomer is sent to the help desk, who will reply to that question have to mention the newcomer to make sure they will receive a bell notification as shown in this message:

Capture d'écran Deepin_zone de sélection _20200608201332.png (439×450 px, 46 KB)

Thanks @Dyolf77 for rechecking and clarification.