Skip to content

Commit 71f2b46

Browse files
committed
feat: add tooltips to proposal tabs for additional information
1 parent e66b068 commit 71f2b46

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

src/app/proposals/view-proposal-page/view-proposal-page.component.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
>
77
<mat-tab>
88
<ng-template mat-tab-label>
9-
<span matTooltip="Shows Details" matTooltipPosition="above">
9+
<span
10+
matTooltip="Complete information about the proposal"
11+
matTooltipPosition="above"
12+
>
1013
<mat-icon> details </mat-icon>
1114
{{ "Details" | translate: localization }}
1215
</span>
@@ -18,7 +21,10 @@
1821

1922
<mat-tab>
2023
<ng-template mat-tab-label>
21-
<span matTooltip="Shows Dataset lists" matTooltipPosition="above">
24+
<span
25+
matTooltip="List of all datasets acquired under this proposal and all the children proposals"
26+
matTooltipPosition="above"
27+
>
2228
<mat-icon> folder </mat-icon>
2329
{{ "Datasets" | translate: localization }}
2430
</span>
@@ -34,7 +40,10 @@
3440

3541
<mat-tab>
3642
<ng-template mat-tab-label>
37-
<span matTooltip="Shows related proposals" matTooltipPosition="above">
43+
<span
44+
matTooltip="List of all proposals that are directly related to the current proposal, both parent and children"
45+
matTooltipPosition="above"
46+
>
3847
<mat-icon data-cy="related-proposals"> folder </mat-icon>
3948
{{ "Related Proposals" | translate: localization }}
4049
</span>
@@ -47,7 +56,10 @@
4756

4857
<mat-tab *ngIf="appConfig.logbookEnabled">
4958
<ng-template mat-tab-label>
50-
<span matTooltip="Shows logbook" matTooltipPosition="above">
59+
<span
60+
matTooltip="All the entries recorded in the logbook related to this proposal"
61+
matTooltipPosition="above"
62+
>
5163
<mat-icon> book </mat-icon>
5264
{{ "Logbook" | translate: localization }}
5365
</span>

0 commit comments

Comments
 (0)