You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: create a new output to visualize scan result in a web page.
Motivation
We usually see users struggling with the output of the scan in their terminal because it's too large and contain too much information. I was thinking about a new output that allow the user to visualize the output in their browser. Exactly the same way common code coverage tools work, we could generate an HTML file that contain a minimal web UI to display the scan result in a more human-readable way. I think the graphical way of viewing the scan result would be a pretty handy feature, and it could make the user better understand what driftctl is capable of.
Example with go tool :
$ go tool cover -html=coverage.out
The coverage graphic will then look like this in the browser :
Examples
$ driftctl scan --output html://result.html
The generated web page would then contain a list of managed, unmanaged, deleted resources, as well as differences that may exist. Since the web page is intended to be minimal, we have to focus more on UX, less on UI.
I pretty familiar with Vuejs & Vuetify so I though about them in the first place. For example we can create a single file Vue app and use it to generate the output, without any Vue compilation. To achieve that we would embed the assets in the binary with the awesome Go 1.16 feature. But we could also create a HTML template from scratch with no UI framework at all. We still have to discuss about that together.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
TL;DR: create a new output to visualize scan result in a web page.
Motivation
We usually see users struggling with the output of the scan in their terminal because it's too large and contain too much information. I was thinking about a new output that allow the user to visualize the output in their browser. Exactly the same way common code coverage tools work, we could generate an HTML file that contain a minimal web UI to display the scan result in a more human-readable way. I think the graphical way of viewing the scan result would be a pretty handy feature, and it could make the user better understand what driftctl is capable of.
Example with
go tool
:The coverage graphic will then look like this in the browser :
Examples
The generated web page would then contain a list of managed, unmanaged, deleted resources, as well as differences that may exist. Since the web page is intended to be minimal, we have to focus more on UX, less on UI.
Here's my first wireframe :
Implementation
I pretty familiar with Vuejs & Vuetify so I though about them in the first place. For example we can create a single file Vue app and use it to generate the output, without any Vue compilation. To achieve that we would embed the assets in the binary with the awesome Go 1.16 feature. But we could also create a HTML template from scratch with no UI framework at all. We still have to discuss about that together.
The text was updated successfully, but these errors were encountered: