Import functionality for wino accounts, calendar sync UI, bunch of shell improvements

This commit is contained in:
Burak Kaan Köse
2026-04-04 20:23:20 +02:00
parent 1667aa34db
commit 1d0fcfb5b0
68 changed files with 2792 additions and 519 deletions
@@ -0,0 +1,8 @@
namespace Wino.Core.Domain.Models.Accounts;
public sealed class WinoAccountSyncExportResult
{
public bool IncludedPreferences { get; init; }
public bool IncludedAccounts { get; init; }
public int ExportedMailboxCount { get; init; }
}
@@ -0,0 +1,15 @@
namespace Wino.Core.Domain.Models.Accounts;
public sealed class WinoAccountSyncImportResult
{
public bool IncludedPreferences { get; init; }
public bool IncludedAccounts { get; init; }
public bool HadRemotePreferences { get; init; }
public int AppliedPreferenceCount { get; init; }
public int FailedPreferenceCount { get; init; }
public int ImportedMailboxCount { get; init; }
public int SkippedDuplicateMailboxCount { get; init; }
public int RemoteMailboxCount { get; init; }
public bool HasAnyRemoteData => HadRemotePreferences || RemoteMailboxCount > 0;
}
@@ -0,0 +1,5 @@
namespace Wino.Core.Domain.Models.Accounts;
public sealed record WinoAccountSyncSelection(
bool IncludePreferences = true,
bool IncludeAccounts = true);
@@ -1,7 +1,10 @@
#nullable enable
namespace Wino.Core.Domain.Models.Navigation;
public sealed class ShellModeActivationContext
{
public bool IsInitialActivation { get; init; }
public object Parameter { get; init; }
public bool SuppressStartupFlows { get; init; }
public object? Parameter { get; init; }
}