status-go/services/wallet/activity
Stefan 812910f087 feat(wallet): Add session-based activity API for dynamic updates
This commit introduces the first steps towards implementing a session-based activity API to support dynamic updates of the current visualized filter in the wallet activity service. This change is necessary to move away from static paginated filtering, which was previously done in SQL, to a more dynamic approach that can handle updates in real-time.

The main changes include:
- Add basic `EventActivitySessionUpdated` support for pending transactions.
- Added a `TODO.md` file outlining the plan and requirements for dynamic activity updates.
- New session-related API to the `activity.Service`
- `session.go` contains the logic for session management and event processing related to activity updates.
- Add test case for incremental filter updates.

The commit also includes:

- various other minor changes and refactoring to support the new session-based approach.
- Deprecation notices added to the `api.go` file for methods that are no longer used by the status-desktop application.
- Clarification comments added to the `scheduler.go` file regarding replacement policies.

Updates: #12120

ghstack-source-id: a61ef74184
Pull Request resolved: https://github.com/status-im/status-go/pull/4480
2024-02-01 19:55:06 +01:00
..
TODO.md feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
activity.go feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
activity_test.go fix(wallet): do not return gas-only ETH entries of transfers table for 2024-01-30 11:37:53 +01:00
benchmarks_test.go chore(wallet) optimize the filer query 2023-09-21 13:56:44 +02:00
details.go bug: Added missing out chain data (#4303) 2023-11-30 12:37:32 +01:00
filter.go feat: Wallet activity collectibles model (#4074) 2023-10-03 12:49:04 +02:00
filter.sql fix(wallet) fix reading amount for pending transactions 2024-02-01 18:28:55 +01:00
filter_test.go feat: Wallet activity collectibles model (#4074) 2023-10-03 12:49:04 +02:00
get_collectibles.sql feat: Wallet activity collectibles model (#4074) 2023-10-03 12:49:04 +02:00
oldest_timestamp.sql Bug: Refresh recipients model (#4076) 2023-10-02 13:46:05 +02:00
recipients.sql Bug: Refresh recipients model (#4076) 2023-10-02 13:46:05 +02:00
service.go feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
service_test.go feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
session.go feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00