The problem: The hovercard of a wiki article in the feed has no information whatsoever. Here is an example:
| Current Phriction Hovercard | Comparison with Maniphest Hovercard |
|---------------------------- |-------------------------------------|
| {F299705} | {F311294} |
In its current form, this hovercard has not more information than the text which triggers the card. Our wiki for exmakle is nested, so it would be really nice to see more than the title.
Proposal for a better hovercard:
```
<article title>
------------------------------
Wiki Page * <tags>
<full wiki path of article>
Last Author: <author>
Last Edited: <datetime>
```
---
Please feel free to add tags as you see fit.
---
##Research
- Rendering of hovercards is happening here: https://we.phorge.it/source/phorge/browse/master/src/applications/search/controller/PhabricatorSearchHovercardController.php$113
- There is a default hovercard which is always instantiated and can render all objects: https://we.phorge.it/source/phorge/browse/master/src/view/phui/PHUIHovercardView.php
- This rendering is very basic without extension.
- Some objects (revisions, commits, tasks, owner packages, users, projects) use https://we.phorge.it/source/phorge/browse/master/src/applications/search/engineextension/PhabricatorHovercardEngineExtension.php
- If there is a class, which extends `PhabricatorHovercardEngineExtension` and can render a certain kind of object, the hovercard of this object is given into the `renderHovercard` method to change the appearance of the card.
##Path forward
- Create a new class `PhrictionHovercardEngineExtension`, which extends `PhabricatorHovercardEngineExtension`
- `arc liberate` to register class
- happy coding ๐