Cryptex-prototype / Cryptex-prototype/prototype

Dashboard API Timeouts, Tries and Intervals

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
HTML
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指定文件、测试或入口点。首先定位 dashboard DOM 填充和 API 请求的入口点,然后跟踪价格和蜡烛更新是如何调度的,以及错误会如何影响现有元素。完成的标准是:持久化的投资组合数据保持可见,更新使用所述的时间间隔,请求期间显示加载状态,并且 429 响应会触发重试而不会清空 DOM。

由索引模型根据 Issue 内容生成。

评估

技术栈
html
领域
api, frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。