Gold drop dialog silently clamps an amount past its cap
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
找到 #4886 附近新增的将金币丢在地上的对话框和撤回草稿的行为;issue 未指定文件或测试。阅读草稿金额的处理方式,然后为高于携带余额的金额添加 pinning 测试。完成标准是丢金币草稿将金额限制在余额允许的范围内,并且测试确认了这一点。
由索引模型根据 Issue 内容生成。
描述
Follow-up noted during the review of #4886.
The ground-drop gold dialog has the same silent-clamp shape the withdraw
draft had before that fix: typing an amount past what the carried balance
actually allows silently proceeds with a clamped value instead of capping
the draft the way the withdraw row now does.
Scope notes:
- The server already clamps a ground gold drop, so no bad amount can
reach the wire; the defect is display-side only. - It predates the gold-cap work; it was left out of #4886 on purpose so
that fix stayed narrow.
Wanted: the drop draft gets the same treatment as the withdraw draft
(cap to the room the balance leaves, honestly) — a small client-only
change with a pinning test.
- 主要语言
- Go
- 星标
- 97
- 派生
- 61
- 平均合并
- 3 小时 59 分钟
- 30 天内合并 PR
- 966
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
opensro-dev/opensro 的其他 Issue
-
Format one minified client file with dprint (ongoing: one file per PR)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: client enhancement good first issue priority: low
难度 2/5 1-3 小时 新手友好度 75/100
opensro-dev/opensro#1 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
opensro-dev/opensro#4900 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
opensro-dev/opensro#4898 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
opensro-dev/opensro#4896 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
opensro-dev/opensro#4894 ·
维护者通常 1 天内回复
查看 opensro-dev/opensro 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
nutmos/expensetrackr#235 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
unbound-force/gaze#440 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
sresarehumantoo/cc-artex#456 ·