diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index db0c0a9d4..fb2584163 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -17,11 +17,11 @@ jobs: runs-on: windows-latest steps: - name: Checkout - if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' + #if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' uses: actions/checkout@v4 - name: DocFX Build - if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' + #if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' working-directory: docfx run: | dotnet tool install -g docfx @@ -31,11 +31,11 @@ jobs: continue-on-error: false - name: Setup Pages - if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' + #if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' uses: actions/configure-pages@v5 - name: Upload artifact - if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' + #if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' uses: actions/upload-pages-artifact@v3 with: path: docfx/_site diff --git a/ReactiveExample/FodyWeavers.xml b/ReactiveExample/FodyWeavers.xml deleted file mode 100644 index 63fc14848..000000000 --- a/ReactiveExample/FodyWeavers.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/ReactiveExample/FodyWeavers.xsd b/ReactiveExample/FodyWeavers.xsd deleted file mode 100644 index f3ac47620..000000000 --- a/ReactiveExample/FodyWeavers.xsd +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/ReactiveExample/LoginView.cs b/ReactiveExample/LoginView.cs index 154bfbece..a69d38f84 100644 --- a/ReactiveExample/LoginView.cs +++ b/ReactiveExample/LoginView.cs @@ -8,20 +8,137 @@ namespace ReactiveExample; public class LoginView : Window, IViewFor { - private readonly CompositeDisposable _disposable = new (); + private const string SuccessMessage = "The input is valid!"; + private const string ErrorMessage = "Please enter a valid user name and password."; + private const string ProgressMessage = "Logging in..."; + private const string IdleMessage = "Press 'Login' to log in."; + + private readonly CompositeDisposable _disposable = []; public LoginView (LoginViewModel viewModel) { Title = $"Reactive Extensions Example - {Application.QuitKey} to Exit"; ViewModel = viewModel; - Label usernameLengthLabel = UsernameLengthLabel (TitleLabel ()); - TextField usernameInput = UsernameInput (usernameLengthLabel); - Label passwordLengthLabel = PasswordLengthLabel (usernameLengthLabel); - TextField passwordInput = PasswordInput (passwordLengthLabel); - Label validationLabel = ValidationLabel (passwordInput); - Button loginButton = LoginButton (validationLabel); - Button clearButton = ClearButton (loginButton); - LoginProgressLabel (clearButton); + var title = this.AddControl