getsentry / getsentry/sentry-react-native
[SR] Recursive unmasking
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 366
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 94
Descripción
### Problem Statement
Currently, [unmasking a component](https://docs.sentry.io/platforms/react-native/session-replay/privacy/#general-masking-rules) affects only the component directly wrapped with ``. For some use cases where the actual text components are two or more levels down in a nested component tree, this can become cumbersome and may also require unwanted updates to component code (e.g. several levels into a Button component - user wants to unmask the button label).
### Solution Brainstorm
Provide an API to mark a component for unmasking recursively.
Note: There was a conscious decision not do to this initially, because it makes it easy to unmask more than intended. If this is implemented, it should be very clear to the user what happens, and very hard/impossible to do it unintentionally.
E.g. something like `` (default: false)
---
There is currently no priority for this item. If you are interested in this, please upvote the issue 👍
Guía de contribución
Línea de trabajo
Empieza revisando la API Sentry.Unmask existente y las reglas de enmascaramiento de React Native vinculadas. Define explícitamente un opt-in recursivo y el comportamiento de sus descendientes; después, verifica que el texto anidado se desenmascare solo cuando se solicite y que el desenmascaramiento normal no cambie.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react-native, typescript
- Área
- mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100