Hi,
I'm developing an Atlassian Connect plugin. I have it working where a separate page is created to view and interact with the plugin behaviour; however, I thought the user experience would be better using a dialog instead. Seeing that dialog is deprecated, I opted to follow the instructions for dialog2. I'm having a couple of problems:
- Dialog sizing: The "small" dialog size in the atlassian-connect.json seems to be about the right width but has quite a large height, especially for the amount of content I want to display. Therefore, I've adopted to use width and height parameters instead. Is that the right thing to do?
- The "dialog content", given a class type of "aui-dialog2-content", appears to give it the right colour (white) but it doesn't seem to fill the iframe in which it is contained. Is there a way to make it fill?
- select2 - I've used a select2 as field in which to enter values; however, when the drop-down appears to present possible values, it goes behind the dialog footer. You can scroll the content area to see the other values in the drop-down but this is a bit of a weird user experience. Is there any way to make the drop-down appear on top of everything else?
I've been trying to use the dialog that appears for the Labels option (JIRA Issue -> More -> Labels) as a template from a UI standpoint, and that's what I'd like to achieve.
Any help would be greatly appreciated.
Cheers,
Alex
Just in case it helps, my modules section is below:
"modules": {
"webItems":[
{
"location": "operations-operations",
"url": "/activity?issueKey={issue.key}",
"name": {
"value": "Ripple"
},
"conditions": [{
"condition": "user_is_logged_in"
}],
"context": "page",
"key": "ripple-web-item",
"target": {
"type": "dialog",
"options": {
"chrome": true,
"width": "420px",
"height": "100px",
"header": {
"value": "Ripple"
}
}
}
}
]
}