Don't use user-facing text to identify user elements
未关闭
bug
- 主要语言
- HTML
- 星标
- 58
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
https://github.com/diffplug/gitcasso/blob/63442ea81aa8c479fd2bc401dcf1c198b427d72c/browser-extension/src/lib/enhancers/modifyDOM.ts#L33-L34
- Finding classes or IDs to identify these will be fragile to engineering changes, but resilient to locale
- The approach we are using now only works for english users
贡献指南
调研方向
Start at browser-extension/src/lib/enhancers/modifyDOM.ts lines 33-34 and trace how user elements are identified. Replace the reliance on user-facing text with identifiers that remain usable across locales, then verify the enhancer still finds the intended elements after engineering changes.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend, web-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100