[go: up one dir, main page]

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

Load map JSON in advance #1192

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

KoalaSat
Copy link
Member
@KoalaSat KoalaSat commented Mar 18, 2024

What does this PR do?

This PR changes the trigger to load the JSON file used to display the lowpoly map.

BEFORE: The JSON loads when the user visits the Map view

NOW: The JSON loads when the user visitd the /offers page and saves it in memory to avoid multiple calls

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@Reckless-Satoshi
Copy link
Collaborator

Amazing @KoalaSat ! Please post an invoice for 70K Sats.

@Reckless-Satoshi Reckless-Satoshi merged commit 10bc21d into RoboSats:main Mar 19, 2024
@KoalaSat
Copy link
Member Author

Amazing @KoalaSat ! Please post an invoice for 70K Sats.

lnbc700u1pjljpklpp5366l3nxpqh9mz39jnf3h36rp6xknnt5xa66w7uc49zugq7xdsl9qdqqcqzzsxqy24essp5n2f8rfysshc7xzq8v7dvuf7vqucvy35q0v6zdp5l089deuh5453q9qyyssquhqrpxwwkryf3ynekw8rgq486m3jc3xguk0r2yp6d78u8da57u6j7fpap4wpuw35pycwk9afsmvvvu9lqulud6tt69efx4wx5eutkdsp6um9sm

@Reckless-Satoshi
Copy link
Collaborator

lnbc700u1pjljpklpp5366l3nxpqh9mz39jnf3h36rp6xknnt5xa66w7uc49zugq7xdsl9qdqqcqzzsxqy24essp5n2f8rfysshc7xzq8v7dvuf7vqucvy35q0v6zdp5l089deuh5453q9qyyssquhqrpxwwkryf3ynekw8rgq486m3jc3xguk0r2yp6d78u8da57u6j7fpap4wpuw35pycwk9afsmvvvu9lqulud6tt69efx4wx5eutkdsp6um9sm

76751f56a290af5b2458395359e9925b602841700260913d861571faacd4bf2f

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