(One intermediate revision by the same user not shown)
Line 4:
Line 4:
|Name=Migration Dialog
|Name=Migration Dialog
}}
}}
The '''MigrationDialog''' component is used to collect information on what migration action should be done for transfering content from other platforms or other Resonite accounts.
|_swapRegion|'''[[Component:SlideSwapRegion|SlideSwapRegion]]'''|TypeAdv15=true| Thw region used for animation when switching between different screens in the migration dialog
|SetOverwrite:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Bool|Bool]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Bool|Bool]]>|true| Called when the overwrite button is touched.
|SetPreserveHome:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Bool|Bool]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Bool|Bool]]>|true| Called when the preserve home button is touched.
|ChooseAllData:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the choose all data button is touched.
|ChangeStep:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|true| Called when the change step button is touched.
|SaveGroupSelectionAndChange:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|true| Called when the save group selection and change button is touched.
|CheckLoginAndNext:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Component:MigrationDialog#State|MigrationDialog.State]]>|true| Called when the Check login and next button is touched.
|LoadGroupsPressed:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the load groups button is touched.
|OnSourceSelected:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Called when the source button is touched.
|StartMigrationPressed:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the start migration button is touched.
|CancelPressed:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cancel button is touched.
}}
}}
== Behavior ==
== State ==
{{Table EnumValues
|Source|0| The user is choosing the source like resonite or older platforms.
|Account|1| The user is specifying the account details of the account to transfer from.
|MigrationType|2| The user is choosing the migration type.
|ChooseData|3| The user is choosing what data to move.
|ChooseGroups|4| The user is choosing what groups to move.
|ChooseOverwrite|5| The user is choosing any overwriting options.
|ChooseHome|6| The user is picking Whether to transfer the source account's home world or generate a new one from default.
|ConfirmStart|7| The user is on the screen to confirm to start the migration.
[[Category:Components With Nested Enums{{#translation:}}|Migration Dialog]]
[[Category:Components With Nested Enums{{#translation:}}|Migration Dialog]]
[[Category:ComponentStubs]]
Latest revision as of 17:42, 26 June 2025
This is a userspace component — you cannot attach it anywhere but the userspace. Messing with the userspace can be fun, but it is not recommended as you risk messing your dash up if you don't know what you're doing.
The MigrationDialog component is used to collect information on what migration action should be done for transfering content from other platforms or other Resonite accounts.
This article or section is a stub. You can help the Resonite wiki by expanding it.