Settings page and manage accounts navigation options.

This commit is contained in:
Burak Kaan Köse
2026-01-06 17:23:58 +01:00
parent 7cc201f423
commit f105c2f8f0
29 changed files with 874 additions and 197 deletions
@@ -0,0 +1,27 @@
namespace Wino.Core.Domain.Enums;
/// <summary>
/// Specifies the animation effect to use during a slide navigation transition.
/// </summary>
public enum NavigationTransitionEffect
{
/// <summary>
/// The navigation transition effect starts from the left edge of the frame.
/// </summary>
FromLeft,
/// <summary>
/// The navigation transition effect starts from the right edge of the frame.
/// </summary>
FromRight,
/// <summary>
/// The navigation transition effect starts from the top edge of the frame.
/// </summary>
FromTop,
/// <summary>
/// The navigation transition effect starts from the bottom edge of the frame.
/// </summary>
FromBottom
}
+1
View File
@@ -30,6 +30,7 @@ public enum WinoPage
KeyboardShortcutsPage,
CalendarPage,
CalendarSettingsPage,
CalendarAccountSettingsPage,
EventDetailsPage,
SignatureAndEncryptionPage
}
@@ -39,6 +39,16 @@ public interface IStatePersistanceService : INotifyPropertyChanged
/// </summary>
bool IsEventDetailsVisible { get; set; }
/// <summary>
/// Whether ManageAccountsPage has navigated to a sub-page and can go back.
/// </summary>
bool IsManageAccountsNavigating { get; set; }
/// <summary>
/// Whether SettingsPage has navigated to a sub-page and can go back.
/// </summary>
bool IsSettingsNavigating { get; set; }
/// <summary>
/// Setting: Opened pane length for the navigation view.
/// </summary>
@@ -13,5 +13,5 @@ public interface INavigationService
Type GetPageType(WinoPage winoPage);
bool ChangeApplicationMode(WinoApplicationMode mode);
void GoBack();
void GoBack(NavigationTransitionEffect slideEffect = NavigationTransitionEffect.FromRight);
}
@@ -26,6 +26,10 @@
"AccountDetailsPage_Description": "Change the name of the account in Wino and set desired sender name.",
"AccountDetailsPage_ColorPicker_Title": "Account color",
"AccountDetailsPage_ColorPicker_Description": "Assign a new account color to colorize its symbol in the list.",
"AccountDetailsPage_TabGeneral": "General",
"AccountDetailsPage_TabMail": "Mail",
"AccountDetailsPage_TabCalendar": "Calendar",
"AccountDetailsPage_CalendarListDescription": "Select a calendar to configure its settings",
"AddHyperlink": "Add",
"AppCloseBackgroundSynchronizationWarningTitle": "Background Synchronization",
"AppCloseStartupLaunchDisabledWarningMessageFirstLine": "Application has not been set to launch on Windows startup.",
@@ -861,5 +865,15 @@
"ContactSelection_SelectAll": "Select All",
"ContactSelection_Clear": "Clear Selection",
"ContactsPage_EmptyState": "No contacts to display",
"ContactsPage_AddFirstContact": "Add your first contact"
"ContactsPage_AddFirstContact": "Add your first contact",
"CalendarAccountSettings_Title": "Calendar Account Settings",
"CalendarAccountSettings_Description": "Manage calendar settings for {0}",
"CalendarAccountSettings_AccountColor": "Account Color",
"CalendarAccountSettings_AccountColorDescription": "Change the display color for this calendar account",
"CalendarAccountSettings_SyncEnabled": "Enable Synchronization",
"CalendarAccountSettings_SyncEnabledDescription": "Enable or disable calendar synchronization for this account",
"CalendarAccountSettings_DefaultShowAs": "Default Show As Status",
"CalendarAccountSettings_DefaultShowAsDescription": "Default availability status for new events created with this account",
"CalendarAccountSettings_PrimaryCalendar": "Primary Calendar",
"CalendarAccountSettings_PrimaryCalendarDescription": "Mark this calendar as the primary calendar for the account"
}