Web 管理界面(Vue 3,嵌入单二进制)
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- go
- Domain
- backend-api-design, frontend
Research direction
Start by reviewing the open pull request #17 and the related issues #2, #3, and #5 to see how the UI work is divided and what is already underway. The issue calls for a Vue 3 and Vite web UI embedded in the Go binary, with CRUD, task progress and logs, and Playwright end-to-end coverage. Done means the listed screens and operations work against the API and the key sync flow has end-to-end coverage.
Written by the indexing model from the issue text.
Description
背景
服务器、registry、镜像清单与同步任务都需要管理界面;工具以 Web UI 为主要交互形态,嵌入单二进制分发。
需求
- 页面:总览(最近任务与状态)、服务器管理(#2)、Registry 与镜像清单(#3)、任务创建/详情/历史(#5)、系统信息(版本、配置)
- 任务详情:步骤级进度条、日志查看、失败原因(稳定错误码 → 人话文案)
- 交互细节:
- 表格分页 + 筛选,字段契约与后端一致(snake_case)
- 敏感字段(密码/密钥/Secret)输入框 password 化,编辑时留空表示不变更
- 错误提示走前端映射表,未知错误码有兜底文案,不透传底层技术报错
- 品牌与外观:项目 logo 单源文件,favicon 与导航统一引用;设计令牌驱动样式,不做模板化堆砌
技术要点
- Vue 3 + Vite,不引重依赖:无 UI 组件库全家桶、无路由库(标签页切换即可);HTTP 走单文件 fetch 封装(超时/网络错误包装/错误 envelope 解析)
- 中文文案规范:同一概念全文同一称呼;操作动词全流程一致(如统一「同步」);不用后置括号补充解释
- 构建产物嵌入二进制,纯 Go checkout 在无 Node 环境也能编译(提交 dist 或等价方案,说明取舍)
验收标准
- 全部 CRUD 与任务操作可在 UI 完成,与 API 能力对齐
- 关键路径(建服务器 → 建镜像清单 → 发起同步 → 看进度/日志)有 Playwright e2e
- UI 改动的 PR 附受影响页面截图(仓库协作约定)
- 前端构建无新重依赖(package.json 变更需在 PR 说明用途)
- Dominant language
- Go
- Stars
- 2
- Forks
- 1
- Avg merge
- 1h 37m
- Merged PRs (30d)
- 6
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LinuxSuRen/open-img-sync
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
LinuxSuRen/open-img-sync#18 ·
Maintainers usually reply within 1 day
-
requirement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
LinuxSuRen/open-img-sync#23 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
LinuxSuRen/open-img-sync#19 ·
Maintainers usually reply within 1 day
-
容器化运行与多架构镜像发布(GHCR,同版本同源)Possibly taken @linuxsuren-fs claimed this 5 days ago. Openrequirement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
LinuxSuRen/open-img-sync#8 · 1 comment ·
Maintainers usually reply within 1 day
-
单二进制分发与 CLI 规范(version 子命令、多平台 Release)Possibly taken @linuxsuren-fs claimed this 5 days ago. Openrequirement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
LinuxSuRen/open-img-sync#7 · 1 comment ·
Maintainers usually reply within 1 day
All issues in LinuxSuRen/open-img-sync
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
aminueza/terraform-provider-minio#1406 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
kubernetes/kubeadm#3339 ·
-
A failed hydrate call can be dropped when the row's wait is ready tooPossibly taken @turbot-agent-fleet claimed this today. Openagent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
turbot/steampipe-plugin-sdk#1018 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
enhancement needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day