HomePhabricator

Render user hovercards with context information about their ability to see the…

Description

Render user hovercards with context information about their ability to see the context object

Summary:
Ref T13602. When rendering a user hovercard, pass the object on which the reference appears. If the user can't see the object, make it clear on the hovecard.

Restyle the "nopermission" markup in mentions to make it more obvious what the style means: instead of grey text, use red with an explicit icon.

Test Plan:

Screen Shot 2021-02-13 at 12.50.53 PM.png (467×564 px, 35 KB)

Maniphest Tasks: T13602

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