Skip to content

Conversation

@edgarmueller
Copy link
Contributor

No description provided.

@edgarmueller edgarmueller requested a review from eneufeld June 27, 2018 08:18
Copy link
Member

@eneufeld eneufeld left a 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;
Copy link
Member

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 {
Copy link
Member

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;
Copy link
Member

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
Copy link
Member

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?

Copy link
Member

@eneufeld eneufeld left a 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?

@coveralls
Copy link

coveralls commented Jul 2, 2018

Coverage Status

Coverage decreased (-0.1%) to 88.136% when pulling cecbd53 on edgarmueller:feature/ionic-renderer-set into 62478b0 on eclipsesource:master.

@edgarmueller edgarmueller force-pushed the feature/ionic-renderer-set branch from 8cbff06 to cecbd53 Compare July 13, 2018 08:50
@edgarmueller edgarmueller merged commit 62b2ccf into eclipsesource:master Jul 13, 2018
@edgarmueller edgarmueller modified the milestones: 2.0.7, 2.0.6 Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants