getsentry / getsentry/sentry-react-native
[SR] Recursive unmasking
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 366
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 94
説明
### 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 👍
コントリビューションガイド
調査の方向性
まず、既存の Sentry.Unmask API とリンクされている React Native のマスキングルールを確認します。明示的な再帰的オプトインと、その子孫に対する動作を定義し、要求された場合にのみネストされたテキストのマスクが解除され、通常のマスク解除が変更されないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- mobile
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100