Skip to content

Commit 42a4e8c

Browse files
jackfranklinDevtools-frontend LUCI CQ
authored andcommitted
Add ve-log for generating annotation label
Seems this was never done when we shipped the feature and was missed. Bug: none Change-Id: Ic9dde6457add2a5eafe5ad30669c600b41a5d878 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7130779 Commit-Queue: Mathias Bynens <[email protected]> Reviewed-by: Mathias Bynens <[email protected]> Auto-Submit: Jack Franklin <[email protected]>
1 parent 50e335b commit 42a4e8c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,9 @@ export class EntryLabelOverlay extends HTMLElement {
677677
<button
678678
class="ai-label-button enabled"
679679
@click=${this.#handleAiButtonClick}>
680+
jslog=${VisualLogging.link('timeline.annotations.ai-generate-label').track({
681+
click: true,
682+
})}
680683
<devtools-icon
681684
class="pen-icon extra-large"
682685
name="pen-spark"

front_end/ui/visual_logging/KnownContextValues.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,6 +3831,7 @@ export const knownContextValues = new Set([
38313831
'timeline.annotation-sidebar.delete',
38323832
'timeline.annotations-tab',
38333833
'timeline.annotations.',
3834+
'timeline.annotations.ai-generate-label',
38343835
'timeline.annotations.create-entries-link',
38353836
'timeline.annotations.create-entry-label',
38363837
'timeline.annotations.create-entry-link',

0 commit comments

Comments
 (0)