Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cache elevation data in client redux slice #1736

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

tm-ruxandra
Copy link
Contributor

Description

Add a new slice to the terraso mobile client which handles elevation caching based on 5 decimal places of precision. The data hook will attempt to load elevation once (does not retry on failure).

Checklist

  • Corresponding issue has been opened

Related Issues

#1547

Verification steps

Select the same location twice on the home screen (within 5 decimal places of precision). Verify that the elevation value is already loaded.

Copy link
Member

@paulschreiber paulschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've flagged one issue, but approved (so you won't have to re-request approval).

@tm-ruxandra tm-ruxandra merged commit 6a27c1b into main Jul 9, 2024
11 checks passed
@tm-ruxandra tm-ruxandra deleted the feat/elevation-cache branch July 9, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants