ng-inspector icon indicating copy to clipboard operation
ng-inspector copied to clipboard

Ability to edit scope values

Open lukas-shawford opened this issue 10 years ago • 1 comments

It would be really cool if ng-inspector supported modifying scope values, and then have it $apply() those changes as necessary. A prerequisite for this would be to show all values (not just scalars) in the inspector sidebar, instead of dumping them to the console.

lukas-shawford avatar May 25 '14 19:05 lukas-shawford

When I get the collapse/expand done, the next step is to make Arrays and Objects collapsible as well (collapsed state will be default, and unaffected by the "Collapse/Expand All Scopes"), so editing scalars will be possible, perhaps even with the option to add/remove members from Arrays and Objects.

The UI for this will have to be very carefully planned tho. For instance, expanding arrays will need a limit on items shown (with a "load next X items") as there could be hundreds of elements in an array.

rev087 avatar May 25 '14 20:05 rev087