xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 5 forks source link

Enable the multiple pages diagram feature #250

Closed oanalavinia closed 3 months ago

oanalavinia commented 7 months ago

Drawio offers the possibility to have multiple pages per diagram, check https://drawio-app.com/blog/multiple-pages-per-diagram/ image

I propose to support this feature in the Diagram Application as well.

Note that right now, if a diagram containing multiple pages is imported, you do have the UI for navigating through them. image

But, upon editing, only the first diagram is displayed and the rest will be deleted on save.

snazare commented 5 months ago

estimation will be done first.

mikus-strazdins commented 5 months ago

For me, this seems more like a critical bug than an improvement. When migrating content from Confluence to XWiki, all diagrams become uneditable because saving any changes will result in the deletion of all remaining diagrams in other pages.

snazare commented 5 months ago

Hi @mikus-strazdins thank you very much for your message. This is a current limitation of the Diagram Pro application, as it supports only single diagrams. However, we understand that multi-page diagrams are requested and may be especially required for Customers migrating from Confluence to XWiki. Therefore we are currently investigating the work required to provide this improvement. We will be back with an update as soon as possible.

jkalinovskis commented 4 months ago

Hi, @snazare! Still looking for any comments or updates for this issue. Thank you!

snazare commented 4 months ago

Hi @jkalinovskis thank you for your message. The evaluation will be finalised next week and we will come back with an update regarding the plan for this feature.

oanalavinia commented 3 months ago

Found some issues with this implementation, reopening for fixing it

oanalavinia commented 3 months ago

It looks like there is another bug that I haven't noticed.. https://github.com/xwikisas/application-diagram/issues/260 . I was trying different ways to fix the previous bug, so I didn't noticed that I broke again another part of the feature. Doing another release with a fix for it, sorry for that

oanalavinia commented 3 months ago

@mikus-strazdins you can now install the last diagram version for using this feature. Note that there 2 issues opened (#261 #262 ), but they don't affect the functionality of the feature. Feel free to open other issues if you find them :)