Skip to content

fix: properly wrap long text in JsonView#1143

Merged
mvadari merged 3 commits intostagingfrom
wrap-long-text
Apr 2, 2025
Merged

fix: properly wrap long text in JsonView#1143
mvadari merged 3 commits intostagingfrom
wrap-long-text

Conversation

@mvadari
Copy link
Collaborator

@mvadari mvadari commented Mar 26, 2025

High Level Overview of Change

When expanding a long string with no spaces (e.g. a long blob of hex) in JsonView, it doesn't wrap. This PR fixes that.

Context of Change

The Smart Escrow effort involves a lot of long blobs of hex that should be wrapped to display it better.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

TypeScript/Hooks Update

N/A

Before / After

Before:
image

After:
image

Test Plan

Tested locally.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/containers/shared/components/JsonView/json-view.scss: Language not supported

@Patel-Raj Patel-Raj self-requested a review April 2, 2025 17:56
@mvadari mvadari merged commit 5a87e45 into staging Apr 2, 2025
4 checks passed
@mvadari mvadari deleted the wrap-long-text branch April 2, 2025 18:09
mvadari added a commit that referenced this pull request Apr 7, 2025
## High Level Overview of Change

When expanding a long string with no spaces (e.g. a long blob of hex) in
`JsonView`, it doesn't wrap. This PR fixes that.

### Context of Change

The Smart Escrow effort involves a lot of long blobs of hex that should
be wrapped to display it better.
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.

4 participants