Skip to content
Snippets Groups Projects
Unverified Commit 688bd8ae authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Use setup schema with data validation (#18696)

parent a95fbe73
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ export const USER_STEP_NUMBER = 2;
export const DATABASE_CONNECTION_STEP_NUMBER = 3;
export const DATABASE_SCHEDULING_STEP_NUMBER = 4;
export const PREFERENCES_STEP_NUMBER = 5;
export const COMPLETED_STEP_NUMBER = 5;
export const COMPLETED_STEP_NUMBER = 6;
export const STEPS = {
[WELCOME_STEP_NUMBER]: "welcome",
......
......@@ -2,7 +2,7 @@ import { trackSchemaEvent } from "metabase/lib/analytics";
import { STEPS } from "./constants";
export const trackStepSeen = stepNumber => {
trackSchemaEvent("setup", "1-0-0", {
trackSchemaEvent("setup", "1-0-1", {
event: "step_seen",
version: "1.0.0",
step: STEPS[stepNumber],
......@@ -11,7 +11,7 @@ export const trackStepSeen = stepNumber => {
};
export const trackDatabaseSelected = database => {
trackSchemaEvent("setup", "1-0-0", {
trackSchemaEvent("setup", "1-0-1", {
event: "database_selected",
version: "1.0.0",
database,
......@@ -19,7 +19,7 @@ export const trackDatabaseSelected = database => {
};
export const trackAddDataLaterClicked = database => {
trackSchemaEvent("setup", "1-0-0", {
trackSchemaEvent("setup", "1-0-1", {
event: "add_data_later_clicked",
version: "1.0.0",
source: database ? "post_selection" : "pre_selection",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment