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
Unknown Object (File)
Tue, Nov 19, 3:18 PM
Unknown Object (File)
Thu, Nov 14, 9:34 AM
Unknown Object (File)
Thu, Nov 14, 8:25 AM
Unknown Object (File)
Thu, Nov 14, 7:14 AM
Unknown Object (File)
Thu, Nov 14, 7:10 AM
Unknown Object (File)
Thu, Nov 14, 7:09 AM
Unknown Object (File)
Thu, Nov 14, 6:40 AM
Unknown Object (File)
Thu, Nov 14, 6:04 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.