Bitbucket app developers please be aware that for Bitbucket 7.11. and 7.12. Modalextension is not working for the Pullrequest summary page.
Here are the steps I used to expose the problem, all based on Atlassian sample code.
- set up demo environment Getting Started - Client-side Extensions
- Make sure the modal extension work in the PR diff page
- change
@extension-point
indiff-toolbar-extension.js
to
/**
* @clientside-extension
* @extension-point bitbucket.ui.pullrequest.overview.summary
*/
export default ModalExtension.factory((pluginApi, context) => {
in order to display the modal on the overview summary page.
4. run $ atlas-package -DskipTests ; atlas-install-plugin
5. Refresh the PR summary page
The modal element is not there.
While the modal ext is actually loaded, onAction()
is never called in this location.
Please comment and vote [CSE-120] - Ecosystem Jira