Browse Source
Feature/remove pause in onboarding (#220)
* Improve onboarding
* Remove pause
* Add icon
* Update changelog
pull/221/head
Thomas
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
9 additions and
17 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts
-
apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
## Unreleased |
|
|
## Unreleased |
|
|
|
|
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved the onboarding |
|
|
|
|
|
|
|
|
### Fixed |
|
|
### Fixed |
|
|
|
|
|
|
|
|
- Fixed the chart on the landing page |
|
|
- Fixed the chart on the landing page |
|
|
|
@ -1,9 +1,4 @@ |
|
|
import { |
|
|
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; |
|
|
ChangeDetectionStrategy, |
|
|
|
|
|
ChangeDetectorRef, |
|
|
|
|
|
Component, |
|
|
|
|
|
Inject |
|
|
|
|
|
} from '@angular/core'; |
|
|
|
|
|
import { MAT_DIALOG_DATA } from '@angular/material/dialog'; |
|
|
import { MAT_DIALOG_DATA } from '@angular/material/dialog'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
@ -15,18 +10,11 @@ import { MAT_DIALOG_DATA } from '@angular/material/dialog'; |
|
|
export class ShowAccessTokenDialog { |
|
|
export class ShowAccessTokenDialog { |
|
|
public isAgreeButtonDisabled = true; |
|
|
public isAgreeButtonDisabled = true; |
|
|
|
|
|
|
|
|
public constructor( |
|
|
public constructor(@Inject(MAT_DIALOG_DATA) public data: any) {} |
|
|
private changeDetectorRef: ChangeDetectorRef, |
|
|
|
|
|
@Inject(MAT_DIALOG_DATA) public data: any |
|
|
|
|
|
) {} |
|
|
|
|
|
|
|
|
|
|
|
ngOnInit() {} |
|
|
ngOnInit() {} |
|
|
|
|
|
|
|
|
public enableAgreeButton() { |
|
|
public enableAgreeButton() { |
|
|
setTimeout(() => { |
|
|
this.isAgreeButtonDisabled = false; |
|
|
this.isAgreeButtonDisabled = false; |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
|
|
|
}, 1500); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
@ -32,11 +32,11 @@ |
|
|
<button i18n mat-flat-button [mat-dialog-close]="undefined">Cancel</button> |
|
|
<button i18n mat-flat-button [mat-dialog-close]="undefined">Cancel</button> |
|
|
<button |
|
|
<button |
|
|
color="primary" |
|
|
color="primary" |
|
|
i18n |
|
|
|
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[disabled]="isAgreeButtonDisabled" |
|
|
[disabled]="isAgreeButtonDisabled" |
|
|
[mat-dialog-close]="data" |
|
|
[mat-dialog-close]="data" |
|
|
> |
|
|
> |
|
|
Agree and continue |
|
|
<span i18n>Agree and continue</span> |
|
|
|
|
|
<ion-icon class="ml-1" name="arrow-forward-outline"></ion-icon> |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|