Skip to content

Remove general budgeting ledger functionality#49

Merged
Max97k merged 1 commit into
mainfrom
remove-general-ledger-3351300500818310939
Jun 23, 2026
Merged

Remove general budgeting ledger functionality#49
Max97k merged 1 commit into
mainfrom
remove-general-ledger-3351300500818310939

Conversation

@Max97k

@Max97k Max97k commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Removes the unused and hidden general ledger/transactions functionality to trim bloat and focus entirely on the investment portfolio domain. Ensures local DB configurations, DI, domain layer, and UI screens are completely pruned of any references to the standard budgeting transaction elements.


PR created automatically by Jules for task 3351300500818310939 started by @Max97k

- Deleted `TransactionEntity`, `TransactionMapper`, and `TransactionDao` to clean up the data layer.
- Removed `TransactionRepository`, `AddTransactionUseCase`, `DeleteTransactionUseCase`, and `GetTransactionsUseCase` from the domain layer.
- Deleted `TransactionsScreen` and `TransactionsViewModel` from the presentation layer.
- Cleaned up Koin configurations (`AppModule.kt`) by removing unused module injections.
- Removed unused general transaction entities from Room configuration (`AppDatabase.kt`).
- Dropped unused `Transactions` and `AddTransaction` from `NavRoutes.kt`.
- Left investment-related `HoldingTransaction` entirely intact.

Co-authored-by: Max97k <14903047+Max97k@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the transactions feature from the application, including its database entities, DAOs, repositories, use cases, view models, and UI screens. Feedback was provided regarding the database configuration in AppDatabase.kt, where removing TransactionEntity requires incrementing the database version to 3 to prevent an IllegalStateException crash on startup for existing users.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.


@Database(
entities = [TransactionEntity::class, HoldingEntity::class, HoldingTransactionEntity::class],
entities = [HoldingEntity::class, HoldingTransactionEntity::class],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Since TransactionEntity has been removed from the database entities, the database schema has changed. If the database version is kept at 2, Room will throw an IllegalStateException on startup for existing users because the schema on disk won't match the compiled schema. To prevent this crash and allow fallbackToDestructiveMigration() to recreate the database, please increment the database version to 3 (on line 11).

@Max97k Max97k merged commit 29a8cf2 into main Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant