Commit Graph
13 Commits
Author SHA1 Message Date
Sanders 8b75299d41 Refactors data repositories for single-user mode
This commit refactors the data repositories to remove user-specific filtering. It simplifies the data access logic by retrieving all data from the Hive boxes and removing the need to filter by `userId` in the repository methods.

This change makes the app function in single-user mode and removes the need to manage multiple user contexts within the data layer.

Specifically:
- Removes `userId` parameter from repository methods.
- Updates the setting repository to use fixed keys.
- Removes user ID filtering from queries.
- Removes user ID parameters from Cubits and Blocs
- Updates initial data creation
2025-07-12 21:54:00 +03:00
Sanders 42f8e20bf0 Improves: Internationalization and data models
- Adds new localization keys for transaction details.
- Deletes obsolete localization files, switching to a single ARB file per language.
- Adds `Equatable` to data models (`Category`, `Tag`, `TransactionRecord`, `User`) for improved state management and change detection.
- Introduces the transaction creation dialog.
- Adds development note to GEMINI.md

Improves internationalization and data models

- Adds new localization keys for transaction details, supporting enhanced user experience.
- Migrates to single ARB file for each language, streamlining the localization process.
- Implements Equatable in data models (Category, Tag, TransactionRecord, User) for improved state management and simplified change detection.
- Introduces transaction creation dialog, simplifying the transaction creation process.
- Adds development note to GEMINI.md
2025-06-29 23:03:17 +03:00
Sanders 0d64d4ca0e Add cubit settings 2025-06-27 22:28:12 +03:00
Sanders 5f78dfb603 Small fix 2025-06-27 16:02:30 +03:00
Sanders 33fb960397 feat: Добавить ссылку на пользователя в сущность транзакции 2025-06-10 23:55:35 +03:00
Sanders 4eb3e1f700 Small fix 2025-06-09 16:27:01 +03:00
Sanders 7db4e35bf6 feat: добавить автогенерацию ID через UUID 2025-06-09 16:25:18 +03:00
Sanders c414403f8c fix: добавить аннотации HiveField для всех полей моделей 2025-06-09 16:17:27 +03:00
Sanders c5ec6d1dc9 build: обновил зависимости на hive_ce в моделях 2025-06-09 16:17:22 +03:00
Sanders 84b41bcf55 fix: исправить порядок импортов в transaction_record.dart 2025-06-09 16:11:30 +03:00
Sanders 06557638e8 feat: добавить поддержку Tag и TransactionRecord в Hive 2025-06-09 16:10:45 +03:00
Sanders 673ce8bfd3 feat: Добавить уникальный ID для транзакций 2025-06-09 16:10:43 +03:00
Sanders cdc2086fd8 feat: добавить модели Category, Tag и TransactionRecord 2025-06-09 15:36:49 +03:00