Don't use user-facing text to identify user elements
- Lingua principale
- HTML
- Stelle
- 58
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- frontend, web-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100