-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(generate): implement UI for ng generate #75
base: master
Are you sure you want to change the base?
Conversation
ng generate implementation Fixes angular-klingon#5
…issue5-generate
UI Generate (in progress) Fixes angular-klingon#5
generate UI Fixes angular-klingon#5
…issue5-generate
|
||
subscribeToNgCreate() { | ||
this.cliService.onNgCreate.subscribe((data: Subject<CommandResult>) => { | ||
data.subscribe((response: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can try and use a flatMap here, to avoid the double subscription.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manekinekko Added. And multiple component generate feature is also added.
UI for ng generate Fixes angular-klingon#5
@@ -1,8 +1,11 @@ | |||
import { Component, ViewChild } from '@angular/core'; | |||
import { FormGroup, FormControl, Validators } from '@angular/forms'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed unused imports.
…issue5-generate
@@ -1,7 +1,5 @@ | |||
import { FlagsComponent } from './../flags/flags.component'; | |||
import { CliService } from './../cli.service'; | |||
import { Validators } from '@angular/forms'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed unused imports
refactoring Fixes angular-klingon#5
…issue5-generate
…nto issue5-generate
There were the following issues with this Pull Request
You may need to change the commit messages to comply with the repository contributing guidelines. 🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding! |
e9d202c
to
faa18c1
Compare
generate UI Fixes angular-klingon#5
generate ui Fixes angular-klingon#5
ui generate Fixes angular-klingon#5
ui generate Fixes angular-klingon#5
ui generate Fixes angular-klingon#5
ui generate Fixes angular-klingon#5
service worker, application, app shells, guards, library, universals wip
…nto issue5-generate
LGTM |
ng generate implementation
Closes #5