-
Notifications
You must be signed in to change notification settings - Fork 416
Add 1st draft of ionic renderer set #1015
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
Add 1st draft of ionic renderer set #1015
Conversation
eneufeld
left a comment
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.
Code looks good.
I still need to execute it.
| ); | ||
| this.subscription = state$.subscribe(props => { | ||
| const {renderers, schema, uischema} = props as JsonFormsProps; | ||
| const { renderers } = props as JsonFormsProps; |
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.
why retrieve the renderers at all?
| import { Subscription } from 'rxjs/Subscription'; | ||
| import { FormControl } from '@angular/forms'; | ||
|
|
||
| export class JsonFormsIonicControl extends JsonFormsBaseRenderer implements OnInit, OnDestroy { |
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.
shouldn't this be part of the angular core?
I don't see anything ionic specific about this
| }) | ||
| export class GroupLayoutRenderer extends JsonFormsIonicLayout { | ||
|
|
||
| @Input() path: string; |
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.
why does the group need an own path and the other layouts don't?
| LabelRenderer | ||
| ], | ||
| providers: [ | ||
| MasterDetailNavService |
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.
isn't MasterDetailComponent the only user?
why not let it provide the service?
eneufeld
left a comment
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.
Besides the other small annotations this looks good.
Can we maybe move the package updates of the non ionic packages in a separate commit?
8cbff06 to
cecbd53
Compare
No description provided.