feat(portal): 网页商店信息表单 + 320×170 截图(真正合入 main)#11
Merged
Conversation
…enshots Adds a store-info form to the upload flow so submitters without a source repo can provide title/summary/description/categories, an optional square icon, and up to 6 screenshots — equivalent to czdev's app-builder.json `store` section, filled in right after picking the .deb. - site: in-browser screenshot tool cover-fits any image to exactly 320x170 (the CardputerZero LCD) via canvas; icon is normalized to a square PNG. - worker: /api/submit accepts the metadata + PNGs, validates dimensions (screenshots 320x170, icon square <=512), uploads images to the same buffer Release as the .deb, and forwards a `store` client_payload. - workflow: process-web-submission builds meta.json from the web `store` (highest priority over source_repo/deb fallback) and commits the images as ordinary small PNGs into pool/main/<pkg>/ — no Git LFS. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
之前 #10 误合进了 #9 的分支而非 main,导致 dev.cardputer.cc 线上一直没有「初步检查通过后的商店信息/截图」表单。本 PR 从当前 main cherry-pick 该功能 commit(site 表单 + 320×170 截图工具、worker 图片上传与 store 下发、process-web-submission 的 store 分支),真正部署到线上。后端 packages #76 已合并。
Made with Cursor