HomePhorge

Restructure Hovercards to support more context information

Description

Restructure Hovercards to support more context information

Summary:
Ref T13602. Currently, Hovercards are functions only of the object they represent (and the viewer, etc).

Recent changes to how users who can't see an object are rendered motivate making them a function of both the object they represent and the context in which they are being viewed. In particular, this enables a hovecard for a user to explain "This user can't see the thing you're lookign at right now.", so visual "exiled" markers can have a path forward toward discovery.

Test Plan:

  • This change isn't expected to affect any behavior.
  • Viewed hovercards, moused over/out, resized windows, viewed standalone cards, viewed debug cards, saw no behavioral changes.

Maniphest Tasks: T13602

Differential Revision: https://secure.phabricator.com/D21553

Details

Provenance
epriestleyAuthored on Feb 13 2021, 11:23 AM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rP58bbd6ee8838: Propagate the "ContextObject" to Remarkup rendering in timelines
Branches
Unknown
Tags
Unknown

Event Timeline