TD-447: Fix deposits route, bump fistful, hide old repairing (#153)

This commit is contained in:
Rinat Arsaev 2022-10-27 17:11:35 +06:00 committed by GitHub
parent 1825104fd7
commit f9a91b7f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 17 deletions

14
package-lock.json generated
View File

@ -33,7 +33,7 @@
"@vality/domain-proto": "1.0.1-09e7a75.0",
"@vality/dominant-cache-proto": "1.0.1-5b29d81.0",
"@vality/file-storage-proto": "1.0.1-447212b.0",
"@vality/fistful-proto": "1.0.1-ea0fe7a.0",
"@vality/fistful-proto": "1.0.1-9c78e89.0",
"@vality/machinegun-proto": "1.0.1-277f06e.0",
"@vality/magista-proto": "1.0.1-5352f74.0",
"@vality/messages-proto": "1.0.1-8c5435c.0",
@ -5620,9 +5620,9 @@
"integrity": "sha512-7pH5gLknHy0R2kuYqCmtRz/iFg8vdcCw8Ng1fpcdnKCj1yiBvg2HDWFSSkFcksvXnD78aaUItP6lgXHtOCj/NQ=="
},
"node_modules/@vality/fistful-proto": {
"version": "1.0.1-ea0fe7a.0",
"resolved": "https://registry.npmjs.org/@vality/fistful-proto/-/fistful-proto-1.0.1-ea0fe7a.0.tgz",
"integrity": "sha512-YHegl0IE9TYGqYIWJXvx7YF+uu0JxkjmyRdXnbQkDQXW2hMBc0C4BLH4QTvdTUp3KcHmU2Up0BS8IRe65iEreA=="
"version": "1.0.1-9c78e89.0",
"resolved": "https://registry.npmjs.org/@vality/fistful-proto/-/fistful-proto-1.0.1-9c78e89.0.tgz",
"integrity": "sha512-FjQRmw9HeBBP9spIJ/LJAi2aKNvLvRIOM6V3V2WnHRVHQ4DG8A1Bf404fo2t/6Jqx1H7sx2No41/axdU/Z13Ew=="
},
"node_modules/@vality/machinegun-proto": {
"version": "1.0.1-277f06e.0",
@ -26593,9 +26593,9 @@
"integrity": "sha512-7pH5gLknHy0R2kuYqCmtRz/iFg8vdcCw8Ng1fpcdnKCj1yiBvg2HDWFSSkFcksvXnD78aaUItP6lgXHtOCj/NQ=="
},
"@vality/fistful-proto": {
"version": "1.0.1-ea0fe7a.0",
"resolved": "https://registry.npmjs.org/@vality/fistful-proto/-/fistful-proto-1.0.1-ea0fe7a.0.tgz",
"integrity": "sha512-YHegl0IE9TYGqYIWJXvx7YF+uu0JxkjmyRdXnbQkDQXW2hMBc0C4BLH4QTvdTUp3KcHmU2Up0BS8IRe65iEreA=="
"version": "1.0.1-9c78e89.0",
"resolved": "https://registry.npmjs.org/@vality/fistful-proto/-/fistful-proto-1.0.1-9c78e89.0.tgz",
"integrity": "sha512-FjQRmw9HeBBP9spIJ/LJAi2aKNvLvRIOM6V3V2WnHRVHQ4DG8A1Bf404fo2t/6Jqx1H7sx2No41/axdU/Z13Ew=="
},
"@vality/machinegun-proto": {
"version": "1.0.1-277f06e.0",

View File

@ -47,7 +47,7 @@
"@vality/domain-proto": "1.0.1-09e7a75.0",
"@vality/dominant-cache-proto": "1.0.1-5b29d81.0",
"@vality/file-storage-proto": "1.0.1-447212b.0",
"@vality/fistful-proto": "1.0.1-ea0fe7a.0",
"@vality/fistful-proto": "1.0.1-9c78e89.0",
"@vality/machinegun-proto": "1.0.1-277f06e.0",
"@vality/magista-proto": "1.0.1-5352f74.0",
"@vality/messages-proto": "1.0.1-8c5435c.0",

View File

@ -4,7 +4,6 @@ import { KeycloakService } from 'keycloak-angular';
import { AppAuthGuardService } from '@cc/app/shared/services';
import { ROUTING_CONFIG as DOMAIN_ROUTING_CONFIG } from './domain/routing-config';
import { ROUTING_CONFIG as OLD_REPAIRING_ROUTING_CONFIG } from './repairing/routing-config';
import { ROUTING_CONFIG as DEPOSITS_ROUTING_CONFIG } from './sections/deposits/routing-config';
import { ROUTING_CONFIG as PAYOUTS_ROUTING_CONFIG } from './sections/payouts/payouts/routing-config';
import { ROUTING_CONFIG as REPAIRING_ROUTING_CONFIG } from './sections/repairing/routing-config';
@ -71,11 +70,6 @@ export class AppComponent implements OnInit {
},
{
name: 'Repairing',
route: '/old-repairing',
services: OLD_REPAIRING_ROUTING_CONFIG.services,
},
{
name: 'New repairing',
route: '/repairing',
services: REPAIRING_ROUTING_CONFIG.services,
},

View File

@ -1,4 +1,4 @@
<div fxLayout="column" fxLayoutGap="24px">
<div fxLayout="column" fxLayoutGap="24px" style="margin: 24px 16px">
<cc-headline>Deposit details</cc-headline>
<cc-deposit-main-info
*ngIf="deposit$ | async as deposit"

View File

@ -68,7 +68,7 @@ export class DepositsComponent implements OnInit {
depositMenuItemSelected(depositMenuItemEvent: DepositMenuItemEvent) {
switch (depositMenuItemEvent.action) {
case DepositActions.NavigateToDeposit:
void this.router.navigate([`deposit/${depositMenuItemEvent.depositID}`]);
void this.router.navigate([`deposits/${depositMenuItemEvent.depositID}`]);
break;
}
}

View File

@ -1,5 +1,8 @@
<div fxLayout="column" fxLayoutGap="32px">
<h1 class="cc-display-1">Repairing</h1>
<div fxLayoutAlign="space-between center">
<h1 class="cc-display-1">Repairing</h1>
<div><button mat-button routerLink="/old-repairing">GO LEGACY</button></div>
</div>
<div fxLayout="column" fxLayoutGap="24px">
<mat-card>
<mat-card-content [formGroup]="filters" gdColumns="1fr 1fr 1fr" gdGap="16px">