From 2e5fb414b53fc7ebcb0faf4ed689564a38758ab8 Mon Sep 17 00:00:00 2001 From: aj-rosado <109146700+aj-rosado@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:58:07 +0100 Subject: [PATCH] [PM-1835] Add ForwardEmail alias to Username Generator (#2803) * Add ForwardEmail alias to Username Generator * remove unnecessary initializer * Corrected order of alias Generators * PM-4307 - Trigger ForwardEmailDomainName PropertyChanged after initialization --- src/App/Pages/Generator/GeneratorPage.xaml | 9 ++++ .../Pages/Generator/GeneratorPageViewModel.cs | 27 ++++++++++ src/App/Resources/AppResources.Designer.cs | 9 ++++ src/App/Resources/AppResources.resx | 4 ++ src/Core/Enums/ForwardedEmailServiceType.cs | 2 + .../Domain/UsernameGenerationOptions.cs | 8 +++ .../EmailForwarders/ForwardEmailForwarder.cs | 52 +++++++++++++++++++ .../Services/UsernameGenerationService.cs | 7 +++ 8 files changed, 118 insertions(+) create mode 100644 src/Core/Services/EmailForwarders/ForwardEmailForwarder.cs diff --git a/src/App/Pages/Generator/GeneratorPage.xaml b/src/App/Pages/Generator/GeneratorPage.xaml index 73bc146ca..a9f27574e 100644 --- a/src/App/Pages/Generator/GeneratorPage.xaml +++ b/src/App/Pages/Generator/GeneratorPage.xaml @@ -278,6 +278,15 @@ Text="{Binding AddyIoDomainName}" StyleClass="box-value" AutomationId="AnonAddyDomainNameEntry" /> +