Skip to content

Commit

Permalink
Merge branch 'develop' into budi-6922-the-number-0-cannot-be-displaye…
Browse files Browse the repository at this point in the history
…d-on-input-number-fields-when
  • Loading branch information
aptkingston authored Sep 26, 2023
2 parents f23624c + 5c0be9a commit 9803b1a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.10.12-alpha.16",
"version": "2.10.12-alpha.17",
"npmClient": "yarn",
"packages": [
"packages/*"
Expand Down
1 change: 1 addition & 0 deletions packages/builder/src/analytics/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const Events = {
COMPONENT_CREATED: "component:created",
COMPONENT_UPDATED: "component:updated",
APP_VIEW_PUBLISHED: "app:view_published",
BLOCK_EJECTED: "block:ejected",
}

export const EventSource = {
Expand Down
5 changes: 5 additions & 0 deletions packages/builder/src/builderStore/store/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,11 @@ export const getFrontendStore = () => {
return false
}

// Log event
analytics.captureEvent(Events.BLOCK_EJECTED, {
block: block._component,
})

// Attach block children back into ejected definition, using the
// _containsSlot flag to know where to insert them
const slotContainer = findAllMatchingComponents(
Expand Down

0 comments on commit 9803b1a

Please sign in to comment.