* Fix jsonPath calls by removing \ characters and using $..[] notation
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Parse jsonPath properly
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Cleanup
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* More cleanup
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Improve parsing
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Finetuning
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Stringify children only if value is object or array
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Test other escaped characters do not cause issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Fix rendering of boolean values in CRDs
- add optional special casing for boolean values in DrawerItems and
TableRows since React (imo annoying fashion) does not render boolean
values by default.
- add a spinner on the sidebar for when the CRD menu is expeanded but
the entries have not been loaded yet.
- Add ability to double click a Badge to expand, also make it so that
Badges highligh all text on first click.
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update CRD api to use preferred version and implement v1 differences
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
* Fix unit test failure
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
* Register alternate API base URL if preferred version changes.
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
* Adjust for validation moving to the version.schema
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>