diff --git a/CHANGELOG.md b/CHANGELOG.md index 516e76ea9..e39dcba21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. - Replace `CLICKHOUSE_MAX_BUFFER_SIZE` with `CLICKHOUSE_MAX_BUFFER_SIZE_BYTES` ### Fixed +- Stop returning custom events in goal breakdown with a pageview goal filter and vice versa - Only return `(none)` values in custom property breakdown for the first page (pagination) of results - Fixed weekly/monthly e-mail report [rendering issues](https://github.com/plausible/analytics/issues/284) - Fix [broken interval selection](https://github.com/plausible/analytics/issues/2982) in the all time view plausible/analytics#3110 diff --git a/assets/js/dashboard.js b/assets/js/dashboard.js index e4e2fbcc7..c733c0905 100644 --- a/assets/js/dashboard.js +++ b/assets/js/dashboard.js @@ -16,10 +16,12 @@ if (container) { domain: container.dataset.domain, offset: container.dataset.offset, hasGoals: container.dataset.hasGoals === 'true', - conversionsEnabled: container.dataset.conversionsEnabled === 'true', - funnelsEnabled: container.dataset.funnelsEnabled === 'true', - propsEnabled: container.dataset.propsEnabled === 'true', hasProps: container.dataset.hasProps === 'true', + funnelsAvailable: container.dataset.funnelsAvailable === 'true', + propsAvailable: container.dataset.propsAvailable === 'true', + conversionsOptedOut: container.dataset.conversionsOptedOut === 'true', + funnelsOptedOut: container.dataset.funnelsOptedOut === 'true', + propsOptedOut: container.dataset.propsOptedOut === 'true', funnels: JSON.parse(container.dataset.funnels), statsBegin: container.dataset.statsBegin, nativeStatsBegin: container.dataset.nativeStatsBegin, diff --git a/assets/js/dashboard/components/notice.js b/assets/js/dashboard/components/notice.js index fd2d9876a..656c7abbe 100644 --- a/assets/js/dashboard/components/notice.js +++ b/assets/js/dashboard/components/notice.js @@ -2,7 +2,7 @@ import React from "react" import { sectionTitles } from "../stats/behaviours" import * as api from '../api' -export function FeatureSetupNotice({ site, feature, shortFeatureName, title, info, settingsLink, onHideAction }) { +export function FeatureSetupNotice({ site, feature, title, info, callToAction, onHideAction }) { const sectionTitle = sectionTitles[feature] const requestHideSection = () => { @@ -14,10 +14,10 @@ export function FeatureSetupNotice({ site, feature, shortFeatureName, title, inf } } - function setupButton() { + function renderCallToAction() { return ( - -

Set up {shortFeatureName}

+
+

{callToAction.action}

@@ -25,7 +25,7 @@ export function FeatureSetupNotice({ site, feature, shortFeatureName, title, inf ) } - function hideButton() { + function renderHideButton() { return (