Skip to content

Add UI inputs for session replay masking settings #19

@OmG3r

Description

@OmG3r

Background

Currently the app does not offer UI elements to configure session recording masking. so the PostHog JS SDK uses default settings.
this was omitted in the initial development of the app because the settings were unclear and complicated to setup.

Actions

we should implement a setting for:

  • session_recording.maskAllInputs (boolean)
  • session_recording.maskInputOptions (array of objects of input types with boolean switch)
  • session_recording.maskTextSelector (string)

session_recording.maskInputFn and session_recording.maskTextFn will not be implement as they are functions. we cannot serialize function.

there are other controls that are not documented in the public docs and available the source code. might implement some others based on the UX

References

public docs: Session Replay Privcay Controls docs
codebase: PostHog JS SessionRecordingOptions

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions