Cryptex-prototype / Cryptex-prototype/prototype

Dashboard API Timeouts, Tries and Intervals

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue
Vorherrschende Sprache
HTML
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When a user is in their dashboard there should be logic that populates their DOM with some kind of persistent data that wont change about their portfolio: crypto name, icon, the bootstrap element the data lives in etc.

API calls should be made in 1 minute intervals for price data and 5 minute intervals for candle updates. And the user shouldn't have to lose all their DOM elements if the API hits a 429 error.

-loading gifs and opacity layer should populate if the user is waiting for an API call
-if a call gets a 429 error: try-catch logic should set a wait interval to request again in 20second - 1 minute intervals

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.