diff options
-rw-r--r-- | polygerrit-ui/app/elements/checks/gr-checks-results.ts | 4 | ||||
-rw-r--r-- | polygerrit-ui/app/elements/checks/gr-checks-results_test.ts | 9 |
2 files changed, 3 insertions, 10 deletions
diff --git a/polygerrit-ui/app/elements/checks/gr-checks-results.ts b/polygerrit-ui/app/elements/checks/gr-checks-results.ts index 848948f05d..e1604cf38a 100644 --- a/polygerrit-ui/app/elements/checks/gr-checks-results.ts +++ b/polygerrit-ui/app/elements/checks/gr-checks-results.ts @@ -495,7 +495,7 @@ export class GrResultRow extends LitElement { return html` <div class="label ${status}"> <span>${label} ${valueStr}</span> - <paper-tooltip offset="5" ?fitToVisibleBounds=${true}> + <paper-tooltip offset="5" .fitToVisibleBounds=${true}> The check result has (probably) influenced this label vote. </paper-tooltip> </div> @@ -607,7 +607,7 @@ export class GrResultRow extends LitElement { @click=${(e: MouseEvent) => this.tagClick(e, tag.name)} > <span>${tag.name}</span> - <paper-tooltip offset="5" ?fitToVisibleBounds=${true}> + <paper-tooltip offset="5" .fitToVisibleBounds=${true}> ${tag.tooltip ?? 'A category tag for this check result. Click to filter.'} </paper-tooltip> diff --git a/polygerrit-ui/app/elements/checks/gr-checks-results_test.ts b/polygerrit-ui/app/elements/checks/gr-checks-results_test.ts index 934e9585dd..15176b0c40 100644 --- a/polygerrit-ui/app/elements/checks/gr-checks-results_test.ts +++ b/polygerrit-ui/app/elements/checks/gr-checks-results_test.ts @@ -45,12 +45,7 @@ suite('gr-result-row test', () => { /* HTML */ ` <div class="approved label"> <span> test-label +1 </span> - <paper-tooltip - fittovisiblebounds="" - offset="5" - role="tooltip" - tabindex="-1" - > + <paper-tooltip offset="5" role="tooltip" tabindex="-1"> The check result has (probably) influenced this label vote. </paper-tooltip> </div> @@ -92,7 +87,6 @@ suite('gr-result-row test', () => { <button class="tag"> <span> OBSOLETE </span> <paper-tooltip - fittovisiblebounds="" offset="5" role="tooltip" tabindex="-1" @@ -103,7 +97,6 @@ suite('gr-result-row test', () => { <button class="tag"> <span> E2E </span> <paper-tooltip - fittovisiblebounds="" offset="5" role="tooltip" tabindex="-1" |