-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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 buttons to remove keys\items from dictionaries\arrays. #29656
Add buttons to remove keys\items from dictionaries\arrays. #29656
Conversation
f5e7081
to
9aff0c3
Compare
dd6eaef
to
8a96b8d
Compare
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.
Looks good overall, can be merged once pending comments are addressed.
8a96b8d
to
8252db6
Compare
There seems to be some trailing whitespace according to Travis logs. |
8252db6
to
0c8b7a4
Compare
Right, that was also my concern. I don't think it should be made optional, but we should find a different way to provide this feature without bloating the UI. One option would be to change the Edit button to a drop down menu with Edit and Delete options. |
One button with 2 options is a cool idea. |
The horizontal bloat for nested arrays\dictionaries needs to be solved in a smarter way but I can change the edit button to an 'options' button with edit and delete options. |
I agree with both statements, this will need to be reworked eventually, but in the meantime having an Options button instead of the current Edit one seems good. |
6477680
to
4453a96
Compare
Some Notes:
|
The changes removing new lines after |
For the reference, the option that controls this is |
ce4948e
to
7d92369
Compare
7d92369
to
bd9cc84
Compare
Thanks! |
This PR adds a 'remove' button for array items and dictionary items.
Fixes #23058.