Page MenuHomePhabricator

Add secondary link for the agent to some notification types
Closed, ResolvedPublic

Description

For the following notification types, we'd like to add a secondary link to the user page (with the label being the user name and the icon being userAvatar) of the agent to serve as a signature of sorts: a consistent way to indicate who performed the action you're being notified about. Where this secondary link is present, it should always be the first secondary link.

Notification types:

flowusertalk-new-topic
flowusertalk-post-reply
flowusertalk-topic-renamed
flowusertalk-post-edited
flowboard-description-edited

Event Timeline

Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope subscribed.
Catrope set Security to None.
Catrope updated the task description. (Show Details)

Change 260587 had a related patch set uploaded (by Sbisson):
Add agent link to most notifications

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

Change 260589 had a related patch set uploaded (by Sbisson):
Add agent link to most Flow notifications

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

Change 260590 had a related patch set uploaded (by Sbisson):
Add agent link to all Thanks notifications

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

Change 260594 had a related patch set uploaded (by Sbisson):
Add agent link to all PageTriage notifications

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

Change 260597 had a related patch set uploaded (by Sbisson):
Add agent link to all notifications

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

Change 260623 had a related patch set uploaded (by Sbisson):
Add agent link on al notifications

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

Change 260587 merged by jenkins-bot:
Add agent link to most notifications

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

Change 260594 merged by jenkins-bot:
Add agent link to all PageTriage notifications

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

Change 260597 merged by jenkins-bot:
Add agent link to all notifications

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

Change 260623 merged by jenkins-bot:
Add agent link to all notifications

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

Change 260590 merged by jenkins-bot:
Add agent link to all Thanks notifications

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

Change 260589 merged by jenkins-bot:
Add agent link to most Flow notifications

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

osm-notif.png (88×497 px, 7 KB)

The OpenStackManager ones work on wikitech.

Current screenshots:

edit-user-talk

wiki text user talk page

Screen Shot 2016-02-09 at 10.12.51 AM.png (295×573 px, 40 KB)

Flow enabled talk page
Screen Shot 2016-02-09 at 10.17.19 AM.png (287×607 px, 59 KB)

reverted

Screen Shot 2016-02-09 at 11.00.47 AM.png (153×560 px, 27 KB)

mention

Screen Shot 2016-02-09 at 11.05.45 AM.png (223×599 px, 45 KB)

user-rights

Screen Shot 2016-02-08 at 2.20.31 PM.png (266×702 px, 54 KB)

emailuser

Screen Shot 2016-02-09 at 11.11.37 AM.png (157×538 px, 25 KB)

flow-new-topic

Screen Shot 2016-02-09 at 11.11.54 AM.png (178×561 px, 36 KB)

flow-post-reply

Screen Shot 2016-02-09 at 11.17.25 AM.png (180×561 px, 34 KB)

flow-post-edited

Screen Shot 2016-02-09 at 11.19.44 AM.png (179×613 px, 36 KB)

flow-topic-renamed

Screen Shot 2016-02-09 at 11.25.07 AM.png (99×526 px, 21 KB)

flow-mention

Screen Shot 2016-02-08 at 3.35.37 PM.png (374×588 px, 68 KB)

edit-thank

Screen Shot 2016-02-09 at 11.51.32 AM.png (155×562 px, 29 KB)

flow-thank

Screen Shot 2016-02-05 at 4.40.05 PM.png (396×652 px, 92 KB)

All PageTriage notifications

Screen Shot 2016-02-09 at 12.03.06 PM.png (160×541 px, 30 KB)

All EducationProgram notifications

Screen Shot 2016-02-09 at 9.43.40 AM.png (334×617 px, 69 KB)

I checked the spreadsheet and found the following new notification types that also get the agent secondary link:

  • flowusertalk-new-topic
  • flowusertalk-post-reply
  • flowusertalk-topic-renamed
  • flowusertalk-post-edited
  • flowboard-description-edited

I've added those five to the ticket description above. Also, should probably check the OpenStackManager notifications:

  • osm-instance-build-completed
  • osm-instance-reboot-completed
  • osm-instance-deleted
  • osm-projectmembers-add

Moving this back to Q&A.

The following are checked as part of verifying T121663: Create new notification category for talk pages: flowusertalk
flowusertalk-topic-renamed
flowusertalk-post-edited

Screen Shot 2016-03-03 at 9.59.22 AM.png (296×577 px, 61 KB)

Checked in betalabs:

flowusertalk-new-topic
flowusertalk-post-reply
flowboard-description-edited

flowusertalk-post-reply and flowboard-description-edited - look/function according to specs - see the screenshot.

@SBisson flowusertalk-new-topic Primary link does not direct to "The Flow board, with sorting order forced to newest topics first]"
Currently, when clicked on flowusertalk-new-topic, the new topic page will be displayed.
Note: When new topics are bundled, the primary link works according to specs.

Screen Shot 2016-03-03 at 11.33.52 AM.png (188×576 px, 35 KB)

Screen Shot 2016-03-03 at 11.30.54 AM.png (368×561 px, 64 KB)

@SBisson flowusertalk-new-topic Primary link does not direct to "The Flow board, with sorting order forced to newest topics first]"
Currently, when clicked on flowusertalk-new-topic, the new topic page will be displayed.

I think the primary action for 'flow-new-topic' and 'flowusertalk-new-topic' should be consistent

  • Single: New topic page
  • Bundle: Flow board, sorted by newest topics

Is it possible that this was a mistake in the spec?

Stephane suggests:

I think the primary action for 'flow-new-topic' and 'flowusertalk-new-topic' should be consistent
Single: New topic page
Bundle: Flow board, sorted by newest topics

Makes sense to me. I've updated the spreadsheet and requested comment. Meanwhile, @SBisson, please note that for consistency I've also changed the Primary Link Labels -- to View topic and View topics, respectively.

Checked according to @SBisson comments - all specs are in place.

I think the primary action for 'flow-new-topic' and 'flowusertalk-new-topic' should be consistent
Single: New topic page
Bundle: Flow board, sorted by newest topics