Don't use user-facing text to identify user elements
Abierto
bug
- Lenguaje dominante
- HTML
- Estrellas
- 58
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- frontend, web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100