Page MenuHomePhabricator

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

Authored by epriestley on Feb 13 2021, 8:56 PM.
Tags
None
Referenced Files
F13162796: D21554.id.diff
Mon, May 6, 3:45 PM
Unknown Object (File)
Fri, May 3, 4:08 AM
Unknown Object (File)
Fri, May 3, 12:37 AM
Unknown Object (File)
Thu, May 2, 11:48 PM
Unknown Object (File)
Wed, May 1, 11:49 AM
Unknown Object (File)
Wed, May 1, 3:14 AM
Unknown Object (File)
Tue, Apr 30, 2:09 PM
Unknown Object (File)
Tue, Apr 30, 9:45 AM
Subscribers
None

Details

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)

Diff Detail

Repository
rP Phabricator
Branch
policy5
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 25114
Build 34656: Run Core Tests
Build 34655: arc lint + arc unit

Unit TestsFailed

TimeTest
117 msPhabricatorCelerityTestCase::testCelerityMaps
Assertion failed, expected 'true' (at PhabricatorCelerityTestCase.php:32): When this test fails, it means the Celerity resource map is out of date. Run `bin/celerity map` to rebuild it. ACTUAL VALUE
203 msPhabricatorCelerityTestCase::testCelerityMaps
Assertion failed, expected 'true' (at PhabricatorCelerityTestCase.php:32): When this test fails, it means the Celerity resource map is out of date. Run `bin/celerity map` to rebuild it. ACTUAL VALUE
0 msAlmanacNamesTestCase::testServiceOrDeviceNames
30 assertions passed.
0 msAlmanacServiceTypeTestCase::testGetAllServiceTypes
1 assertion passed.
0 msAphrontHTTPHeaderParserTestCase::testHeaderParser
18 assertions passed.
View Full Test Results (2 Failed · 435 Passed · 2 Skipped)

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 13 2021, 8:57 PM
Harbormaster failed remote builds in B25114: Diff 51305!
This revision was not accepted when it landed; it landed in state Needs Review.Feb 13 2021, 9:38 PM
This revision was automatically updated to reflect the committed changes.