WIP on refactoring help mode logic
This commit is contained in:
parent
4b97b709e1
commit
9ed4a68348
@ -4,7 +4,7 @@
|
||||
<div *ngIf="!currentUser.isUser" class="menu-placeholder"></div>
|
||||
|
||||
<div *ngIf="currentUser.isUser" class="menu flex-2 visible-lg breadcrumbs-container">
|
||||
<redaction-breadcrumbs iqserHelpMode="navigate-in-breadcrumbs"></redaction-breadcrumbs>
|
||||
<redaction-breadcrumbs></redaction-breadcrumbs>
|
||||
</div>
|
||||
|
||||
<div class="logo">
|
||||
@ -25,11 +25,7 @@
|
||||
|
||||
<redaction-notifications iqserHelpMode="open-notifications"></redaction-notifications>
|
||||
</div>
|
||||
<redaction-user-button
|
||||
[matMenuTriggerFor]="userMenu"
|
||||
[userId]="currentUser.id"
|
||||
iqserHelpMode="open-usermenu"
|
||||
></redaction-user-button>
|
||||
<redaction-user-button [matMenuTriggerFor]="userMenu" [userId]="currentUser.id"></redaction-user-button>
|
||||
|
||||
<mat-menu #userMenu="matMenu" xPosition="before">
|
||||
<ng-container *ngFor="let item of userMenuItems; trackBy: trackByName">
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
[tooltip]="'dossier-details.edit-owner' | translate"
|
||||
class="ml-14"
|
||||
icon="iqser:edit"
|
||||
iqserHelpMode="edit-dossier-owner"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
</ng-container>
|
||||
@ -46,11 +45,7 @@
|
||||
></redaction-simple-doughnut-chart>
|
||||
</div>
|
||||
|
||||
<div
|
||||
*ngIf="stats.hasFiles && needsWorkFilters$ | async as filters"
|
||||
class="mt-24 legend pb-32"
|
||||
iqserHelpMode="filter-for-editing-notes"
|
||||
>
|
||||
<div *ngIf="stats.hasFiles && needsWorkFilters$ | async as filters" class="mt-24 legend pb-32">
|
||||
<div
|
||||
(click)="filterService.toggleFilter('needsWorkFilters', filter.id)"
|
||||
*ngFor="let filter of filters"
|
||||
|
||||
@ -42,7 +42,6 @@
|
||||
[tooltip]="'annotation-actions.edit-reason.label' | translate"
|
||||
[type]="buttonType"
|
||||
icon="iqser:edit"
|
||||
iqserHelpMode="redaction-edit-reason"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -52,7 +51,6 @@
|
||||
[tooltip]="'annotation-actions.accept-recommendation.label' | translate"
|
||||
[type]="buttonType"
|
||||
icon="iqser:check"
|
||||
iqserHelpMode="recommendation-accept-or-reject"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -143,7 +141,6 @@
|
||||
[tooltip]="'annotation-actions.remove-annotation.remove-from-dict' | translate"
|
||||
[type]="buttonType"
|
||||
icon="red:remove-from-dict"
|
||||
iqserHelpMode="redaction-remove-from-dictionary"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -153,7 +150,6 @@
|
||||
[tooltip]="'annotation-actions.remove-annotation.false-positive' | translate"
|
||||
[type]="buttonType"
|
||||
icon="red:thumb-down"
|
||||
iqserHelpMode="redaction-false-positive"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -163,7 +159,6 @@
|
||||
[tooltip]="'annotation-actions.remove-annotation.only-here' | translate"
|
||||
[type]="buttonType"
|
||||
icon="iqser:trash"
|
||||
iqserHelpMode="redaction-remove-only-here"
|
||||
></iqser-circle-button>
|
||||
</ng-container>
|
||||
</div>
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
(click)="multiSelectService.activate()"
|
||||
*ngIf="(multiSelectService.enabled$ | async) && (multiSelectInactive$ | async)"
|
||||
class="all-caps-label primary pointer"
|
||||
iqserHelpMode="bulk-select-annotations"
|
||||
translate="file-preview.tabs.annotations.select"
|
||||
></div>
|
||||
|
||||
@ -24,7 +23,7 @@
|
||||
[actionsTemplate]="annotationFilterActionTemplate"
|
||||
[primaryFiltersSlug]="'primaryFilters'"
|
||||
[secondaryFiltersSlug]="'secondaryFilters'"
|
||||
iqserHelpMode="workload-filter"
|
||||
xw
|
||||
></iqser-popup-filter>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -34,7 +34,6 @@
|
||||
*ngIf="(canAssignOrUnassign$ | async) && !!file.assignee"
|
||||
[tooltip]="assignTooltip$ | async"
|
||||
icon="iqser:edit"
|
||||
iqserHelpMode="assign-reviewer"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
[class.active]="viewModeService.isStandard"
|
||||
[matTooltip]="'file-preview.standard-tooltip' | translate"
|
||||
class="red-tab"
|
||||
iqserHelpMode="standard-view"
|
||||
>
|
||||
{{ 'file-preview.standard' | translate }}
|
||||
</button>
|
||||
@ -15,7 +14,6 @@
|
||||
[disabled]="(canSwitchToDeltaView$ | async) === false"
|
||||
[matTooltip]="'file-preview.delta-tooltip' | translate"
|
||||
class="red-tab"
|
||||
iqserHelpMode="delta-view"
|
||||
>
|
||||
{{ 'file-preview.delta' | translate }}
|
||||
</button>
|
||||
@ -26,7 +24,6 @@
|
||||
[disabled]="(canSwitchToRedactedView$ | async) === false"
|
||||
[matTooltip]="'file-preview.redacted-tooltip' | translate"
|
||||
class="red-tab"
|
||||
iqserHelpMode="preview-view"
|
||||
>
|
||||
{{ 'file-preview.redacted' | translate }}
|
||||
</button>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-template #actions (longPress)="forceReanalysisAction($event)" redactionLongPress>
|
||||
<div class="file-actions" iqserHelpMode="document-features">
|
||||
<div class="file-actions">
|
||||
<redaction-expandable-file-actions
|
||||
[actions]="buttons"
|
||||
[buttonType]="buttonType"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<button [class.overlay]="showDot" mat-button>
|
||||
<button [class.overlay]="showDot" mat-button iqserHelpMode="open-usermenu">
|
||||
<redaction-initials-avatar [user]="userService.currentUser$ | async" [withName]="true"></redaction-initials-avatar>
|
||||
<mat-icon svgIcon="iqser:arrow-down"></mat-icon>
|
||||
</button>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</div>
|
||||
|
||||
<div class="breakdown-container">
|
||||
<div iqserHelpMode="filter-for-status">
|
||||
<div>
|
||||
<div
|
||||
(click)="val.key && selectValue(val.key)"
|
||||
*ngFor="let val of config"
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
[type]="circleButtonTypes.primary"
|
||||
class="member"
|
||||
icon="iqser:plus"
|
||||
iqserHelpMode="edit-dossier-member"
|
||||
></iqser-circle-button>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 0bab4584767b868f9d72a4de7ae23d0dd19daad3
|
||||
Subproject commit 24fbe8de35943e3cf8308093721ee4fd1044c00d
|
||||
Loading…
x
Reference in New Issue
Block a user