Skip to content

Conversation

@EnesEfeTokta
Copy link
Owner

This pull request introduces significant enhancements to the FinTrack application, including the addition of new DTOs, helper classes, and services, as well as modifications to database models and configurations. These changes aim to expand functionality for transactions, memberships, and budgets while improving code maintainability and usability.

New Features and Enhancements

  • DTO Additions:

    • Added new DTOs for handling currencies (ConvertResponseDto), memberships (CheckoutResponseDto, PlanFeatureDto, SubscriptionRequestDto, UserMembershipDto), and transactions (TransactionCategoryCreateDto, TransactionCategoryUpdateDto). These DTOs enable better data handling for various application features. [1] [2] [3] [4] [5] [6] [7]
  • Helper Classes:

    • Introduced utility converters for data binding, including EqualityToBooleanConverter, InequalityToBooleanConverter, and NullToVisibilityInverseConverter, to simplify UI logic. [1] [2] [3]
  • Service Registrations:

    • Registered new services for budgets, accounts, transactions, currencies, memberships, and debts in the ConfigureServices method, enhancing dependency injection and modularity.

Database and Model Changes

  • Database Context Updates:

    • Renamed TransactionModel to TransactionModel_ and updated related configurations and references in the database context to avoid conflicts or enable new functionalities. [1] [2]
  • Model Updates:

    • Modified AccountModel and CategoryModel to reflect the renaming of TransactionModel and updated their relationships accordingly. [1] [2]
    • Added observable properties for balance in AccountModel for better state management.

Refactoring and Cleanup

  • File Renaming:

    • Renamed TransactionCategoriesDto to TransactionCategoryDto for consistency and updated its properties to include UserId and JSON serialization for TransactionType.
  • Code Cleanup:

    • Removed unnecessary comments and improved formatting in files such as BudgetModel.

These updates collectively improve the functionality, scalability, and maintainability of the FinTrack application.

…ansaction support

Replaces BudgetService and IBudgetService with new store-based architecture for budgets, accounts, currencies, memberships, and transactions. Adds new DTOs for currency conversion, membership, and transaction categories. Updates models and database context to use TransactionModel_ for consistency. Introduces new helpers, view models, and views for category management. Updates dependency injection registrations and API service endpoints. Refactors related view models and services to use the new stores and DTOs.
…l, and UI

Introduces a new debt management system including DebtStore and IDebtStore for handling debts, offers, and related API calls. Updates DashboardViewModel and DebtViewModel to use the new store, adds a NullToVisibilityInverseConverter, and updates DashboardView and DebtView to display active debts and pending offers. Implements a debt carousel on the dashboard and refactors debt-related logic out of DebtViewModel into the store for better separation of concerns.
Removed unnecessary using directives across multiple files to improve code clarity and maintainability. Also made minor formatting adjustments for consistency.
@EnesEfeTokta EnesEfeTokta self-assigned this Aug 3, 2025
@EnesEfeTokta EnesEfeTokta added the enhancement New feature or request label Aug 3, 2025
@EnesEfeTokta EnesEfeTokta merged commit 925abb8 into main Aug 3, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants