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(list editor): Adds support for editing lists (DSP-741) #365
Conversation
2f66840
to
ff312af
Compare
@flavens @kilchenmann new edit feature can be found in the app in the list editor of a project and by hovering over a list node :) |
oh, also make sure you're using DSP-API 13.1.1! |
color="primary" | ||
[disabled]="saveButtonDisabled" | ||
(click)="updateChildNode()"> | ||
Update |
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 used {{ 'appLabels.form.action.cancel' | translate }}
line 30, should use the format {{ 'appLabels.form.action.update' | translate }}
here as well?! It exists in the en.json
file
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.
This was André's code that I moved around. I changed the text to use the translate pipe for 'update' in 2c88e7e.
); | ||
} | ||
|
||
buildForm(list: ListNodeInfo): void { |
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.
would it be possible to add some description for each method, and possibly for tricky code lines?
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.
added in 2c88e7e
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.
Would it be possible to get some more method description? 🙈
@@ -86,51 +114,40 @@ export class ListItemFormComponent implements OnInit { | |||
} | |||
} | |||
|
|||
submitData() { | |||
createChildNode() { |
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.
I will be picky: would it be possible to add in this file as well some method description?
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.
I tried my best as I don't fully understand some of the methods either 😅 added in be62277
@@ -54,7 +55,6 @@ export class ListItemComponent implements OnInit { | |||
} | |||
); | |||
} | |||
|
|||
} | |||
|
|||
showChildren(id: string): boolean { |
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.
I will be picky: would it be possible to add in this file as well some method description? even though it is not from you
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.
added in be62277
resolves DSP-741