Skip to content

fix(desktop): keep Copy clear of a bare primitive payload - #271

Merged
easyhooon merged 1 commit into
mainfrom
fix/desktop-copy-overlaps-primitive
Nov 5, 2026
Merged

easyhooon merged 1 commit into
mainfrom
fix/desktop-copy-overlaps-primitive

Conversation

@easyhooon

Copy link
Copy Markdown
Owner

Summary

A payload that is a single JSON string (e.g. a token) parses as a primitive and renders through JsonTree, which assumed the first row is always a short { or [. The long value ran under the corner Copy button.

Change

  • Reserve the same 72.dp end margin as CodeBlock when the root is a JsonPrimitive and no folding toolbar is shown.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@easyhooon
easyhooon force-pushed the fix/desktop-copy-overlaps-primitive branch from 0632bbf to b3380a9 Compare November 5, 2026 08:13
@easyhooon
easyhooon marked this pull request as ready for review November 5, 2026 08:14
@easyhooon
easyhooon merged commit e163e04 into main Nov 5, 2026
5 of 6 checks passed
@easyhooon
easyhooon deleted the fix/desktop-copy-overlaps-primitive branch November 5, 2026 08:15
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.

1 participant