Removed migrations. New onboarding screen and wizard like steps.

This commit is contained in:
Burak Kaan Köse
2026-03-06 03:42:08 +01:00
parent db5ecd60e4
commit aaa6e8a2c9
56 changed files with 1843 additions and 554 deletions
@@ -0,0 +1,24 @@
using CommunityToolkit.Mvvm.ComponentModel;
using Wino.Core.Domain.Enums;
namespace Wino.Core.Domain.Models.Accounts;
public partial class AccountSetupStepModel : ObservableObject
{
public string Title { get; init; }
[ObservableProperty]
[NotifyPropertyChangedFor(nameof(IsPending))]
[NotifyPropertyChangedFor(nameof(IsInProgress))]
[NotifyPropertyChangedFor(nameof(IsSucceeded))]
[NotifyPropertyChangedFor(nameof(IsFailed))]
public partial AccountSetupStepStatus Status { get; set; } = AccountSetupStepStatus.Pending;
[ObservableProperty]
public partial string ErrorMessage { get; set; }
public bool IsPending => Status == AccountSetupStepStatus.Pending;
public bool IsInProgress => Status == AccountSetupStepStatus.InProgress;
public bool IsSucceeded => Status == AccountSetupStepStatus.Succeeded;
public bool IsFailed => Status == AccountSetupStepStatus.Failed;
}