Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@Floressek Floressek released this 21 Jan 00:28

This version introduces several significant changes to the EmailAnalyzer.Client project, focusing on enhancing the authentication process, adding new pages, and updating dependencies. The most important changes include adding a new DateSelectionPage, updating the authentication flow, and modifying the project dependencies.

New Pages and Routing:

  • EmailAnalyzer.Client/AppShell.xaml: Added new ShellContent elements for DateSelectionPage and SummaryPage routes.
  • EmailAnalyzer.Client/AppShell.xaml.cs: Registered routes for DateSelectionPage and SummaryPage in the AppShell constructor.

Authentication Enhancements:

  • EmailAnalyzer.Client/App.xaml.cs: Added a helper property to access services from anywhere in the app and implemented token retrieval and logging in the OnStart method. [1] [2]
  • EmailAnalyzer.Client/Pages/LoginPage.xaml.cs: Updated the base address of the HttpClient to the production URL.

New Features:

  • EmailAnalyzer.Client/Pages/DateSelectionPage.xaml: Created a new page for selecting the date range for email analysis.
  • EmailAnalyzer.Client/Pages/DateSelectionPage.xaml.cs: Implemented logic for date range selection, token verification, and navigation to the summary page.

Project Configuration:

  • EmailAnalyzer.Client/EmailAnalyzer.Client.csproj: Added new package references for logging and MongoDB, and included a folder for ViewModels. [1] [2]

Code Cleanup:

  • Removed MainPage.xaml and its corresponding code-behind file MainPage.xaml.cs as they are no longer needed. [1] [2]