The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
import { EMBEDDING_SDK_CONFIG } from "metabase/embedding-sdk/config";
import { PLUGIN_NOTIFICATIONS_SDK } from "metabase/plugins";
import { hasPremiumFeature } from "metabase-enterprise/settings";
import { DashboardSubscriptionsButton } from "./DashboardSubscriptionsButton";
import { QuestionAlertsButton } from "./QuestionAlertsButton";
export function initializePlugin() {
if (hasPremiumFeature(EMBEDDING_SDK_CONFIG.tokenFeatureKey)) {
PLUGIN_NOTIFICATIONS_SDK.DashboardSubscriptionsButton =
DashboardSubscriptionsButton;
PLUGIN_NOTIFICATIONS_SDK.QuestionAlertsButton = QuestionAlertsButton;
}
}