-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[37274] Remove accessibleClick (#9355)
* Remove accessibleClick from wp-single-card * Remove accessibleClick directive itself * Fix context menu with button * Add common mixin for unset-button-styles * relations button * Editable query and toolbar * Resizer button * Replace wp-create button * Replace relation description value * Replace type form * Replace pagination links * Replace button styles for attachment dropzone * Replace accessibleClick in tile-view * Replace inline create * Replace display container with button * Replace text in notification on boards error * Replace global search component * Fix pagination spec * Fix specs * Fix triggering display field on enter * Make search toggle a button * Review feedback
- Loading branch information
1 parent
1e1a842
commit 46599dd
Showing
52 changed files
with
333 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
frontend/src/app/features/boards/tile-view/tile-view.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<div class="tile-blocks--container"> | ||
<div class="tile-block button" | ||
[disabled]="disabled()" | ||
(accessibleClick)="created(tile.attribute)" | ||
*ngFor="let tile of tiles"> | ||
<img [src]="tile.image" class="tile-block-image"/> | ||
<div> | ||
<span class="tile-block-title">{{ tile.text }}</span> | ||
<p class="tile-block-description" [textContent]="tile.description"></p> | ||
</div> | ||
<button | ||
*ngFor="let tile of tiles" | ||
class="tile-block button" | ||
type="button" | ||
[disabled]="disabled()" | ||
(click)="created(tile.attribute)" | ||
> | ||
<img [src]="tile.image" class="tile-block-image"/> | ||
<div> | ||
<span class="tile-block-title">{{ tile.text }}</span> | ||
<p class="tile-block-description" [textContent]="tile.description"></p> | ||
</div> | ||
</button> | ||
</div> |
4 changes: 2 additions & 2 deletions
4
frontend/src/app/features/work-packages/components/wp-buttons/wp-button.template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<button class="button {{ buttonClass }}" | ||
type="button" | ||
[ngClass]="{ '-active': isActive }" | ||
[class.-active]="isActive" | ||
[disabled]="disabled || (!isToggle() && isActive)" | ||
[attr.id]="buttonId" | ||
[attr.title]="label" | ||
[attr.accesskey]="accessKey" | ||
(accessibleClick)="performAction($event)"> | ||
(click)="performAction($event)"> | ||
<op-icon icon-classes="{{ iconClass }} button--icon"></op-icon> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.