-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Zooming and scrolling in viewport no longer impacts surrounding page. - Centred and tweaked warning when passed invalid JSON as prop. - Fixed bug where properties with empty arrays didn't render correctly. - Fixed type labelling for arrays in collapsed view. - Tweaked appearance of array length and index counts. - Array index labels are now zero-indexed. - Tweaked overflow and parenthesis appearance for properties. - Tweaked padding and appearance of buttons in viewport. - Moved vue from dependencies to dev dependencies. - Included link to git repo in package.json - Updated NodeArrayProperty test in-line with changes. - Added new fixtures and tests for NodeArrayProperty. - Added new fixtures and tests for Tree regarding empty-array JSON. - Added new test for VisualJSON regarding custom default formatting.
- Loading branch information
Showing
13 changed files
with
602 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"users": [ | ||
{ | ||
"id": 1, | ||
"name": "Alice Smith", | ||
"roles": ["admin", "editor"] | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "Bob Jones", | ||
"roles": [] | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "Charlie Brown", | ||
"roles": ["viewer"] | ||
} | ||
], | ||
"products": [ | ||
{ | ||
"productId": 1001, | ||
"productName": "Laptop", | ||
"tags": ["electronics", "computers"] | ||
}, | ||
{ | ||
"productId": 1002, | ||
"productName": "Table", | ||
"tags": [] | ||
}, | ||
{ | ||
"productId": 1003, | ||
"productName": "Pen", | ||
"tags": ["stationery"] | ||
} | ||
], | ||
"emptyArray": [], | ||
"settings": { | ||
"theme": "dark", | ||
"notifications": [], | ||
"preferences": ["email", "sms"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.