Closed grebaldi closed 11 months ago
Could you maybe take a look at it? @nezaniel
ping @mficzel / @nezaniel
Thank you so much for taking care ❤️ This also fixes a bug when one tries to reedit a link from within the inspector, as the pending changes overlay will interfere:
Current dev-main https://github.com/sitegeist/Sitegeist.Archaeopteryx/assets/85400359/097ccd0e-37f6-4fd9-85e5-2e1e7e7f4eea
Additionally its a nice touch to have the orange border and shake animation when trying to click outside of the dialog. Previously the dialog wouldn't close either but just stay as is.
Though we have to adjust the composer json to be only compatible with neos ui patches with this fix - will do this later ;)
Would be awesome, if we could get this merged :)
fixes: #39
The problem
Dialog behavior in Neos UI has changed recently. Those changes collide with Sitegeist.Archaeoptryx' custom dialog implementation, which renders it unusable in the node creation dialog.
The solution
https://github.com/sitegeist/Sitegeist.Archaeopteryx/assets/2522299/58668079-c985-4f4d-babf-90dd23de2e3a
I replaced the custom dialog implementation with Neos UI's native dialog. For this I needed to (hackily) adjust the dialog's layout behavior, which lead to a follow-up PR in Neos.Neos.Ui.