PluginProbe
Extendify / 3.2.3
Extendify v3.2.3
3.2.3 3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 All 129 releases
← All changes | src/Agent/lib/notification-suggestion.js +4 -6 3.2.0 → 3.2.3 View file →
@@ -1,9 +1,7 @@
1 -import {
2 - resolveNotificationLink,
3 - siteHost,
4 -} from '@notifications/notification-link';
1 +import { resolveNotificationLink } from '@notifications/notification-link';
5 2 import { notificationFor } from '@notifications/selection';
3 +import { siteHost } from '@shared/lib/site-host';
6 4
7 5 export const AGENT_CHAT_SLOT = 'agent-chat';
8 6
9 7 export const notificationSuggestion = () => {
@@ -17,11 +15,11 @@
17 15 const slug = notification.slug;
18 16 const source = notification.source;
19 17
20 18 return {
21 - id: `notification-${slug}`,
22 - type: 'external-link',
23 19 message,
20 + content: notification.content,
21 + ctaLabel: notification['cta-label'],
24 22 url: href,
25 23 viewTelemetry: {
26 24 key: 'notification_view',
27 25 payload: { slug, slot: AGENT_CHAT_SLOT, source },