Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF-3171 Add icons to draft generation steps buttons #2989

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
<app-notice type="error" mode="fill-dark">{{ t("confirm_codes_correct_to_continue") }}</app-notice>
}
<div class="button-strip">
<button mat-stroked-button class="backout-button" (click)="cancel.emit()">{{ t("back") }}</button>
<button mat-stroked-button class="backout-button" (click)="cancel.emit()">
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button mat-flat-button (click)="tryAdvanceStep(); nextClickedOnLanguageVerification = true" color="primary">
{{ t("next") }}
<mat-icon iconPositionEnd>chevron_{{ i18n.forwardDirectionWord }}</mat-icon>
</button>
</div>
</mat-step>
Expand Down Expand Up @@ -69,9 +73,13 @@ <h4 class="explanation">
</app-notice>
}
<div class="button-strip">
<button mat-stroked-button matStepperPrevious>{{ t("back") }}</button>
<button mat-stroked-button matStepperPrevious>
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button mat-flat-button (click)="tryAdvanceStep()" color="primary">
{{ t("next") }}
<mat-icon iconPositionEnd>chevron_{{ i18n.forwardDirectionWord }}</mat-icon>
</button>
</div>
</mat-step>
Expand Down Expand Up @@ -150,7 +158,10 @@ <h2>{{ t("reference_books") }}</h2>
</app-notice>
}
<div class="button-strip">
<button mat-stroked-button matStepperPrevious>{{ t("back") }}</button>
<button mat-stroked-button matStepperPrevious>
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button
mat-flat-button
(click)="tryAdvanceStep()"
Expand All @@ -159,6 +170,7 @@ <h2>{{ t("reference_books") }}</h2>
[disabled]="isStepsCompleted"
>
{{ t("next") }}
<mat-icon iconPositionEnd>chevron_{{ i18n.forwardDirectionWord }}</mat-icon>
</button>
</div>
</mat-step>
Expand All @@ -175,7 +187,10 @@ <h1 class="mat-headline-4">{{ t("choose_additional_training_data_files_title") }
data-test-id="draft-stepper-training-data-files"
></app-training-data-multi-select>
<div class="button-strip">
<button mat-stroked-button matStepperPrevious>{{ t("back") }}</button>
<button mat-stroked-button matStepperPrevious>
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button
mat-flat-button
(click)="tryAdvanceStep()"
Expand All @@ -184,6 +199,7 @@ <h1 class="mat-headline-4">{{ t("choose_additional_training_data_files_title") }
[disabled]="isStepsCompleted"
>
{{ t("next") }}
<mat-icon iconPositionEnd>chevron_{{ i18n.forwardDirectionWord }}</mat-icon>
</button>
</div>
</mat-step>
Expand All @@ -201,7 +217,10 @@ <h1 class="mat-headline-4">{{ t("configure_advanced_settings_title") }}</h1>
<app-notice icon="warning" type="warning" class="warning">{{ t("fast_training_warning") }}</app-notice>
}
<div class="button-strip">
<button mat-stroked-button matStepperPrevious>{{ t("back") }}</button>
<button mat-stroked-button matStepperPrevious>
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button
mat-flat-button
(click)="tryAdvanceStep()"
Expand All @@ -210,6 +229,7 @@ <h1 class="mat-headline-4">{{ t("configure_advanced_settings_title") }}</h1>
[disabled]="isStepsCompleted"
>
{{ t("next") }}
<mat-icon iconPositionEnd>chevron_{{ i18n.forwardDirectionWord }}</mat-icon>
</button>
</div>
</mat-step>
Expand Down Expand Up @@ -267,8 +287,12 @@ <h2>
</mat-card>

<div class="button-strip">
<button mat-stroked-button matStepperPrevious>{{ t("back") }}</button>
<button mat-stroked-button matStepperPrevious>
<mat-icon>chevron_{{ i18n.backwardDirectionWord }}</mat-icon>
{{ t("back") }}
</button>
<button mat-flat-button (click)="tryAdvanceStep()" color="primary">
<mat-icon class="mirror-rtl">auto_awesome</mat-icon>
{{ t("generate_draft") }}
</button>
@if (isStepsCompleted) {
Expand Down
Loading