feat(inbox): Add inbox data layer and cache management#515
Open
yasin-ce wants to merge 8 commits intomultisig/04-misc-updatesfrom
Open
feat(inbox): Add inbox data layer and cache management#515yasin-ce wants to merge 8 commits intomultisig/04-misc-updatesfrom
yasin-ce wants to merge 8 commits intomultisig/04-misc-updatesfrom
Conversation
6a84b56 to
8602ae8
Compare
014714a to
c3e316e
Compare
8602ae8 to
cfd09c6
Compare
c3e316e to
6b1b4d5
Compare
- Add inbox data models for joint account notifications - Add sign request transaction list models - Add participant signature DTOs - Implement inbox cache manager for joint accounts - Add inbox item mappers and transformers
cfd09c6 to
252f8ea
Compare
6b1b4d5 to
a997278
Compare
Resolve merge conflicts: - JointAccountRepository: combine new method signatures with inbox methods - JointAccountRepositoryImpl: add inbox methods with new mapper names - JointAccountModule: combine inbox service with new mapper imports - DefaultAccountDetailAccountsItemProcessor: fix import path - InboxSearchDTOMapper: update to use JointSignRequestMapper - InboxMessagesDTO: update to use JointAccount and JointSignRequest - Make data layer classes internal (InboxSearchDTOMapper, InboxApiService, data models)
Rename domain models to follow naming conventions: - InboxSearchDTO -> InboxSearchInput - InboxMessagesDTO -> InboxMessages - AssetInboxDTO -> AssetInbox Update all references in: - JointAccountRepository and impl - InboxRepository and impl - InboxSearchDTOMapper (method names updated) - InboxCacheManagerImpl - HasInboxItemsForAddressUseCase - InboxUseCases interfaces - Test files
…dressUseCaseTest Replace AssetInboxDTO/JointAccountDTO with AssetInbox/JointAccount to match the actual domain model class names on this branch.
mitsinsar
requested changes
Jan 22, 2026
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/data/repository/InboxRepositoryImpl.kt
Outdated
Show resolved
Hide resolved
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/asset/di/AssetInboxModule.kt
Outdated
Show resolved
Hide resolved
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/di/InboxModule.kt
Outdated
Show resolved
Hide resolved
...k/src/main/kotlin/com/algorand/wallet/inbox/jointaccount/data/mapper/InboxSearchDTOMapper.kt
Outdated
Show resolved
Hide resolved
...src/main/kotlin/com/algorand/wallet/jointaccount/domain/repository/JointAccountRepository.kt
Outdated
Show resolved
Hide resolved
* multisig/04-misc-updates: Fix detekt issues without @Suppress Fix pre-existing detekt issues Use Go SDK for transaction signing and return signature directly fix: Address remaining PR #514 review comments fix: Address PR #514 review comments fix: Address PR #514 feedback docs: Add refactoring restrictions to prevent unwanted changes
- Rename InboxRepository to InboxInMemoryCache using InMemoryCacheProvider - Remove @singleton from AssetInboxModule where cache is passed in constructor - Use method references instead of lambdas in DI modules - Rename InboxSearchDTOMapper to InboxSearchMapper (interface + Impl) - Move getInboxMessages and deleteNotification from JointAccountRepository to InboxApiRepository - Add rules to prevent these issues in future
yasin-ce
added a commit
that referenced
this pull request
Jan 23, 2026
…-support * multisig/05-data-models: Address PR #515 comments for data models Fix detekt issues without @Suppress Fix pre-existing detekt issues Use Go SDK for transaction signing and return signature directly fix: Address remaining PR #514 review comments fix: Address PR #514 review comments fix: Address PR #514 feedback docs: Add refactoring restrictions to prevent unwanted changes
mitsinsar
reviewed
Jan 26, 2026
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/domain/repository/InboxApiRepository.kt
Outdated
Show resolved
Hide resolved
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/di/InboxModule.kt
Outdated
Show resolved
Hide resolved
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/data/cache/DefaultInboxInMemoryCache.kt
Outdated
Show resolved
Hide resolved
common-sdk/src/main/kotlin/com/algorand/wallet/inbox/data/cache/InboxInMemoryCache.kt
Outdated
Show resolved
Hide resolved
.../src/main/kotlin/com/algorand/wallet/inbox/asset/data/repository/AssetInboxRepositoryImpl.kt
Outdated
Show resolved
Hide resolved
* multisig/04-misc-updates: fix: Remove redundant methods and use injected use cases
- Remove INJECTION_NAME from InboxApiRepository - Remove @singleton from provideInboxApiRepository - Remove InboxInMemoryCache interface and DefaultInboxInMemoryCache class - Use InMemoryCachedObject<InboxMessages> directly with named qualifiers - Update AssetInboxRepositoryImpl to use direct cache and flow - Update tests to work with new structure
yasin-ce
added a commit
that referenced
this pull request
Jan 26, 2026
…-support * multisig/05-data-models: fix: Address PR #515 review comments fix: Remove redundant methods and use injected use cases
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
inbox/assetpackageInboxRepositoryandInboxCacheManagerInboxMessagesDTOandInboxSearchDTOmodelsHasInboxItemsForAddressUseCasefor badge indicatorsTest Plan