Thanks, Mark.
This is what my contribution looked like:
provider.registerServiceProvider("orion.page.link.related", {}, {
id: "orion.cloudfier.content.examples",
tooltip: "Check out existing projects from the Cloudfier example repository.",
name: "Get Cloudfier examples",
});
I added the category as you suggested, and had to change the uriTemplate as well:
provider.registerServiceProvider("orion.page.link.related", {}, {
category: "edit",
id: "orion.cloudfier.content.examples",
tooltip: "Check out existing projects from the Cloudfier example repository.",
name: "Get Cloudfier examples",
});
1) The uriTemplate with the {OrionHome} placeholder that used to work in 4.0 was expanding to be relative to the current page (Edit), resulting in an invalid url (http:.../edit/http...). I guess I should report that? Or you are just going to clarify the new tokens in the documentation?
2) My contribution above means that now if the user clicks the Edit icon from the edit screen (not the related link bubble), they trigger my link. I guess that is a bug when number of links == 1?
Cheers,
Rafael