As can be see in the screencast below (also here) there are 2 types of compact preview popups :
- those for local resources of the forge, that are displayed directly, as queried by the JS code on the
/projects/pages with a specific “
application/x-fusionforge-compact+html“content-type (required in the
- those compatible with the OSLC compact preview specifications, that can be displayed, should any other application want to display a compact preview. Again, these are served with content-negociation for “
application/x-oslc-compact+xml“, which returns a short RDF document, which points to a script of the forge in charge of rendering the HTML compact preview.
The latter is demonstrated in the screencast, for display of popups for remote projects linked to a fusionforge project with the ‘
extsubproj‘ plugin I already blogged about.
This code is still new, but will hopefully extend to other forge resources.
In the meantime, I’d be glad to see other forges implement similar mechanisms.