diff --git a/web/app/shared/registry/integrations.registry.ts b/web/app/shared/registry/integrations.registry.ts index 96ad818..5d2e916 100644 --- a/web/app/shared/registry/integrations.registry.ts +++ b/web/app/shared/registry/integrations.registry.ts @@ -5,7 +5,7 @@ import { WIDGET_GOOGLE_CALENDAR, WIDGET_GOOGLE_DOCS, WIDGET_GRAFANA, - WIDGET_JITSI, WIDGET_SPOTIFY, + WIDGET_JITSI, WIDGET_SPOTIFY, WIDGET_STICKER_PICKER, WIDGET_TRADINGVIEW, WIDGET_TWITCH, WIDGET_YOUTUBE @@ -59,6 +59,9 @@ export class IntegrationsRegistry { "spotify": { types: WIDGET_SPOTIFY, }, + "stickerpicker": { + types: WIDGET_STICKER_PICKER, + }, }, }; diff --git a/web/app/shared/services/scalar/scalar-widget.api.ts b/web/app/shared/services/scalar/scalar-widget.api.ts index 4c1ed8a..367f1c9 100644 --- a/web/app/shared/services/scalar/scalar-widget.api.ts +++ b/web/app/shared/services/scalar/scalar-widget.api.ts @@ -71,6 +71,15 @@ export class ScalarWidgetApi { }); } + public static openIntegrationManager(integrationType: string, integrationId: string): void { + ScalarWidgetApi.callAction("integration_manager_open", { + data: { + integType: integrationType, + integId: integrationId, + }, + }); + } + private static callAction(action, payload) { if (!window.opener) { return; diff --git a/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html b/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html index 38114e0..490a53e 100644 --- a/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html +++ b/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html @@ -10,8 +10,9 @@