chore: bootstrap independent git workflow
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
40
gui/README.md
Normal file
40
gui/README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# GUI Foundation Artifacts
|
||||
|
||||
本目录用于存放 `CMP-9` 的未来桌面端 GUI 基线产物,而不是正式应用代码。
|
||||
|
||||
## 当前产物
|
||||
|
||||
- `desktop-foundation.md`:信息架构、布局方向、组件清单、契约要求和 UI/UX 建议
|
||||
- `prototype/index.html`:最小可见工作台原型
|
||||
- `prototype/styles.css`:原型样式
|
||||
- `prototype/app.js`:原型内交互
|
||||
- `preview-server.mjs`:零依赖本地预览服务
|
||||
|
||||
## 查看方式
|
||||
|
||||
### 方式一:直接打开
|
||||
|
||||
直接用浏览器打开 `gui/prototype/index.html`。
|
||||
|
||||
### 方式二:启动本地预览
|
||||
|
||||
在项目根目录执行:
|
||||
|
||||
```bash
|
||||
node gui/preview-server.mjs
|
||||
```
|
||||
|
||||
然后访问:
|
||||
|
||||
```text
|
||||
http://127.0.0.1:4173
|
||||
```
|
||||
|
||||
## 界面验收
|
||||
|
||||
验收人应重点确认:
|
||||
|
||||
1. 是否能看出连接管理、schema browser、query editor、results table、export feedback 的稳定分区
|
||||
2. 布局是否体现“工作台”而不是通用 dashboard
|
||||
3. 状态、错误、执行反馈是否一眼可见
|
||||
4. 文档中的后端契约需求是否能映射到 CLI 已定义产品概念
|
||||
Reference in New Issue
Block a user