Skip to content

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented May 11, 2025

As we start looking at having larger metadata payloads (for job logs) the prior approach of pretty-printing the entire thing on screen is unsustainable. This is also true for users with large arg payloads.

As such, move to an interactive collapsible JSON tree view. By default, it expands the first level and collapses any nested arrays or objects.

collapse.mp4

@bgentry bgentry requested a review from brandur May 11, 2025 02:06
@bgentry bgentry changed the title Collapsible json view Collapsible JSON view May 11, 2025
@bgentry bgentry force-pushed the bg-collapsible-json-view branch from 97a8e1d to cddacd8 Compare May 11, 2025 03:38
@bgentry bgentry force-pushed the bg-collapsible-json-view branch from cddacd8 to d946f97 Compare May 11, 2025 03:51
Copy link
Collaborator

@brandur brandur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slick man!!!! Love it, and I think users will too.

@bgentry bgentry merged commit c6ab691 into master May 11, 2025
13 checks passed
@bgentry bgentry deleted the bg-collapsible-json-view branch May 11, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants