Skip to content

Release v0.4.0 - #5

Merged
lRoccoon merged 1 commit into
mainfrom
release/v0.4.0
Apr 27, 2026
Merged

lRoccoon merged 1 commit into
mainfrom
release/v0.4.0

Conversation

@lRoccoon

Copy link
Copy Markdown
Owner

Summary

Highlights since v0.3.0

  • Share via transfer.sh — new toolbar entry uploads the current source to a transfer.sh-compatible endpoint and produces a …#share=<url> link that auto-loads the shared JSON when opened in another tab. Endpoint is configurable in the share popover (default https://t.herf.cc) and persisted in localStorage.
  • Loading overlay — centered spinner + "正在加载分享内容…" while a shared payload is being fetched; textarea goes read-only during the fetch.
  • Toolbar layout fix — share/history triggers moved into the 01 Source label row so the toolbar no longer wraps on 13" laptops; popovers right-align to stay inside the panel.

Test plan

  • pnpm build succeeds.
  • pnpm test green (history + jsonUtils suites).
  • Real-environment upload to https://t.herf.cc (server requires --cors-domains "*"); generated link auto-loads in a new tab.
  • Loading overlay verified with a delayed mock; failure path renders ✦ 分享加载失败 · … in the panel footer.
  • Source toolbar fits on a single row at 1280×800.

Post-merge

  • Tag v0.4.0 on main and push (triggers the multi-arch image push to ghcr.io/lroccoon/json-tool).
  • Cut a GitHub Release referencing this PR.

🤖 Generated with Claude Code

Tags the release that adds the transfer.sh-backed share feature with a
configurable endpoint, the loading overlay during shared-content fetch,
and the Source toolbar layout fix that keeps share/history triggers in
the panel label row on 13" laptops.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@lRoccoon
lRoccoon merged commit 629e3d6 into main Apr 27, 2026
1 check passed
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