Page MenuHomePhabricator

Watchlist Expiry: display clock & remaining watch period in recentchanges [MEDIUM]
Open, Needs TriagePublic

Description

As a Watchlist Expiry user, I want to be able to identify which items are being temporarily watched and find their expiration date when viewing RecentChanges, so that I can see the status of all items and determine if any modifications must be made to the watch period.

Background: We have already basic support for temporarily watched items in RecentChanges via T252136. Now, we will be implementing support for watchlist status indicators in the Recent:Changes, which is similar behavior to the work done in T250212 for Special:Watchlist).

Acceptance Criteria:

  • Indicate when a page is being watched temporarily
    • Display clock icon (to the right of the page name) when page is being temporarily
    • Keep remaining behavior for pages that are being watched permanently
  • Indicate the remaining time period for temporarily watched pages
    • When user hovers over the clock icon, the remaining time for the watch period should be diplayed as a tooltip
    • Use the following language in tooltip: "XX days left in your watchlist"
  • Add same legend entry as used in T250212

Visual Example (from Special:Watchlist, but the UI should be pretty much the same):

Event Timeline

ifried created this task.Fri, Jul 17, 11:22 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFri, Jul 17, 11:22 PM
ifried updated the task description. (Show Details)Thu, Jul 23, 7:25 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)Thu, Jul 23, 7:29 PM
ifried renamed this task from Watchlist Expiry: display clock & remaining watch period in recentchanges [placeholder] to Watchlist Expiry: display clock & remaining watch period in recentchanges.Thu, Jul 23, 7:31 PM
ifried updated the task description. (Show Details)
ARamirez_WMF renamed this task from Watchlist Expiry: display clock & remaining watch period in recentchanges to Watchlist Expiry: display clock & remaining watch period in recentchanges [MEDIUM].Thu, Jul 23, 8:46 PM
Restricted Application edited projects, added Community-Tech; removed Community-Tech (Kanban-2020-21-Q1). · View Herald TranscriptThu, Jul 23, 9:43 PM
HMonroy claimed this task.Mon, Jul 27, 5:33 PM
HMonroy moved this task from Ready to In Development on the Community-Tech (Kanban-2020-21-Q1) board.
HMonroy removed HMonroy as the assignee of this task.Mon, Jul 27, 5:37 PM
HMonroy moved this task from In Development to Ready on the Community-Tech (Kanban-2020-21-Q1) board.
HMonroy added a subscriber: HMonroy.

Change 616706 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Add watchlist clock icon to RecentChanges

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

Change 616706 merged by jenkins-bot:
[mediawiki/core@master] Add watchlist clock icon to RecentChanges

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

Change 617813 had a related patch set uploaded (by MusikAnimal; owner: Samwilson):
[mediawiki/core@REL1_35] Add watchlist clock icon to RecentChanges

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

Change 617813 merged by jenkins-bot:
[mediawiki/core@REL1_35] Add watchlist clock icon to RecentChanges

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