Skip to content

Commit 4aebd99

Browse files
committed
MOBILE-4864 chore: Ion buttons on toolbar should have clear filling
1 parent b050232 commit 4aebd99

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

src/addons/mod/data/components/index/addon-mod-data-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Buttons to add to the header. -->
22
<core-navbar-buttons slot="end">
33
@if (canSearch) {
4-
<ion-button (click)="showSearch()" [ariaLabel]="'addon.mod_data.search' | translate">
4+
<ion-button fill="clear" (click)="showSearch()" [ariaLabel]="'addon.mod_data.search' | translate">
55
<ion-icon name="fas-magnifying-glass" slot="icon-only" aria-hidden="true" />
66
</ion-button>
77
}

src/addons/mod/glossary/components/index/addon-mod-glossary-index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<core-navbar-buttons slot="end">
33
@if (!showLoading && glossary) {
44
@if (glossary.browsemodes && glossary.browsemodes.length > 1) {
5-
<ion-button (click)="openModePicker($event)" [ariaLabel]="'addon.mod_glossary.browsemode' | translate">
5+
<ion-button fill="clear" (click)="openModePicker($event)" [ariaLabel]="'addon.mod_glossary.browsemode' | translate">
66
<ion-icon name="fas-sort" slot="icon-only" aria-hidden="true" />
77
</ion-button>
88
}
99

10-
<ion-button (click)="toggleSearch()" [ariaLabel]="'addon.mod_glossary.bysearch' | translate">
10+
<ion-button fill="clear" (click)="toggleSearch()" [ariaLabel]="'addon.mod_glossary.bysearch' | translate">
1111
<ion-icon name="fas-magnifying-glass" slot="icon-only" aria-hidden="true" />
1212
</ion-button>
1313
}

src/addons/mod/wiki/components/index/addon-mod-wiki-index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<core-navbar-buttons slot="end">
33
<!-- Select subwiki. -->
44
@if (subwikiData.count > 1) {
5-
<ion-button (click)="showSubwikiPicker($event)" [ariaLabel]="'addon.mod_wiki.subwiki' | translate" aria-haspopup="true">
5+
<ion-button fill="clear" (click)="showSubwikiPicker($event)" [ariaLabel]="'addon.mod_wiki.subwiki' | translate"
6+
aria-haspopup="true">
67
@if (!groupWiki) {
78
<ion-icon name="fas-user" aria-hidden="true" />
89
} @else {
@@ -12,7 +13,7 @@
1213
}
1314

1415
@if (!showLoading && currentPageObj) {
15-
<ion-button (click)="openMap()" [ariaLabel]="'addon.mod_wiki.map' | translate" aria-haspopup="true">
16+
<ion-button fill="clear" (click)="openMap()" [ariaLabel]="'addon.mod_wiki.map' | translate" aria-haspopup="true">
1617
<ion-icon name="fas-map" aria-hidden="true" />
1718
</ion-button>
1819
}

src/core/components/navbar-buttons/navbar-buttons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const BUTTON_HIDDEN_CLASS = 'core-navbar-button-hidden';
3636
* Example usage:
3737
*
3838
* <core-navbar-buttons slot="end">
39-
* <ion-button [class.hidden]="!buttonShown" [ariaLabel]="Do something" (click)="action()">
39+
* <ion-button fill="clear" [class.hidden]="!buttonShown" [ariaLabel]="Do something" (click)="action()">
4040
* <ion-icon name="funnel" slot="icon-only" aria-hidden="true"></ion-icon>
4141
* </ion-button>
4242
* </core-navbar-buttons>

src/core/features/courses/pages/dashboard/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<core-navbar-buttons slot="end" prepend>
22
@if (searchEnabled) {
3-
<ion-button (click)="openSearch()" [ariaLabel]="'core.courses.searchcourses' | translate">
3+
<ion-button fill="clear" (click)="openSearch()" [ariaLabel]="'core.courses.searchcourses' | translate">
44
<ion-icon name="fas-magnifying-glass" slot="icon-only" aria-hidden="true" />
55
</ion-button>
66
}

src/core/features/login/tests/behat/basic_usage.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Feature: Test basic usage of login in app
3838
When I restart the app
3939
Then I should find "Connect to Moodle" in the app
4040

41+
@test
4142
Scenario: Add a new account in the app & Site name in displayed when adding a new account
4243
When I launch the app
4344
And I set the field "Your site" to "$WWWROOT" in the app

src/core/features/settings/pages/synchronization/synchronization.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>{{ 'core.settings.synchronization' | translate }}</h1>
88
</ion-title>
99
<ion-buttons slot="end">
1010
<core-navbar-buttons>
11-
<ion-button (click)="showInfo()" [ariaLabel]="'core.info' | translate">
11+
<ion-button fill="clear" (click)="showInfo()" [ariaLabel]="'core.info' | translate">
1212
<ion-icon name="fas-circle-info" slot="icon-only" aria-hidden="true" />
1313
</ion-button>
1414
</core-navbar-buttons>

src/core/features/sitehome/pages/index/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<core-navbar-buttons slot="end" prepend>
22
@if (searchEnabled) {
3-
<ion-button (click)="openSearch()" [ariaLabel]="'core.courses.searchcourses' | translate">
3+
<ion-button fill="clear" (click)="openSearch()" [ariaLabel]="'core.courses.searchcourses' | translate">
44
<ion-icon name="fas-magnifying-glass" slot="icon-only" aria-hidden="true" />
55
</ion-button>
66
}

0 commit comments

Comments
 (0)