feat(editor): Removing ph-no-capture class from some elements (#6674)

* feat(editor): Remove `.ph-no-capture` class from some of the fields
* ✔️ Updating test snapshots
*  Redacting expressions preview in credentials form
* 🔧 Disable posthog input masking
* 🚨 Testing PostHog iFrame settings
* Reverting iframe test
*  Hiding API key in PostHog recordings
*  Added tests for redacted values
* ✔️ Updating checkbox snapshots after label component update
* ✔️ Updating test snapshots in editor-ui
* 👕 Fix lint errors
This commit is contained in:
Milorad FIlipović
2023-07-19 16:51:49 +02:00
committed by GitHub
parent 250175d066
commit c3455a4ad8
46 changed files with 173 additions and 118 deletions

View File

@@ -2,7 +2,12 @@
<div>
<n8n-input-label :label="label">
<div
:class="{ [$style.copyText]: true, [$style[size]]: true, [$style.collapsed]: collapse }"
:class="{
[$style.copyText]: true,
[$style[size]]: true,
[$style.collapsed]: collapse,
'ph-no-capture': redactValue,
}"
@click="copy"
data-test-id="copy-input"
>
@@ -56,6 +61,10 @@ export default defineComponent({
type: String,
default: 'large',
},
redactValue: {
type: Boolean,
default: false,
},
},
setup() {
return {