-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/4.0.0-alpha.2'
- Loading branch information
Showing
27 changed files
with
344 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 🆕 Feature request | ||
url: https://github.com/ManifestOfficial/manifest/discussions/new?category=feature-request | ||
url: https://github.com/mnfst/manifest/discussions/new?category=feature-request | ||
about: Ask for new features! The most popular features will be included in the roadmap. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: CI-CD Core Manifest | ||
|
||
on: | ||
pull_request: | ||
branches: [master, develop] | ||
push: | ||
branches: [master, develop] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
- name: Install dependencies | ||
run: npm ci | ||
working-directory: ./packages/core/manifest | ||
- name: Build app | ||
run: npm run build | ||
working-directory: ./packages/core/manifest | ||
- name: Test app | ||
run: npm run test | ||
working-directory: ./packages/core/manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { HttpErrorResponse } from '@angular/common/http' | ||
import { Component, OnInit } from '@angular/core' | ||
import { FormControl, FormGroup, Validators } from '@angular/forms' | ||
import { ActivatedRoute, Router } from '@angular/router' | ||
import { ActivatedRoute, Params, Router } from '@angular/router' | ||
|
||
import { PropType } from '@mnfst/types' | ||
|
||
|
@@ -14,12 +14,6 @@ import { AuthService } from '../../auth.service' | |
styleUrls: ['./login.component.scss'] | ||
}) | ||
export class LoginComponent implements OnInit { | ||
// appConfig: AppConfig | ||
|
||
defaultUser: any = { | ||
email: '[email protected]', | ||
password: 'manifest' | ||
} | ||
suggestedEmail: string | ||
suggestedPassword: string | ||
|
||
|
@@ -34,32 +28,24 @@ export class LoginComponent implements OnInit { | |
private readonly authService: AuthService, | ||
private router: Router, | ||
private activatedRoute: ActivatedRoute, | ||
private flashMessageService: FlashMessageService // private appConfigService: AppConfigService | ||
private flashMessageService: FlashMessageService | ||
) {} | ||
|
||
ngOnInit(): void { | ||
// combineLatest([ | ||
// this.appConfigService.appConfig, | ||
// this.activatedRoute.queryParams | ||
// ]).subscribe(([appConfig, queryParams]: [AppConfig, Params]) => { | ||
// this.appConfig = appConfig | ||
// if (queryParams['email']) { | ||
// this.suggestedEmail = queryParams['email'] | ||
// } else if (!this.appConfig.production) { | ||
// this.suggestedEmail = this.defaultUser.email | ||
// } | ||
// if (queryParams['password']) { | ||
// this.suggestedPassword = queryParams['password'] | ||
// } else if (!this.appConfig.production) { | ||
// this.suggestedPassword = this.defaultUser.password | ||
// } | ||
// if (this.suggestedEmail) { | ||
// this.patchValue('email', this.suggestedEmail) | ||
// } | ||
// if (this.suggestedPassword) { | ||
// this.patchValue('password', this.suggestedPassword) | ||
// } | ||
// }) | ||
this.activatedRoute.queryParams.subscribe((queryParams: Params) => { | ||
if (queryParams['email']) { | ||
this.suggestedEmail = queryParams['email'] | ||
} | ||
if (queryParams['password']) { | ||
this.suggestedPassword = queryParams['password'] | ||
} | ||
if (this.suggestedEmail) { | ||
this.patchValue('email', this.suggestedEmail) | ||
} | ||
if (this.suggestedPassword) { | ||
this.patchValue('password', this.suggestedPassword) | ||
} | ||
}) | ||
} | ||
|
||
patchValue(controlName: string, value: string) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.