812910f087
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:
|
||
---|---|---|
.. | ||
TODO.md | ||
activity.go | ||
activity_test.go | ||
benchmarks_test.go | ||
details.go | ||
filter.go | ||
filter.sql | ||
filter_test.go | ||
get_collectibles.sql | ||
oldest_timestamp.sql | ||
recipients.sql | ||
service.go | ||
service_test.go | ||
session.go |