Skip to content

Enlarge JSON tree collapse handles and rework signal object modal - #87

Merged
wparad merged 1 commit into
mainfrom
claude/ui-ux-collapsed-elements-roqsvx
Aug 26, 2026
Merged

Enlarge JSON tree collapse handles and rework signal object modal#87
wparad merged 1 commit into
mainfrom
claude/ui-ux-collapsed-elements-roqsvx

Conversation

@wparad

@wparad wparad commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The "Signal object" JSON tree view (vue-json-pretty) rendered its expand/collapse carets and collapsed {…}/[…] brackets as tiny, unstyled icons with no padding — nearly impossible to tap accurately, especially on mobile.
  • Enlarged the click targets for the expand/collapse caret, the collapsed-object bracket toggle, and the custom "click to expand" truncated-string span, each with padding, a hover highlight, and (for the absolutely-positioned caret) a negative-margin trick so the layout is unaffected.
  • Reworked the Signal object modal itself to match the app's other modals: wider (max-w-2xlmax-w-4xl), taller, with a sticky bordered header and properly padded Copy/Close buttons instead of bare text links.

Test plan

  • npm run typecheck
  • npx eslint on the two changed files
  • npm run build
  • Manual visual check in a browser (not run in this session — please verify the modal and tap targets on both desktop and mobile viewport sizes)

Generated by Claude Code

vue-json-pretty's expand/collapse carets and the collapsed-object
brackets rendered as tiny, hard-to-tap icons with no padding. Give
them real hit areas (padding + matching negative margin so layout is
unaffected), a hover highlight, and a bigger touch target on the
"click to expand" truncated-string toggle.

Also widen the signal object modal (max-w-2xl -> max-w-4xl, taller),
give it a sticky bordered header like the other modals, and use
proper button padding for Copy/Close instead of bare text links.
@github-actions

Copy link
Copy Markdown

@wparad
wparad merged commit 1bf2c3f into main Aug 26, 2026
3 checks passed
@wparad
wparad deleted the claude/ui-ux-collapsed-elements-roqsvx branch August 26, 2026 20:05
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.

2 participants