feat(console): v2 feature cleanup, fix styling issues, instance naming (#3530)

* new console

* move npm ci to angular build

* rel path for assets

* local grpc copy

* login policy, rm clear views, features rel path

* login_hint param

* edit default color values

* remove features, zitadel-tier, contact styles

* html formatter

* rm feature restrictions, fix theming issues

* instance naming

* statehandler

* rm class

* rm class

* update footer links

* statehandler

* stroked color

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Max Peintner
2022-04-29 10:25:12 +02:00
committed by GitHub
co-authored by Livio Amstutz
parent f9e79ef8fe
commit 41e60b3d8a
93 changed files with 5256 additions and 13100 deletions
@@ -1,18 +0,0 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { HasFeaturePipe } from './has-feature.pipe';
@NgModule({
declarations: [
HasFeaturePipe,
],
imports: [
CommonModule,
],
exports: [
HasFeaturePipe,
],
})
export class HasFeaturePipeModule { }
@@ -1,14 +0,0 @@
import { Pipe, PipeTransform } from '@angular/core';
import { Observable } from 'rxjs';
import { GrpcAuthService } from 'src/app/services/grpc-auth.service';
@Pipe({
name: 'hasFeature',
})
export class HasFeaturePipe implements PipeTransform {
constructor(private authService: GrpcAuthService) { }
public transform(values: string[]): Observable<boolean> {
return this.authService.canUseFeature(values);
}
}