HomePhorge

Fix Project Hovercard rendering @mention

Description

Fix Project Hovercard rendering @mention

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.

Reviewers: aklapper, O1 Blessed Committers

Reviewed By: aklapper, O1 Blessed Committers

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15762

Differential Revision: https://we.phorge.it/D25562

Details

Provenance
Aviv EyalAuthored on Mar 26 2024, 11:07 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPb1ae1b1a6789: Remarkup code blocks: guess language from "name="
Branches
Unknown
Tags
Unknown

Event Timeline