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

Initial map load performance #175

Open
dadofsambonzuki opened this issue Feb 11, 2025 · 1 comment
Open

Initial map load performance #175

dadofsambonzuki opened this issue Feb 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@dadofsambonzuki
Copy link
Member

Describe the bug

From Wallet of Satoshi:

We've had a customer report to us (and also verified) that the initial load of BTC Map seems to get stuck on about 60% loaded. Refreshing the screen, and subsequent loads seem to be work fine after that. Just that first new load on both our in-app browser version, and when testing on other fresh browsers. Just a heads up about a potential bug.

I could not fully recreate this. When loading in a fresh browser there was indeed a long pause at 60%, but it progressed after around 10s. This was on a powerful laptop with a v fast Internet connection.

On slower devices this could indeed look like a failed initial load and perhaps might be if there is some timeouts being hit.

To Reproduce

Clear browser cache and reload map.

Expected behavior

A more progressive experience, perhaps loading a subset of locations to begin with based on local.

Screenshots

Additional context

@dadofsambonzuki dadofsambonzuki added the bug Something isn't working label Feb 11, 2025
@dadofsambonzuki
Copy link
Member Author

We probably need to work towards a lightweight version of the web app designed for embedding that either has no cache or only caches the merchants/elements and not the rest of the data (reports, communities, etc.).

WIP here: https://fast.btcmap.org/

MVP:

  • Tile toggles inc. dark
  • Amenity icons
  • Better element modals
  • Links to merchant pages
  • Optional open at location should apps that embed want to offer location feature

@dadofsambonzuki dadofsambonzuki added enhancement New feature or request and removed bug Something isn't working labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant