[Frontend] Support Escape key and click-outside backdrop dismissal for BatchClaimDrawer
维护者通常 7 天内回复
@emmzydagreat 已经在做这个了。
开始于 2026年9月27日。
评估
这个 Issue 还没有评估数据。
描述
Overview
The recently added BatchClaimDrawer does not listen for the Escape keyboard key or dismiss cleanly when clicking outside the drawer overlay on desktop viewports.
Problem
- Keyboard-only power users cannot close the drawer using standard modal accessibility conventions (
Escapekey). - Clicking the darkened backdrop behind the drawer does not trigger close.
Proposed Changes
- Attach
keydownevent listener fore.key === "Escape"insidefrontend/src/components/dashboard/BatchClaimDrawer.tsx. - Add click handler to the backdrop overlay to invoke
onClose().
Acceptance Criteria
- Pressing
Escapecloses the drawer. - Clicking outside the drawer closes it without executing any claims.
- Test added in
frontend/src/__tests__/batch-claim-drawer.test.tsx.
- 主要语言
- TypeScript
- 星标
- 18
- 派生
- 250
- 平均合并
- 5 天 5 小时
- 30 天内合并 PR
- 83
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LabsCrypt/flowfi 的其他 Issue
-
backend points: 150 testing
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 7 天内回复
-
backend points: 150 testing
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 7 天内回复
-
backend points: 150 testing
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 7 天内回复
-
backend points: 150 testing
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 7 天内回复
-
backend points: 150 testing
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 7 天内回复
相似的 Issue
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
pingdotgg/t3code#24900 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
inu-appcenter/UNIDorm-web#411 ·
维护者通常 1 天内回复
-
🐛 bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
ranxianglei/billion-context#4720 ·
维护者通常 1 天内回复
-
area:arcade game p3-medium ready-for-agent type:bug
难度 2/5 1-3 小时 新手友好度 82/100
fderuiter/deruiter.dev#2840 ·
维护者通常 1 天内回复