Skip to content

Merged the panel features from the preview version to this one.#34

Draft
ArneMaes0 wants to merge 2 commits into
SkylineCommunications:10.5.4.Xfrom
ArneMaes0:dev/10.5.4.X/MergePreviewVersion
Draft

Merged the panel features from the preview version to this one.#34
ArneMaes0 wants to merge 2 commits into
SkylineCommunications:10.5.4.Xfrom
ArneMaes0:dev/10.5.4.X/MergePreviewVersion

Conversation

@ArneMaes0
Copy link
Copy Markdown
Member

@ArneMaes0 ArneMaes0 commented Jun 5, 2025

Breaking Changes

All the other publicly exposed properties, method and arguments are left the same, except for the InteractiveController:

  • CurrentDialog property went from Dialog -> IDialog
  • ShowDialog method went from Dialog -> IDialog

But all the existigs Dialogs in existing script will implement this IDialog interface by default, because the Dialog class implement it. For example in the YLE solution using this version would result in changing 2 lines of code from Dialog to IDialog.

New Features

What this version brings to the table in form of new features is the following:

  • A dialog is now based on a panel, there's 3 different build in ones
    • GridPanel, is the equivalent of the normal Dialog
    • StackPanel, Shows widget one after another
    • FormPanel, Show widgets one after another with a label in front
  • You can imbed panels in panels without you needing to calculate where it should fit in the global picture
  • Fixes something starters found weird where if you add a section and then clear it that it doesn't show up in the view, with the panels that works because the panels keep references to the imbedded ones.
  • You can easily create custom reusable panels specific for you use case, based on the 3 build in ones.

This has one breaking change in case some script depends on the CurrentDialog property of the InteractiveController as that one has been changed from the concrete Dialog class to the interface IDialog.
@ArneMaes0 ArneMaes0 force-pushed the dev/10.5.4.X/MergePreviewVersion branch from d22c30f to 1ed2e4e Compare August 7, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant