Support timer progress
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, react-native
- 领域
- mobile
调研方向
首先跟踪填充动画计数器的生成位置,以及组件 props 如何配置其范围。验证计时器在 600 秒时长下的行为,包括每次增加一秒,并考虑如何暴露可配置的上限;当进度组件能够支持这些计时器步进且不会丢失秒数时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
The fill animation counter gets a number between 0-100.
Example: {fill => <Text>{fill}</Text>}
It's impossible to make the right timer. The current time can be calculated using the formula: fill * totalTimeInSeconds / 100
However, the timer will not show all seconds if the total time exceeds 100 seconds.
For example, display 10 minutes (600 seconds).
fill 1: 6 seconds
fill 2: 12 seconds
...
fill 100: 600
The timer should work with 1-second step. Making fill bounded to any N makes it possible to use react-native-circular-progress as the timer.
- 主要语言
- JavaScript
- 星标
- 2.2k
- 派生
- 418
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bartgryszko/react-native-circular-progress 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 5/5 一周以上 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 10/100
bartgryszko/react-native-circular-progress#332 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 55/100
bartgryszko/react-native-circular-progress#330 · 4 条评论 · 1 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 55/100
查看 bartgryszko/react-native-circular-progress 的全部 Issue
相似的 Issue
-
cdx-audit output written to a pipe is cut off at 64 KiB可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug mode:cli
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
Build produces empty forge.min.js: package.json lists "forge" instead of "node-forge"可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 70/100
Fei2411/DeepSeek-Bot#963 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
Miaotofu01/Study-Mate#244 ·
维护者通常 1 天内回复
-
test-reliability
难度 2/5 1-3 小时 新手友好度 78/100
Azure/azure-sdk-for-js#40672 · 1 个 reaction ·
维护者通常 1 天内回复