Skip to content

Commit

Permalink
Fix dashboard snowplow schema files (metabase#38977)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulyk authored Feb 21, 2024
1 parent 8a620bf commit 47e4fcc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 103 deletions.
2 changes: 1 addition & 1 deletion frontend/src/metabase/dashboard/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { DashboardId, DashboardWidth } from "metabase-types/api";

import type { SectionId } from "./sections";

const DASHBOARD_SCHEMA_VERSION = "1-1-4";
const DASHBOARD_SCHEMA_VERSION = "1-1-3";

export const trackAutoApplyFiltersDisabled = (dashboardId: DashboardId) => {
trackSchemaEvent("dashboard", DASHBOARD_SCHEMA_VERSION, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"dashboard_pdf_exported",
"card_moved_to_tab",
"dashboard_card_duplicated",
"dashboard_card_replaced"
"dashboard_card_replaced",
"dashboard_section_added",
"dashboard_width_toggled"
],
"maxLength": 1024
},
Expand Down Expand Up @@ -73,6 +75,21 @@
],
"minimum": 0,
"maximum": 2147483647
},
"section_layout": {
"description": "String describing the layout that was selected from the pre-built options",
"type": [
"string",
"null"
],
"maxLength": 1024
},
"full_width": {
"description": "Boolean set to True if the dashboard was toggled to full width and False if full width was disabled.",
"type": [
"boolean",
"null"
]
}
},
"required": [
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/metabase/analytics/snowplow.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{::account "1-0-1"
::invite "1-0-1"
::csvupload "1-0-0"
::dashboard "1-1-4"
::dashboard "1-1-3"
::database "1-0-1"
::instance "1-1-2"
::metabot "1-0-1"
Expand Down

0 comments on commit 47e4fcc

Please sign in to comment.