gnosis / gnosis/safe-cmm-app-react
Feature: Strategy caching/storing
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
# Description
To further increase loading times, we can simply cache/store strategies we previously fetched. This would make load-times for strategies near instantaneous.
# Requirements
- [ ] Strategies are put on local storage when discovered
- [ ] Strategy details (funding, balances, status) are saved
- [ ] Strategies still update on page load, to determine changes
- [ ] Actions in the UI need to reflect on saved strategies
- [ ] Strategies not yet updated on page load should be indicated with something like "Stale"
# Background
This should now be a lot easier, since this data is stored with Recoil.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how strategies are discovered and stored in Recoil, then identify the page-load update flow and its local-storage boundary. Done means discovered strategies and their funding, balances, and status are persisted, refreshed on page load, UI actions update saved data, and strategies awaiting refresh are marked stale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100