@burdenoff/microfe-headshotmarketing 2026.1030.13 → 2026.1101.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/wspace-operations.d.ts +251 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +446 -322
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +4370 -34
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.js +3 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/components/TrackedLinksPanel.d.ts +19 -0
- package/dist/headshotmarketing/components/TrackedLinksPanel.d.ts.map +1 -0
- package/dist/headshotmarketing/components/TrackedLinksPanel.js +246 -0
- package/dist/headshotmarketing/components/TrackedLinksPanel.js.map +1 -0
- package/dist/headshotmarketing/components/index.d.ts +1 -0
- package/dist/headshotmarketing/components/index.d.ts.map +1 -1
- package/dist/headshotmarketing/components/index.js +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +245 -211
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +86 -76
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AttributionPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js +249 -244
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +196 -0
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -0
- package/dist/headshotmarketing/pages/content/AIGeneratedBadge.d.ts +12 -0
- package/dist/headshotmarketing/pages/content/AIGeneratedBadge.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/AIGeneratedBadge.js +30 -0
- package/dist/headshotmarketing/pages/content/AIGeneratedBadge.js.map +1 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +51 -50
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +409 -408
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +158 -104
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentItemActions.d.ts +5 -0
- package/dist/headshotmarketing/pages/content/ContentItemActions.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentItemActions.js +103 -34
- package/dist/headshotmarketing/pages/content/ContentItemActions.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +102 -102
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +150 -76
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +254 -246
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/types/index.d.ts +17 -0
- package/dist/headshotmarketing/types/index.d.ts.map +1 -1
- package/dist/headshotmarketing/utils/contentLibrary.d.ts +6 -0
- package/dist/headshotmarketing/utils/contentLibrary.d.ts.map +1 -1
- package/dist/headshotmarketing/utils/contentLibrary.js +17 -11
- package/dist/headshotmarketing/utils/contentLibrary.js.map +1 -1
- package/dist/headshotmarketing/utils/contentMapper.d.ts +13 -1
- package/dist/headshotmarketing/utils/contentMapper.d.ts.map +1 -1
- package/dist/headshotmarketing/utils/contentMapper.js +26 -13
- package/dist/headshotmarketing/utils/contentMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/trackedLinks.d.ts +75 -0
- package/dist/headshotmarketing/utils/trackedLinks.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/trackedLinks.js +99 -0
- package/dist/headshotmarketing/utils/trackedLinks.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CreatableTrackedLinkSource } from '../utils/trackedLinks';
|
|
3
|
+
|
|
4
|
+
export interface TrackedLinksPanelProps {
|
|
5
|
+
sourceType: CreatableTrackedLinkSource;
|
|
6
|
+
sourceId: string;
|
|
7
|
+
/** Show the destination URL field and "Create tracked link" button. */
|
|
8
|
+
allowCreate?: boolean;
|
|
9
|
+
/** Pre-filled destination, e.g. the creative's landing page URL. */
|
|
10
|
+
defaultDestinationUrl?: string | null;
|
|
11
|
+
/** Panel heading. */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** One-line explanation under the heading. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Text shown when the source has no tracked links yet. */
|
|
16
|
+
emptyMessage?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const TrackedLinksPanel: FC<TrackedLinksPanelProps>;
|
|
19
|
+
//# sourceMappingURL=TrackedLinksPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrackedLinksPanel.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/components/TrackedLinksPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAkB1C,OAAO,EAML,KAAK,0BAA0B,EAChC,MAAM,uBAAuB,CAAC;AAkB/B,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,0BAA0B,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAgRxD,CAAC"}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { useHeadshotmarketingCreateTrackedLinkMutation as e, useHeadshotmarketingTrackedLinksQuery as t } from "../../generated/wspace-operations.js";
|
|
2
|
+
import { formatNumber as n } from "../utils/helpers.js";
|
|
3
|
+
import { HeadshotmarketingTrackedLinkSource as r } from "../../generated/wspace-types.js";
|
|
4
|
+
import { formatLastClicked as i, shortenUrl as a, totalClicks as o, validateDestinationUrl as s } from "../utils/trackedLinks.js";
|
|
5
|
+
import { useState as c } from "react";
|
|
6
|
+
import { Check as l, ChevronLeft as u, ChevronRight as d, Copy as f, Link2 as p, MousePointerClick as m, RefreshCw as h } from "lucide-react";
|
|
7
|
+
import { useCopyToClipboard as g } from "@burdenoff/fe-libs/shared/hooks";
|
|
8
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
9
|
+
//#region src/headshotmarketing/components/TrackedLinksPanel.tsx
|
|
10
|
+
var y = {
|
|
11
|
+
AD_CAMPAIGN: r.AdCampaign,
|
|
12
|
+
AD_CREATIVE: r.AdCreative,
|
|
13
|
+
SOCIAL_POST: r.SocialPost
|
|
14
|
+
}, b = 25, x = ({ sourceType: r, sourceId: x, allowCreate: S = !1, defaultDestinationUrl: C, title: w = "Tracked links", description: T, emptyMessage: E = "No tracked links yet." }) => {
|
|
15
|
+
let [D, O] = c(C ?? ""), [k, A] = c(null), [j, M] = c(null), [N, P] = c(null), [F, I] = c(0), { copied: L, copy: R, error: z } = g(), { data: B, loading: V, error: H, refetch: U } = t({
|
|
16
|
+
variables: {
|
|
17
|
+
filter: {
|
|
18
|
+
sourceType: y[r],
|
|
19
|
+
sourceId: x
|
|
20
|
+
},
|
|
21
|
+
pagination: {
|
|
22
|
+
limit: b,
|
|
23
|
+
offset: F
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
fetchPolicy: "cache-and-network",
|
|
27
|
+
skip: !x
|
|
28
|
+
}), [W, { loading: G }] = e(), K = B?.headshotmarketingTrackedLinks.items ?? [], q = B?.headshotmarketingTrackedLinks.total ?? 0, J = B?.headshotmarketingTrackedLinks.hasMore ?? !1, Y = F > 0 || J, X = o(K), Z = async () => {
|
|
29
|
+
let e = s(D);
|
|
30
|
+
if (!e.ok) {
|
|
31
|
+
A(e.error);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
A(null);
|
|
35
|
+
try {
|
|
36
|
+
let t = (await W({ variables: { input: {
|
|
37
|
+
sourceType: y[r],
|
|
38
|
+
sourceId: x,
|
|
39
|
+
destinationUrl: e.url
|
|
40
|
+
} } })).data?.headshotmarketingCreateTrackedLink;
|
|
41
|
+
t && M(t.id), F === 0 ? await U() : I(0);
|
|
42
|
+
} catch (e) {
|
|
43
|
+
A(e instanceof Error ? e.message : "Could not create tracked link.");
|
|
44
|
+
}
|
|
45
|
+
}, Q = async (e, t) => {
|
|
46
|
+
P(e), await R(t);
|
|
47
|
+
};
|
|
48
|
+
return /* @__PURE__ */ v("section", {
|
|
49
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
50
|
+
"data-testid": "hm-tracked-links-panel",
|
|
51
|
+
"aria-label": w,
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ v("div", {
|
|
54
|
+
className: "mb-3 flex flex-wrap items-start justify-between gap-2",
|
|
55
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ v("h4", {
|
|
56
|
+
className: "flex items-center gap-2 text-sm font-semibold text-text-primary",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ _(p, { className: "h-4 w-4 text-text-secondary" }),
|
|
59
|
+
w,
|
|
60
|
+
q > 0 && /* @__PURE__ */ v("span", {
|
|
61
|
+
className: "text-xs font-normal text-text-secondary",
|
|
62
|
+
children: [
|
|
63
|
+
"(",
|
|
64
|
+
n(q),
|
|
65
|
+
" ",
|
|
66
|
+
q === 1 ? "link" : "links",
|
|
67
|
+
" ·",
|
|
68
|
+
" ",
|
|
69
|
+
n(X),
|
|
70
|
+
" ",
|
|
71
|
+
Y ? "clicks on this page" : "clicks",
|
|
72
|
+
")"
|
|
73
|
+
]
|
|
74
|
+
})
|
|
75
|
+
]
|
|
76
|
+
}), T && /* @__PURE__ */ _("p", {
|
|
77
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
78
|
+
children: T
|
|
79
|
+
})] }), /* @__PURE__ */ v("button", {
|
|
80
|
+
type: "button",
|
|
81
|
+
onClick: () => void U(),
|
|
82
|
+
disabled: V,
|
|
83
|
+
className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-2.5 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
|
|
84
|
+
"aria-label": "Refresh tracked links",
|
|
85
|
+
children: [/* @__PURE__ */ _(h, { className: "h-3.5 w-3.5" }), "Refresh"]
|
|
86
|
+
})]
|
|
87
|
+
}),
|
|
88
|
+
S && /* @__PURE__ */ v("div", {
|
|
89
|
+
className: "mb-4 space-y-2",
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ _("label", {
|
|
92
|
+
htmlFor: `hm-tracked-dest-${x}`,
|
|
93
|
+
className: "block text-xs font-medium text-text-primary",
|
|
94
|
+
children: "Destination URL"
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ v("div", {
|
|
97
|
+
className: "flex flex-col gap-2 sm:flex-row",
|
|
98
|
+
children: [/* @__PURE__ */ _("input", {
|
|
99
|
+
id: `hm-tracked-dest-${x}`,
|
|
100
|
+
type: "url",
|
|
101
|
+
inputMode: "url",
|
|
102
|
+
placeholder: "https://example.com/landing-page",
|
|
103
|
+
value: D,
|
|
104
|
+
onChange: (e) => O(e.target.value),
|
|
105
|
+
className: "min-w-0 flex-1 rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
106
|
+
}), /* @__PURE__ */ v("button", {
|
|
107
|
+
type: "button",
|
|
108
|
+
onClick: () => void Z(),
|
|
109
|
+
disabled: G,
|
|
110
|
+
className: "inline-flex shrink-0 items-center justify-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60",
|
|
111
|
+
children: [/* @__PURE__ */ _(p, { className: "h-4 w-4" }), G ? "Creating…" : "Create tracked link"]
|
|
112
|
+
})]
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ v("p", {
|
|
115
|
+
className: "text-xs text-text-secondary",
|
|
116
|
+
children: [
|
|
117
|
+
"Use the tracked URL as the ad destination. Each click is counted and the visitor lands on your page with an",
|
|
118
|
+
" ",
|
|
119
|
+
/* @__PURE__ */ _("code", {
|
|
120
|
+
className: "rounded bg-bg-sunken px-1 font-mono",
|
|
121
|
+
children: "hm_cid"
|
|
122
|
+
}),
|
|
123
|
+
" ",
|
|
124
|
+
"parameter; pass it as",
|
|
125
|
+
" ",
|
|
126
|
+
/* @__PURE__ */ _("code", {
|
|
127
|
+
className: "font-mono",
|
|
128
|
+
children: "attributionClickId"
|
|
129
|
+
}),
|
|
130
|
+
" when you create the lead to attribute the click."
|
|
131
|
+
]
|
|
132
|
+
}),
|
|
133
|
+
k && /* @__PURE__ */ _("p", {
|
|
134
|
+
role: "alert",
|
|
135
|
+
className: "text-xs text-status-error-text",
|
|
136
|
+
children: k
|
|
137
|
+
})
|
|
138
|
+
]
|
|
139
|
+
}),
|
|
140
|
+
H ? /* @__PURE__ */ v("p", {
|
|
141
|
+
role: "alert",
|
|
142
|
+
className: "py-2 text-sm text-status-error-text",
|
|
143
|
+
children: ["Could not load tracked links: ", H.message]
|
|
144
|
+
}) : V && K.length === 0 ? /* @__PURE__ */ _("p", {
|
|
145
|
+
className: "py-2 text-sm text-text-secondary",
|
|
146
|
+
children: "Loading tracked links…"
|
|
147
|
+
}) : K.length === 0 ? /* @__PURE__ */ _("p", {
|
|
148
|
+
className: "py-2 text-sm text-text-secondary",
|
|
149
|
+
children: E
|
|
150
|
+
}) : /* @__PURE__ */ _("ul", {
|
|
151
|
+
className: "divide-y divide-border-subtle",
|
|
152
|
+
children: K.map((e) => {
|
|
153
|
+
let t = L && N === e.id;
|
|
154
|
+
return /* @__PURE__ */ v("li", {
|
|
155
|
+
className: "flex flex-col gap-2 py-3 sm:flex-row sm:items-center sm:justify-between",
|
|
156
|
+
"data-testid": "hm-tracked-link-row",
|
|
157
|
+
children: [/* @__PURE__ */ v("div", {
|
|
158
|
+
className: "min-w-0 space-y-1",
|
|
159
|
+
children: [
|
|
160
|
+
e.trackedUrl ? /* @__PURE__ */ _("p", {
|
|
161
|
+
className: "truncate font-mono text-xs text-text-primary",
|
|
162
|
+
title: e.trackedUrl,
|
|
163
|
+
children: e.trackedUrl
|
|
164
|
+
}) : /* @__PURE__ */ _("p", {
|
|
165
|
+
className: "text-xs text-text-secondary",
|
|
166
|
+
children: "Tracking is not configured for this environment."
|
|
167
|
+
}),
|
|
168
|
+
e.destinationUrl && /* @__PURE__ */ v("p", {
|
|
169
|
+
className: "truncate text-xs text-text-secondary",
|
|
170
|
+
title: e.destinationUrl,
|
|
171
|
+
children: ["→ ", a(e.destinationUrl, 64)]
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ v("p", {
|
|
174
|
+
className: "flex flex-wrap items-center gap-3 text-[11px] text-text-secondary",
|
|
175
|
+
children: [
|
|
176
|
+
/* @__PURE__ */ v("span", {
|
|
177
|
+
className: "inline-flex items-center gap-1",
|
|
178
|
+
children: [
|
|
179
|
+
/* @__PURE__ */ _(m, { className: "h-3 w-3" }),
|
|
180
|
+
/* @__PURE__ */ _("span", {
|
|
181
|
+
"data-testid": "hm-tracked-link-clicks",
|
|
182
|
+
children: n(e.clickCount)
|
|
183
|
+
}),
|
|
184
|
+
" ",
|
|
185
|
+
"clicks"
|
|
186
|
+
]
|
|
187
|
+
}),
|
|
188
|
+
/* @__PURE__ */ v("span", { children: ["Last click: ", i(e.lastClickedAt)] }),
|
|
189
|
+
j === e.id && /* @__PURE__ */ _("span", {
|
|
190
|
+
className: "rounded-full bg-status-success-bg/20 px-2 py-0.5 font-medium text-status-success-text",
|
|
191
|
+
children: "Ready to share"
|
|
192
|
+
})
|
|
193
|
+
]
|
|
194
|
+
})
|
|
195
|
+
]
|
|
196
|
+
}), e.trackedUrl && /* @__PURE__ */ v("button", {
|
|
197
|
+
type: "button",
|
|
198
|
+
onClick: () => void Q(e.id, e.trackedUrl ?? ""),
|
|
199
|
+
className: "inline-flex shrink-0 items-center gap-1.5 self-start rounded-md border border-border-subtle px-2.5 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken sm:self-center",
|
|
200
|
+
"aria-label": "Copy tracked URL",
|
|
201
|
+
children: [t ? /* @__PURE__ */ _(l, { className: "h-3.5 w-3.5 text-status-success-text" }) : /* @__PURE__ */ _(f, { className: "h-3.5 w-3.5" }), t ? "Copied" : "Copy URL"]
|
|
202
|
+
})]
|
|
203
|
+
}, e.id);
|
|
204
|
+
})
|
|
205
|
+
}),
|
|
206
|
+
Y && /* @__PURE__ */ v("nav", {
|
|
207
|
+
className: "mt-3 flex items-center justify-between gap-2 border-t border-border-subtle pt-3 text-xs text-text-secondary",
|
|
208
|
+
"aria-label": "Tracked links pages",
|
|
209
|
+
"data-testid": "hm-tracked-links-pager",
|
|
210
|
+
children: [/* @__PURE__ */ v("span", { children: [
|
|
211
|
+
n(K.length === 0 ? F : F + 1),
|
|
212
|
+
"–",
|
|
213
|
+
n(F + K.length),
|
|
214
|
+
" of ",
|
|
215
|
+
n(q)
|
|
216
|
+
] }), /* @__PURE__ */ v("div", {
|
|
217
|
+
className: "flex items-center gap-2",
|
|
218
|
+
children: [/* @__PURE__ */ v("button", {
|
|
219
|
+
type: "button",
|
|
220
|
+
onClick: () => I(Math.max(0, F - b)),
|
|
221
|
+
disabled: F === 0 || V,
|
|
222
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-2.5 py-1.5 font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
|
|
223
|
+
"aria-label": "Previous tracked links",
|
|
224
|
+
children: [/* @__PURE__ */ _(u, { className: "h-3.5 w-3.5" }), "Previous"]
|
|
225
|
+
}), /* @__PURE__ */ v("button", {
|
|
226
|
+
type: "button",
|
|
227
|
+
onClick: () => I(F + b),
|
|
228
|
+
disabled: !J || V,
|
|
229
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-2.5 py-1.5 font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
|
|
230
|
+
"aria-label": "Next tracked links",
|
|
231
|
+
children: ["Next", /* @__PURE__ */ _(d, { className: "h-3.5 w-3.5" })]
|
|
232
|
+
})]
|
|
233
|
+
})]
|
|
234
|
+
}),
|
|
235
|
+
z && /* @__PURE__ */ _("p", {
|
|
236
|
+
role: "alert",
|
|
237
|
+
className: "mt-2 text-xs text-status-error-text",
|
|
238
|
+
children: "Copy failed — select the URL and copy it manually."
|
|
239
|
+
})
|
|
240
|
+
]
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
//#endregion
|
|
244
|
+
export { x as TrackedLinksPanel };
|
|
245
|
+
|
|
246
|
+
//# sourceMappingURL=TrackedLinksPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrackedLinksPanel.js","names":[],"sources":["../../../src/headshotmarketing/components/TrackedLinksPanel.tsx"],"sourcesContent":["/**\n * Tracked links panel (HEA-UC-13 follow-up, BOFF-10496)\n *\n * Lists the tracked links of one ad campaign, ad creative or social post\n * (`headshotmarketingTrackedLinks` filtered by source type and id) with their\n * recorded click counts and last click time, and lets the marketer copy each\n * tracked URL. When `allowCreate` is set, a destination URL field calls\n * `headshotmarketingCreateTrackedLink`; the backend returns the existing link\n * for a destination that is already tracked, so pressing the button twice is\n * harmless. Every number shown comes from the backend (BOFF-10394).\n *\n * @module headshotmarketing/components\n */\n\nimport { useState, type FC } from \"react\";\nimport {\n Check,\n ChevronLeft,\n ChevronRight,\n Copy,\n Link2,\n MousePointerClick,\n RefreshCw,\n} from \"lucide-react\";\nimport { useCopyToClipboard } from \"@burdenoff/fe-libs/shared/hooks\";\nimport {\n useHeadshotmarketingCreateTrackedLinkMutation,\n useHeadshotmarketingTrackedLinksQuery,\n type HeadshotmarketingTrackedLinkFieldsFragment,\n} from \"../../generated/wspace-operations\";\nimport { HeadshotmarketingTrackedLinkSource } from \"../../generated/wspace-types\";\nimport { formatNumber } from \"../utils/helpers\";\nimport {\n TRACKED_CLICK_ID_PARAM,\n formatLastClicked,\n shortenUrl,\n totalClicks,\n validateDestinationUrl,\n type CreatableTrackedLinkSource,\n} from \"../utils/trackedLinks\";\n\nconst SOURCE_ENUM: Record<\n CreatableTrackedLinkSource,\n HeadshotmarketingTrackedLinkSource\n> = {\n AD_CAMPAIGN: HeadshotmarketingTrackedLinkSource.AdCampaign,\n AD_CREATIVE: HeadshotmarketingTrackedLinkSource.AdCreative,\n SOCIAL_POST: HeadshotmarketingTrackedLinkSource.SocialPost,\n};\n\n/**\n * Links shown per page. A source rarely has more than a handful, but the\n * panel pages through the rest with the query's `offset` and `hasMore` so\n * every tracked URL stays reachable.\n */\nconst PAGE_SIZE = 25;\n\nexport interface TrackedLinksPanelProps {\n sourceType: CreatableTrackedLinkSource;\n sourceId: string;\n /** Show the destination URL field and \"Create tracked link\" button. */\n allowCreate?: boolean;\n /** Pre-filled destination, e.g. the creative's landing page URL. */\n defaultDestinationUrl?: string | null;\n /** Panel heading. */\n title?: string;\n /** One-line explanation under the heading. */\n description?: string;\n /** Text shown when the source has no tracked links yet. */\n emptyMessage?: string;\n}\n\nexport const TrackedLinksPanel: FC<TrackedLinksPanelProps> = ({\n sourceType,\n sourceId,\n allowCreate = false,\n defaultDestinationUrl,\n title = \"Tracked links\",\n description,\n emptyMessage = \"No tracked links yet.\",\n}) => {\n const [destination, setDestination] = useState(defaultDestinationUrl ?? \"\");\n const [formError, setFormError] = useState<string | null>(null);\n const [createdId, setCreatedId] = useState<string | null>(null);\n const [copiedId, setCopiedId] = useState<string | null>(null);\n const [offset, setOffset] = useState(0);\n const { copied, copy, error: copyError } = useCopyToClipboard();\n\n const { data, loading, error, refetch } =\n useHeadshotmarketingTrackedLinksQuery({\n variables: {\n filter: { sourceType: SOURCE_ENUM[sourceType], sourceId },\n pagination: { limit: PAGE_SIZE, offset },\n },\n fetchPolicy: \"cache-and-network\",\n skip: !sourceId,\n });\n const [createLink, { loading: creating }] =\n useHeadshotmarketingCreateTrackedLinkMutation();\n\n const links: HeadshotmarketingTrackedLinkFieldsFragment[] =\n data?.headshotmarketingTrackedLinks.items ?? [];\n const total = data?.headshotmarketingTrackedLinks.total ?? 0;\n const hasMore = data?.headshotmarketingTrackedLinks.hasMore ?? false;\n const paged = offset > 0 || hasMore;\n const pageClicks = totalClicks(links);\n\n const handleCreate = async (): Promise<void> => {\n const validation = validateDestinationUrl(destination);\n if (!validation.ok) {\n setFormError(validation.error);\n return;\n }\n setFormError(null);\n try {\n const result = await createLink({\n variables: {\n input: {\n sourceType: SOURCE_ENUM[sourceType],\n sourceId,\n destinationUrl: validation.url,\n },\n },\n });\n const link = result.data?.headshotmarketingCreateTrackedLink;\n if (link) setCreatedId(link.id);\n // A new link sorts first, so jump back to the first page to show it.\n if (offset !== 0) setOffset(0);\n else await refetch();\n } catch (err) {\n setFormError(\n err instanceof Error ? err.message : \"Could not create tracked link.\",\n );\n }\n };\n\n const handleCopy = async (id: string, url: string): Promise<void> => {\n setCopiedId(id);\n await copy(url);\n };\n\n return (\n <section\n className=\"rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop\"\n data-testid=\"hm-tracked-links-panel\"\n aria-label={title}\n >\n <div className=\"mb-3 flex flex-wrap items-start justify-between gap-2\">\n <div>\n <h4 className=\"flex items-center gap-2 text-sm font-semibold text-text-primary\">\n <Link2 className=\"h-4 w-4 text-text-secondary\" />\n {title}\n {total > 0 && (\n <span className=\"text-xs font-normal text-text-secondary\">\n ({formatNumber(total)} {total === 1 ? \"link\" : \"links\"} ·{\" \"}\n {formatNumber(pageClicks)}{\" \"}\n {paged ? \"clicks on this page\" : \"clicks\"})\n </span>\n )}\n </h4>\n {description && (\n <p className=\"mt-1 text-xs text-text-secondary\">{description}</p>\n )}\n </div>\n <button\n type=\"button\"\n onClick={() => void refetch()}\n disabled={loading}\n className=\"inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-2.5 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60\"\n aria-label=\"Refresh tracked links\"\n >\n <RefreshCw className=\"h-3.5 w-3.5\" />\n Refresh\n </button>\n </div>\n\n {allowCreate && (\n <div className=\"mb-4 space-y-2\">\n <label\n htmlFor={`hm-tracked-dest-${sourceId}`}\n className=\"block text-xs font-medium text-text-primary\"\n >\n Destination URL\n </label>\n <div className=\"flex flex-col gap-2 sm:flex-row\">\n <input\n id={`hm-tracked-dest-${sourceId}`}\n type=\"url\"\n inputMode=\"url\"\n placeholder=\"https://example.com/landing-page\"\n value={destination}\n onChange={(e) => setDestination(e.target.value)}\n className=\"min-w-0 flex-1 rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]\"\n />\n <button\n type=\"button\"\n onClick={() => void handleCreate()}\n disabled={creating}\n className=\"inline-flex shrink-0 items-center justify-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60\"\n >\n <Link2 className=\"h-4 w-4\" />\n {creating ? \"Creating…\" : \"Create tracked link\"}\n </button>\n </div>\n <p className=\"text-xs text-text-secondary\">\n Use the tracked URL as the ad destination. Each click is counted and\n the visitor lands on your page with an{\" \"}\n <code className=\"rounded bg-bg-sunken px-1 font-mono\">\n {TRACKED_CLICK_ID_PARAM}\n </code>{\" \"}\n parameter; pass it as{\" \"}\n <code className=\"font-mono\">attributionClickId</code> when you\n create the lead to attribute the click.\n </p>\n {formError && (\n <p role=\"alert\" className=\"text-xs text-status-error-text\">\n {formError}\n </p>\n )}\n </div>\n )}\n\n {error ? (\n <p role=\"alert\" className=\"py-2 text-sm text-status-error-text\">\n Could not load tracked links: {error.message}\n </p>\n ) : loading && links.length === 0 ? (\n <p className=\"py-2 text-sm text-text-secondary\">\n Loading tracked links…\n </p>\n ) : links.length === 0 ? (\n <p className=\"py-2 text-sm text-text-secondary\">{emptyMessage}</p>\n ) : (\n <ul className=\"divide-y divide-border-subtle\">\n {links.map((link) => {\n const isCopied = copied && copiedId === link.id;\n return (\n <li\n key={link.id}\n className=\"flex flex-col gap-2 py-3 sm:flex-row sm:items-center sm:justify-between\"\n data-testid=\"hm-tracked-link-row\"\n >\n <div className=\"min-w-0 space-y-1\">\n {link.trackedUrl ? (\n <p\n className=\"truncate font-mono text-xs text-text-primary\"\n title={link.trackedUrl}\n >\n {link.trackedUrl}\n </p>\n ) : (\n <p className=\"text-xs text-text-secondary\">\n Tracking is not configured for this environment.\n </p>\n )}\n {link.destinationUrl && (\n <p\n className=\"truncate text-xs text-text-secondary\"\n title={link.destinationUrl}\n >\n → {shortenUrl(link.destinationUrl, 64)}\n </p>\n )}\n <p className=\"flex flex-wrap items-center gap-3 text-[11px] text-text-secondary\">\n <span className=\"inline-flex items-center gap-1\">\n <MousePointerClick className=\"h-3 w-3\" />\n <span data-testid=\"hm-tracked-link-clicks\">\n {formatNumber(link.clickCount)}\n </span>{\" \"}\n clicks\n </span>\n <span>\n Last click: {formatLastClicked(link.lastClickedAt)}\n </span>\n {createdId === link.id && (\n <span className=\"rounded-full bg-status-success-bg/20 px-2 py-0.5 font-medium text-status-success-text\">\n Ready to share\n </span>\n )}\n </p>\n </div>\n {link.trackedUrl && (\n <button\n type=\"button\"\n onClick={() =>\n void handleCopy(link.id, link.trackedUrl ?? \"\")\n }\n className=\"inline-flex shrink-0 items-center gap-1.5 self-start rounded-md border border-border-subtle px-2.5 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken sm:self-center\"\n aria-label=\"Copy tracked URL\"\n >\n {isCopied ? (\n <Check className=\"h-3.5 w-3.5 text-status-success-text\" />\n ) : (\n <Copy className=\"h-3.5 w-3.5\" />\n )}\n {isCopied ? \"Copied\" : \"Copy URL\"}\n </button>\n )}\n </li>\n );\n })}\n </ul>\n )}\n {paged && (\n <nav\n className=\"mt-3 flex items-center justify-between gap-2 border-t border-border-subtle pt-3 text-xs text-text-secondary\"\n aria-label=\"Tracked links pages\"\n data-testid=\"hm-tracked-links-pager\"\n >\n <span>\n {formatNumber(links.length === 0 ? offset : offset + 1)}–\n {formatNumber(offset + links.length)} of {formatNumber(total)}\n </span>\n <div className=\"flex items-center gap-2\">\n <button\n type=\"button\"\n onClick={() => setOffset(Math.max(0, offset - PAGE_SIZE))}\n disabled={offset === 0 || loading}\n className=\"inline-flex items-center gap-1 rounded-md border border-border-subtle px-2.5 py-1.5 font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60\"\n aria-label=\"Previous tracked links\"\n >\n <ChevronLeft className=\"h-3.5 w-3.5\" />\n Previous\n </button>\n <button\n type=\"button\"\n onClick={() => setOffset(offset + PAGE_SIZE)}\n disabled={!hasMore || loading}\n className=\"inline-flex items-center gap-1 rounded-md border border-border-subtle px-2.5 py-1.5 font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60\"\n aria-label=\"Next tracked links\"\n >\n Next\n <ChevronRight className=\"h-3.5 w-3.5\" />\n </button>\n </div>\n </nav>\n )}\n {copyError && (\n <p role=\"alert\" className=\"mt-2 text-xs text-status-error-text\">\n Copy failed — select the URL and copy it manually.\n </p>\n )}\n </section>\n );\n};\n"],"mappings":";;;;;;;;;AAyCA,IAAM,IAGF;CACF,aAAa,EAAmC;CAChD,aAAa,EAAmC;CAChD,aAAa,EAAmC;CACjD,EAOK,IAAY,IAiBL,KAAiD,EAC5D,eACA,aACA,iBAAc,IACd,0BACA,WAAQ,iBACR,gBACA,kBAAe,8BACX;CACJ,IAAM,CAAC,GAAa,KAAkB,EAAS,KAAyB,GAAG,EACrE,CAAC,GAAW,KAAgB,EAAwB,KAAK,EACzD,CAAC,GAAW,KAAgB,EAAwB,KAAK,EACzD,CAAC,GAAU,KAAe,EAAwB,KAAK,EACvD,CAAC,GAAQ,KAAa,EAAS,EAAE,EACjC,EAAE,WAAQ,SAAM,OAAO,MAAc,GAAoB,EAEzD,EAAE,SAAM,YAAS,UAAO,eAC5B,EAAsC;EACpC,WAAW;GACT,QAAQ;IAAE,YAAY,EAAY;IAAa;IAAU;GACzD,YAAY;IAAE,OAAO;IAAW;IAAQ;GACzC;EACD,aAAa;EACb,MAAM,CAAC;EACR,CAAC,EACE,CAAC,GAAY,EAAE,SAAS,OAC5B,GAA+C,EAE3C,IACJ,GAAM,8BAA8B,SAAS,EAAE,EAC3C,IAAQ,GAAM,8BAA8B,SAAS,GACrD,IAAU,GAAM,8BAA8B,WAAW,IACzD,IAAQ,IAAS,K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,CAAC,KAAW;MACtB,WAAU;MACV,cAAW;gBALb,CAMC,QAEC,kBAAC,GAAD,EAAc,WAAU,eAAgB,CAAA,CACjC;QACL;OACF;;GAEP,KACC,kBAAC,KAAD;IAAG,MAAK;IAAQ,WAAU;cAAsC;IAE5D,CAAA;GAEE"}
|
|
@@ -16,4 +16,5 @@ export { TagChipsInput, type TagChipsInputProps } from './TagChipsInput';
|
|
|
16
16
|
export { AssetUploadButton, type AssetUploadButtonProps, type UploadedAsset, } from './AssetUploadButton';
|
|
17
17
|
export { ActionMenu, type ActionMenuProps, type ActionMenuItem, } from './ActionMenu';
|
|
18
18
|
export { CreateInfluencerModal, CreateInfluencerCampaignModal, AddInfluencerRelationshipModal, EditInfluencerRelationshipModal, InfluencerDetailsModal, } from './InfluencerModals';
|
|
19
|
+
export { TrackedLinksPanel, type TrackedLinksPanelProps, } from './TrackedLinksPanel';
|
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,uBAAuB,CAAC;AA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C/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,qBAAqB,EACrB,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdCampaignDetailsPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/ads/AdCampaignDetailsPage.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdCampaignDetailsPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/ads/AdCampaignDetailsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAyEnD,eAAO,MAAM,qBAAqB,EAAE,EA6mBnC,CAAC"}
|