| commit | 40f41af304ab8a12c19106898ac58bb157cc1b49 | [log] [tgz] |
|---|---|---|
| author | Ben Rohlfs <brohlfs@google.com> | Wed May 22 12:57:34 2024 +0200 |
| committer | Ben Rohlfs <brohlfs@google.com> | Wed May 22 12:57:34 2024 +0200 |
| tree | b2615f50738e36c593cccf8955946d0455e001e9 | |
| parent | dd88cd93a2fa3ec7066e8d38acbf79a41301c3b2 [diff] [blame] |
Fix two tiny issues with autocompletion logging - Do not report COMMENT_COMPLETION_SAVE_DRAFT, if no hint was accepted - Add `hasDraftChanged` to COMMENT_COMPLETION_SUGGESTION_FETCHED Release-Notes: skip Change-Id: Ib20f37f33f07da4bde4e7951171c9f7e9a3ee3a8
diff --git a/polygerrit-ui/app/utils/autocomplete-cache.ts b/polygerrit-ui/app/utils/autocomplete-cache.ts index c8077ab..b1dba44 100644 --- a/polygerrit-ui/app/utils/autocomplete-cache.ts +++ b/polygerrit-ui/app/utils/autocomplete-cache.ts
@@ -24,6 +24,8 @@ acceptedSuggestionsCount?: number; totalAcceptedCharacters?: number; savedDraftLength?: number; + + hasDraftChanged?: boolean; } /**