Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several enhancements to the
FinTrackproject, including improved logging, updates to models, and the addition of new properties and methods. Notable changes include integratingILoggerfor better logging across various components, refining model properties for default values and clarity, and restructuring certain features to enhance functionality.Logging Enhancements:
FinTrack/Core/SecureTokenStorage.cs: IntegratedILoggerfor logging token-related operations, replacingConsole.WriteLinestatements with structured logging for better error tracking and information. [1] [2] [3] [4]FinTrack/ViewModels/ApplicationRecognizeSlideViewModel.cs: Added logging for user interactions with application slides, such as navigating forward, backward, or skipping. [1] [2]FinTrack/ViewModels/AuthenticatorViewModel.cs: Implemented logging for token validation and login flow, including handling invalid tokens and saved token login scenarios.FinTrack/ViewModels/BottomBarViewModel.cs: Added logging for interactions with the bottom bar, such as initiating new transactions.Model Updates:
FinTrack/Models/Account/AccountModel.cs: Updatednameproperty to default to an empty string and refinedIconPathlogic for better handling of account types. [1] [2]FinTrack/Models/Currency/CurrencyModel.cs: Added new observable properties (dailyLow,dailyHigh,weeklyChange,monthlyChange) to enhance currency tracking.FinTrack/Models/Dashboard/DebtDashboard.cs: ChangedStatusBrushproperty type toBrushfor better UI integration.Feature Enhancements:
FinTrack/Models/Dashboard/ReportDashboardModel.cs: Replaced theReportDashboardclass with a new MVVM-basedReportDashboardModel, adding support for export formats and a command to generate reports with logging. [1] [2]FinTrack/ViewModels/AuthenticatorViewModel.cs: Added functionality to handle saved token login and token validation, improving user authentication flow.Resource Updates:
FinTrack/FinTrack.csproj: Updated resource paths for icons to ensure consistency and added new icons (calendar,credit-card,investment). [1] [2]Code Cleanup:
FinTrack/Services/Api/ApiService.cs: Removed dependency onISecureTokenStorageand replaced token retrieval logic withSessionManager. [1] [2] [3]FinTrack/ViewModels/CurrenciesViewModel.cs: Removed redundant properties (weeklyChange,monthlyChange) to streamline the view model.