浏览代码

Closed beta ext -> beta

flabbet 8 月之前
父节点
当前提交
bd40cfbc47

+ 7 - 7
src/PixiEditor.ClosedBeta/ClosedBetaExtension.cs → src/PixiEditor.Beta/BetaExtension.cs

@@ -2,26 +2,26 @@
 
 
 namespace PixiEditor.ClosedBeta;
 namespace PixiEditor.ClosedBeta;
 
 
-public class ClosedBetaExtension : PixiEditorExtension
+public class BetaExtension : PixiEditorExtension
 {
 {
     public override void OnInitialized()
     public override void OnInitialized()
     {
     {
-        if (Api.Preferences.GetPreference<bool>("ClosedBetaWelcomeShown"))
+        if (Api.Preferences.GetPreference<bool>("BetaWelcomeShown"))
         {
         {
-            return;   
+            return;
         }
         }
-        
+
         WelcomeMessage welcomeMessage = new();
         WelcomeMessage welcomeMessage = new();
-        var window = Api.WindowProvider.CreatePopupWindow("Welcome to the closed beta!", welcomeMessage);
+        var window = Api.WindowProvider.CreatePopupWindow("Welcome to the PixiEditor 2.0 beta!", welcomeMessage);
         welcomeMessage.OnContinue += () =>
         welcomeMessage.OnContinue += () =>
         {
         {
-            Api.Preferences.UpdatePreference("ClosedBetaWelcomeShown", true);
+            Api.Preferences.UpdatePreference("BetaWelcomeShown", true);
             window.Close();
             window.Close();
         };
         };
 
 
         window.Width = 800;
         window.Width = 800;
         window.Height = 600;
         window.Height = 600;
-        
+
         window.CanResize = false;
         window.CanResize = false;
         window.CanMinimize = false;
         window.CanMinimize = false;
         window.ShowDialog();
         window.ShowDialog();

+ 1 - 0
src/PixiEditor.ClosedBeta/PixiEditor.ClosedBeta.csproj → src/PixiEditor.Beta/PixiEditor.Beta.csproj

@@ -11,6 +11,7 @@
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <PixiExtOutputPath>..\PixiEditor.AvaloniaUI.Desktop\bin\Debug\net9.0\win-x64\Extensions</PixiExtOutputPath>
     <PixiExtOutputPath>..\PixiEditor.AvaloniaUI.Desktop\bin\Debug\net9.0\win-x64\Extensions</PixiExtOutputPath>
     <ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
     <ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
+    <RootNamespace>PixiEditor.Beta</RootNamespace>
   </PropertyGroup>
   </PropertyGroup>
 
 
   <ItemGroup>
   <ItemGroup>

+ 0 - 0
src/PixiEditor.ClosedBeta/Program.cs → src/PixiEditor.Beta/Program.cs


+ 0 - 0
src/PixiEditor.ClosedBeta/WelcomeMessage.cs → src/PixiEditor.Beta/WelcomeMessage.cs


+ 7 - 5
src/PixiEditor.ClosedBeta/WelcomeMessageState.cs → src/PixiEditor.Beta/WelcomeMessageState.cs

@@ -10,11 +10,13 @@ public class WelcomeMessageState : State
 We are extremely exicted to share this version to you, early testers. Before you jump in and test all the new things,
 We are extremely exicted to share this version to you, early testers. Before you jump in and test all the new things,
 we have a few things to note:
 we have a few things to note:
 
 
-- This is a very first publicly available version of PixiEditor 2.0. Not every feature promised in the roadmap is
+- This is a very early version of PixiEditor 2.0. Not every feature promised in the roadmap is
   implemented yet. 
   implemented yet. 
 - App is not production ready! Expect bugs, crashes, unfinished features, placeholders and other signs of development.
 - App is not production ready! Expect bugs, crashes, unfinished features, placeholders and other signs of development.
-- Your feedback is the most important thing of this beta, please take a moment to report any issues and suggestions on the Discord channel.
-- Promised features available in this beta are: Animations, Procedural Art (Nodes)
+- Your feedback is the most important thing of this beta, please take a moment to report any issues and suggestions on PixiEditor Forum.
+(forum.pixieditor.net)
+- We are collecting anonymous usage data to fix bugs, crashes and performance issues. This data will help us to improve the app. During the beta 
+there is no option to opt-out. No personal data is collected.
 
 
 Click on below checkboxes that you understand what you are getting into and you are ready to test the app.
 Click on below checkboxes that you understand what you are getting into and you are ready to test the app.
 
 
@@ -31,12 +33,12 @@ I understand that:
             new Align(
             new Align(
                 Alignment.TopCenter,
                 Alignment.TopCenter,
                 new Column(
                 new Column(
-                    new Center(new Text("Welcome to the closed beta of PixiEditor 2.0!", TextWrap.Wrap,
+                    new Center(new Text("Welcome to the open beta of PixiEditor 2.0!", TextWrap.Wrap,
                         FontStyle.Normal,
                         FontStyle.Normal,
                         fontSize: 24)),
                         fontSize: 24)),
                     new Text(Body, TextWrap.Wrap, fontSize: 16),
                     new Text(Body, TextWrap.Wrap, fontSize: 16),
                     new CheckBox(
                     new CheckBox(
-                        new Text("The app is unstable and may crash and freeze", fontSize: 16,
+                        new Text("The app may be unstable, crash or freeze", fontSize: 16,
                             fontStyle: FontStyle.Italic),
                             fontStyle: FontStyle.Italic),
                         onCheckedChanged: (args) => CheckboxChanged(args.Sender as CheckBox, 0)),
                         onCheckedChanged: (args) => CheckboxChanged(args.Sender as CheckBox, 0)),
                     new CheckBox(
                     new CheckBox(

+ 0 - 0
src/PixiEditor.ClosedBeta/extension.json → src/PixiEditor.Beta/extension.json


+ 1 - 1
src/PixiEditor.sln

@@ -96,7 +96,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PixiEditor.Common", "PixiEd
 EndProject
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BuiltInExtensions", "BuiltInExtensions", "{99903753-40A6-434E-8B8F-CE55417CF7FC}"
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BuiltInExtensions", "BuiltInExtensions", "{99903753-40A6-434E-8B8F-CE55417CF7FC}"
 EndProject
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PixiEditor.ClosedBeta", "PixiEditor.ClosedBeta\PixiEditor.ClosedBeta.csproj", "{059904E2-9ACC-41E6-B78D-F0BC03CA9D78}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PixiEditor.Beta", "PixiEditor.Beta\PixiEditor.Beta.csproj", "{059904E2-9ACC-41E6-B78D-F0BC03CA9D78}"
 EndProject
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PixiDocks.Avalonia", "PixiDocks\src\PixiDocks.Avalonia\PixiDocks.Avalonia.csproj", "{2B4A9926-0532-4C59-9289-37775A7499A4}"
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PixiDocks.Avalonia", "PixiDocks\src\PixiDocks.Avalonia\PixiDocks.Avalonia.csproj", "{2B4A9926-0532-4C59-9289-37775A7499A4}"
 EndProject
 EndProject