Liam Cervante
d818d7850d
Structured Renderer: use the new renderer when rendering the state in addition to the plan ( #32629 )
...
* Use the new renderer when rendering the state
* remove confusing and unneeded comment
2023-02-07 09:14:14 +01:00
Liam Cervante
95782f2491
Structured plan renderer: Implement the main functionality for the renderer ( #32496 )
...
* raw unmodified broken tests
* tests execute, no panics
* fix whitespace differences
* fix all the tests
* fix tests
* actually fix tests
* add missing plan metadata into the renderer
* address comments
* complete merge
* remove TODO raising questions about outputs, they are fixed
* missing bold on plan
2023-01-12 17:59:07 +01:00
Liam Cervante
c125397da1
push the colorize actions as locally as possible ( #32502 )
2023-01-12 16:47:06 +01:00
Liam Cervante
f6d625103c
Structured plan renderer: refactor replace paths logic ( #32489 )
...
* change -> diff, value -> change
* also update readme#
* structured plan renderer: refactor replace paths logic
* goimports
* goimports
* address comments
* fix compile error
2023-01-11 10:20:24 +01:00
Liam Cervante
21bb677db7
Structured Plan Renderer: Naming and package structure refactor ( #32486 )
...
* change -> diff, value -> change
* also update readme#
* Update internal/command/jsonformat/computed/diff.go
Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com >
* add interface assertions for diff renderers
Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com >
2023-01-10 17:24:48 +01:00