Skip to content

feat(portal): 网页商店信息表单 + 320×170 截图(真正合入 main)#11

Merged
eggfly merged 1 commit into
mainfrom
feat/portal-store-metadata-v2
Jul 21, 2026
Merged

feat(portal): 网页商店信息表单 + 320×170 截图(真正合入 main)#11
eggfly merged 1 commit into
mainfrom
feat/portal-store-metadata-v2

Conversation

@eggfly

@eggfly eggfly commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

之前 #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

…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>
@eggfly
eggfly merged commit 2cb5595 into main Jul 21, 2026
@eggfly
eggfly deleted the feat/portal-store-metadata-v2 branch July 21, 2026 10:55
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