Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 07:28
Unknown Object (File)
Thu, Jun 13, 01:32
Unknown Object (File)
Thu, Jun 13, 01:32
Unknown Object (File)
Wed, Jun 12, 08:52
Unknown Object (File)
Tue, Jun 11, 21:20
Unknown Object (File)
Sun, Jun 9, 14:31
Unknown Object (File)
Sat, Jun 8, 18:18
Unknown Object (File)
Sat, Jun 8, 15:34

Details

Summary

Fix T15762. There's a complex interaction with project's AutoCapability requiring the membership info
to be already loaded, and the Mention rule assuming any project is fully loaded before trying to check
permissions.

As far as I can tell, the "contextObject" is currently used only to make the mention handle gray if
the mentioned user can't see it.

Test Plan

Load a Project's hovercard that @mentions a user that can't see the project - no crash.

Diff Detail

Repository
rP Phorge
Branch
proj-hover
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1127
Build 1127: arc lint + arc unit