chore: add ph-no-capture css class to messages (#5932)

This ensure posthog replaces the corresponding elements with an empty
block in recordings.

ref: https://posthog.com/manual/recordings#ignoring-sensitive-elements
This commit is contained in:
Vishnu Narayanan
2022-11-25 00:12:28 +05:30
committed by GitHub
parent 8ea0660862
commit 8813c77907

View File

@@ -35,7 +35,7 @@
<message
v-for="message in getReadMessages"
:key="message.id"
class="message--read"
class="message--read ph-no-capture"
:data="message"
:is-a-tweet="isATweet"
:has-instagram-story="hasInstagramStory"
@@ -57,7 +57,7 @@
<message
v-for="message in getUnReadMessages"
:key="message.id"
class="message--unread"
class="message--unread ph-no-capture"
:data="message"
:is-a-tweet="isATweet"
:has-instagram-story="hasInstagramStory"