From 81074ebb7e03b2dc2b242b19d20023234144feb0 Mon Sep 17 00:00:00 2001 From: Milutin Kristofic Date: Tue, 16 Apr 2024 13:58:45 +0200 Subject: Add tooltip for copy button in User Suggested Edit Google-Bug-Id: b/335156027 Release-Notes: skip Change-Id: I35b0e03bd18ffcd8d771e4d5cbdd2fb5231be86c (cherry picked from commit 3ec99f11e36b0a96a77fb813db209ab8f28335a8) --- .../app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix.ts | 1 + .../shared/gr-user-suggestion-fix/gr-user-suggestion-fix_test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix.ts b/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix.ts index c8de209163..7b7f42fd90 100644 --- a/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix.ts +++ b/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix.ts @@ -110,6 +110,7 @@ export class GrUserSuggestionsFix extends LitElement { text=${code} multiline copyTargetName="Suggested edit" + buttonTitle="Copy Suggested edit to clipboard" >
diff --git a/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix_test.ts b/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix_test.ts index 52fd687614..c97d23dc34 100644 --- a/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix_test.ts +++ b/polygerrit-ui/app/elements/shared/gr-user-suggestion-fix/gr-user-suggestion-fix_test.ts @@ -52,6 +52,7 @@ suite('gr-user-suggestion-fix tests', () => {