Homestyx hydra
Diffusion hydra 216d308507ed

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, 2:07 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:b1ae1b1a6789: Remarkup code blocks: guess language from "name="
Branches
Unknown
Tags
Unknown

Event Timeline