powerpipe icon indicating copy to clipboard operation
powerpipe copied to clipboard

Updated the table column to display pretty formatted JSON when wrap is set to all

Open aaryanpour opened this issue 1 year ago • 1 comments

Hi team,

Thank you for all the efforts.

In my experience, viewing JSON could be improved across tables (regular and line) in dashboards. Since the data itself is already pretty formatted, it made sense for targetted columns to show the JSON data how one would expect it to look when wrapped across lines.

Example:

table {
      title = "Users with Inline Policies"
      column "inline_policies" {
        wrap = "all"
      }
      sql = <<-EOQ
   select arn, inline_policies from aws_iam_user
  EOQ
    }

image image

aaryanpour avatar Aug 29 '24 20:08 aaryanpour

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 29 '24 20:08 CLAassistant

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Nov 27 '24 08:11 github-actions[bot]

@aaryanpour are you able to resolve the merge conflict on your fork/branch please?

MichaelBurgess avatar Nov 29 '24 14:11 MichaelBurgess

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Jan 29 '25 08:01 github-actions[bot]

This PR was closed because it has been stalled for 90 days with no activity.

github-actions[bot] avatar Mar 01 '25 08:03 github-actions[bot]