refactor(core): Rename push sessionId to pushRef (#8905)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-04-03 13:43:14 +02:00
committed by GitHub
parent eaaefd76da
commit 072c3db97d
58 changed files with 248 additions and 257 deletions

View File

@@ -382,7 +382,7 @@
<RunDataJson
:pane-type="paneType"
:edit-mode="editMode"
:sessio-id="sessionId"
:push-ref="pushRef"
:node="node"
:input-data="inputDataPage"
:mapping-enabled="mappingEnabled"
@@ -658,7 +658,7 @@ export default defineComponent({
executingMessage: {
type: String,
},
sessionId: {
pushRef: {
type: String,
},
paneType: {
@@ -1062,7 +1062,7 @@ export default defineComponent({
onClickDataPinningDocsLink() {
this.$telemetry.track('User clicked ndv link', {
workflow_id: this.workflowsStore.workflowId,
session_id: this.sessionId,
push_ref: this.pushRef,
node_type: this.activeNode?.type,
pane: 'output',
type: 'data-pinning-docs',
@@ -1109,7 +1109,7 @@ export default defineComponent({
this.$telemetry.track('User opened ndv edit state', {
node_type: this.activeNode?.type,
click_type: origin === 'editIconButton' ? 'button' : 'link',
session_id: this.sessionId,
push_ref: this.pushRef,
run_index: this.runIndex,
is_output_present: this.hasNodeRun || this.pinnedData.hasData.value,
view: !this.hasNodeRun && !this.pinnedData.hasData.value ? 'undefined' : this.displayMode,
@@ -1144,7 +1144,7 @@ export default defineComponent({
onExitEditMode({ type }: { type: 'save' | 'cancel' }) {
this.$telemetry.track('User closed ndv edit state', {
node_type: this.activeNode?.type,
session_id: this.sessionId,
push_ref: this.pushRef,
run_index: this.runIndex,
view: this.displayMode,
type,
@@ -1158,7 +1158,7 @@ export default defineComponent({
if (source === 'pin-icon-click') {
const telemetryPayload = {
node_type: this.activeNode.type,
session_id: this.sessionId,
push_ref: this.pushRef,
run_index: this.runIndex,
view: !this.hasNodeRun && !this.pinnedData.hasData.value ? 'none' : this.displayMode,
};
@@ -1204,7 +1204,7 @@ export default defineComponent({
this.outputIndex = value;
this.$telemetry.track('User changed ndv branch', {
session_id: this.sessionId,
push_ref: this.pushRef,
branch_index: value,
node_type: this.activeNode.type,
node_type_input_selection: this.nodeType ? this.nodeType.name : '',
@@ -1216,7 +1216,7 @@ export default defineComponent({
this.$telemetry.track('User clicked ndv button', {
node_type: this.activeNode.type,
workflow_id: this.workflowsStore.workflowId,
session_id: this.sessionId,
push_ref: this.pushRef,
pane: this.paneType,
type: 'showTooMuchData',
});
@@ -1235,7 +1235,7 @@ export default defineComponent({
this.$telemetry.track('User changed ndv page', {
node_type: this.activeNode?.type,
workflow_id: this.workflowsStore.workflowId,
session_id: this.sessionId,
push_ref: this.pushRef,
pane: this.paneType,
page_selected: this.currentPage,
page_size: this.pageSize,
@@ -1252,7 +1252,7 @@ export default defineComponent({
this.$telemetry.track('User changed ndv page size', {
node_type: this.activeNode?.type,
workflow_id: this.workflowsStore.workflowId,
session_id: this.sessionId,
push_ref: this.pushRef,
pane: this.paneType,
page_selected: this.currentPage,
page_size: this.pageSize,
@@ -1283,7 +1283,7 @@ export default defineComponent({
new_view: displayMode,
node_type: this.activeNode.type,
workflow_id: this.workflowsStore.workflowId,
session_id: this.sessionId,
push_ref: this.pushRef,
pane: this.paneType,
});
}