Repository navigation
feat(store-screenshot-studio): add app store screenshot studio UI plugin - #223
Open
ppppp2005-p wants to merge 13 commits into
Open
ppppp2005-p wants to merge 13 commits into
ppppp2005-p wants to merge 13 commits into
Conversation
Author
|
ZCode desktop demo (ZCode 4.0.0, macOS arm64) store-screenshot-studio-demo.mp4Flow shown:
演示流程:本地 marketplace 安装 → |
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
…project through symlinks
…project through symlinks
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
store-screenshot-studio(UI Plugin, new)What / 改动内容
New community UI plugin Store Screenshot Studio / 应用商店截图制作: raw app screenshots → App Store / Google Play listing images.
ui://store-screenshot-studio/panel.html): language tabs (+ add language), size picker, style controls (solid/gradient background, auto or fixed text colour, iPhone/Android/frameless frame, frame colour, text top/bottom, device size, bleed, title size), slide strip with live previews and warning flags, per-slide editor (headline/subheadline for the current language, own background, tablet screenshot, reorder, remove, add, "ask the agent for copy"), save project, export all.shots_open,project_save,shots_export(+ app-onlyshots_preview,screen_thumbs,workspace_images).store-screenshots/<locale>/<size>/<NN>-<name>.png).fontPath).Network / API / side effects: local stdio MCP server only; no network, no API keys, no store upload, no hooks, no command execution; writes only inside the workspace (
store-screenshots/and the chosen.storeshots.json).Third-party: @resvg/resvg-wasm (MPL-2.0, unmodified, source linked in README), fontkit (MIT), pngjs (MIT), jpeg-js (BSD-3-Clause), MCP SDK / ext-apps (MIT); notices generated into
dist/THIRD_PARTY_NOTICES.txt. Test screenshots are synthetic mock-ups of a fictional app.pnpm-lock.yamlwas updated bypnpm install(it also dedupes a few shared transitive versions, e.g. tinyexec / eventsource-parser).Tests: vitest over MCP (exact pixel sizes for iPhone/Play, PNG colour type 2 = no alpha, background colour, headline pixels, screenshot inside the device, warnings for long headline / missing translation / low resolution / phone-on-tablet, tablet screenshot used for iPad, folder ordering, save/reload, filtered export, path escape and >10 slides rejected); Chrome e2e with the official AppBridge host on 6 slides (2 synthetic + 4 real mobile web captures): open with zh/en copy → switch to Android frame, text at bottom, dark gradient → edit an English headline → iPad size with a tablet screenshot → export 36 images (verified).
validate.py,build_dist.py,git diff --check,oxlint,tscpass.A ZCode Desktop demo recording is attached in the comments. / ZCode 桌面版演示录屏见评论。
Self-check / 自查清单
external_plugins/<name>/categoryis set (productivity)version0.1.0 in bothplugin.jsonandmarketplace.jsonREADME.md(EN) andREADME_CN.md(中文) both provided and equivalentdescription_i18nhas bothenandzh-CNpython3 scripts/validate.pyandpython3 scripts/build_dist.pypass locallyshots_open→ side panel → gradient background + text at bottom + Google Play phone size →project_save→shots_exportof 16 images (zh-Hans + en-US); demo video in the comments)