Hi @jdawson, @jack, @nnmatveev, apologies for not being as responsive with updates and answering your questions as quickly as I would like. I am going to be working on this moving forward, but please know that we are reading these and very much appreciate your feedback & comments!
And now for the update
A fix was made to production about a week ago that resolves the problem around the magic number and Jira users losing all the previously opened content panels for any given Jira issue. We are saving the module’s descriptor module key and dropping the random numeric part. This should persist the user preferences on which content panels are displayed when updating the descriptor for your app.
So, you should be able to freely update your descriptor without any negative affects on the Issue Content module and the display of iFrames below.
What we are working on now
We are working on being able to allow vendors to programmatically show/hide the iframe that is tied to the new Issue Content module.
- We were hesitant of allowing this in the beginning, because we had a lot of user feedback about the overwhelming use of empty iFrames being drawn across the old issue detail view. We wanted to address this as part of the new issue view.
- However, there are many use cases where you will be adding content to an issue programmatically (not in Jira) that we need to accommodate for. Also, the source of this data originates with the marketplace app vendor, so any end state ends up with giving control to vendors on whether to show iFrames or not (ideally, based on content being there or not as a best practice).
The way this will work is that we will allow you to specify the issue entity property to look at, which will be tied to the Issue Content module. You will define this up front in the descriptor. Then, our logic is simple: If the entity property exists at all (even if null value), we will show the iFrame, if not we will hide it. It’s up to you the vendor to then manage this lifecycle.
This should tie in nicely with the ACJS event that fires when the quick add icon is clicked by a user, opening up the attach diagram in your example, and then if there is content added and the modal is closed, we will show the iFrame below. If they cancel out of that modal and no content is added, then no iFrame will be displayed.
More details on this will be published on a seperate thread under tag ‘new-issue-view’.