mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Add demo experiment to help users activate (#5141)
* feat: enable posthog for dev process * feat: inject sticky in demo * feat: update url * feat: update pos * feat: add demo button * feat: add callout * feat: hide behind exp * fix: fix zoom to fit * fix: fix zoom reset when moving to new view * fix: use constant for test * feat: add tracking * feat: fix tracking * feat: fix tracking * fix canvas centering * feat: update time * feat: update bg color * feat: update copy * feat: update btm padding * feat: replace thumbnail * feat: increase height of sticky * chore: clean up props * fix: revert canvas change * chore: address feedback * chore: remove extra space * test: fix unit tests
This commit is contained in:
@@ -104,7 +104,7 @@ export default Vue.extend({
|
||||
font-size: var(--font-size-2xs);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--color-secondary);
|
||||
background-color: var(--color-secondary-tint-2);
|
||||
background-color: var(--color-secondary-tint-3);
|
||||
border-color: var(--color-secondary-tint-1);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Vitest Snapshot v1
|
||||
|
||||
exports[`components > N8nCallout > should render additional slots correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _custom_dfd91_17\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _custom_lpicq_17\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"code-branch\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a secondary callout.</n8n-text-stub> <n8n-link-stub size=\\"small\\">Do something!</n8n-link-stub>
|
||||
@@ -13,9 +13,9 @@ exports[`components > N8nCallout > should render additional slots correctly 1`]
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render custom theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _custom_dfd91_17\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _custom_lpicq_17\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"code-branch\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a secondary callout.</n8n-text-stub>
|
||||
@@ -24,9 +24,9 @@ exports[`components > N8nCallout > should render custom theme correctly 1`] = `
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render danger theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _danger_dfd91_35\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _danger_lpicq_35\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"times-circle\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a danger callout.</n8n-text-stub>
|
||||
@@ -35,9 +35,9 @@ exports[`components > N8nCallout > should render danger theme correctly 1`] = `
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render info theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _info_dfd91_16\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _info_lpicq_16\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"info-circle\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is an info callout.</n8n-text-stub>
|
||||
@@ -46,9 +46,9 @@ exports[`components > N8nCallout > should render info theme correctly 1`] = `
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render secondary theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _secondary_dfd91_45\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _secondary_lpicq_45\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"info-circle\\" size=\\"medium\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a secondary callout.</n8n-text-stub>
|
||||
@@ -57,9 +57,9 @@ exports[`components > N8nCallout > should render secondary theme correctly 1`] =
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render success theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _success_dfd91_29\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _success_lpicq_29\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"check-circle\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a success callout.</n8n-text-stub>
|
||||
@@ -68,9 +68,9 @@ exports[`components > N8nCallout > should render success theme correctly 1`] = `
|
||||
`;
|
||||
|
||||
exports[`components > N8nCallout > should render warning theme correctly 1`] = `
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_dfd91_1 _warning_dfd91_23\\">
|
||||
<div class=\\"_message-section_dfd91_12\\">
|
||||
<div class=\\"_icon_dfd91_41\\">
|
||||
"<div role=\\"alert\\" class=\\"n8n-callout _callout_lpicq_1 _warning_lpicq_23\\">
|
||||
<div class=\\"_message-section_lpicq_12\\">
|
||||
<div class=\\"_icon_lpicq_41\\">
|
||||
<n8n-icon-stub icon=\\"exclamation-triangle\\" size=\\"large\\"></n8n-icon-stub>
|
||||
</div>
|
||||
<n8n-text-stub size=\\"small\\">This is a warning callout.</n8n-text-stub>
|
||||
|
||||
@@ -88,7 +88,6 @@ export default Vue.extend({
|
||||
}
|
||||
|
||||
.secondary {
|
||||
background-color: var(--color-secondary-tint-2);
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user