Skip to content

Commit a767c19

Browse files
bmeurerDevtools-frontend LUCI CQ
authored andcommitted
[settings] Add missing UTM parameters to "Learn more" links.
We cannot forward UTM parameters via goo.gle short links, so we need to use the proper developer.chrome.com URLs directly (and have the magic in <x-link> add the UTM parameters for us). Fixed: 438699046 Change-Id: I6c00ff1dd8bf90e9ad86a353a43ec0c464453569 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6854807 Auto-Submit: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent cc395ff commit a767c19

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

front_end/panels/settings/AISettingsTab.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,10 @@ export class AISettingsTab extends LegacyWrapper.LegacyWrapper.WrappableComponen
294294
text: noLogging ? i18nString(UIStrings.consoleInsightsSendsDataNoLogging) :
295295
i18nString(UIStrings.consoleInsightsSendsData)
296296
}],
297-
learnMoreLink:
298-
{url: 'https://goo.gle/devtools-console-messages-ai', linkJSLogContext: 'learn-more.console-insights'},
297+
learnMoreLink: {
298+
url: 'https://developer.chrome.com/docs/devtools/console/understand-messages',
299+
linkJSLogContext: 'learn-more.console-insights',
300+
},
299301
settingExpandState: {
300302
isSettingExpanded: false,
301303
expandSettingJSLogContext: 'console-insights.accordion',
@@ -320,7 +322,10 @@ export class AISettingsTab extends LegacyWrapper.LegacyWrapper.WrappableComponen
320322
text: noLogging ? i18nString(UIStrings.freestylerSendsDataNoLogging) :
321323
i18nString(UIStrings.freestylerSendsData)
322324
}],
323-
learnMoreLink: {url: 'https://goo.gle/devtools-ai-assistance', linkJSLogContext: 'learn-more.ai-assistance'},
325+
learnMoreLink: {
326+
url: 'https://developer.chrome.com/docs/devtools/ai-assistance',
327+
linkJSLogContext: 'learn-more.ai-assistance',
328+
},
324329
settingExpandState: {
325330
isSettingExpanded: false,
326331
expandSettingJSLogContext: 'freestyler.accordion',

0 commit comments

Comments
 (0)