Add three composition cases driven by the same generic web Tool: - examples/doc-site (documentation site), - examples/research-workspace (existing section 8 workbench prototype), - examples/quantum-editor (finite scenario/interaction design). Add a real production delivery trial in examples/research-workbench-app (Express + JSON persistence + static UI): validation, search, status transitions, linked statistics, JSON errors, real file persistence; node:test API acceptance and a Playwright browser E2E. The production app is not a runtime dependency of the web Tool; prototype PASS is kept separate from production PASS. docs/WEB-04-delivery.md records the design-source to implementation mapping, intentional non-goals and task splits. scripts/domain-acceptance.sh is the explicit domain entry: installs the built Tool, runs check/preview/handoff for the three cases, then installs/tests the production app incl. browser E2E, and removes the Tool. Evidence records the real CLI/Design/Preview identities and local PASS results. Pin the domain submodules to the merged Design (WEB-01/03) and Preview (WEB-02) candidates; activation and root gitlink belong to WEB-05. Refs cflmy/marqdo-ext-web#2, cflmy/marqdo#6
43 lines
1.4 KiB
HTML
43 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>科研工作台(生产实现试验)</title>
|
|
<link rel="stylesheet" href="/styles.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<strong>科研工作台</strong>
|
|
<span class="badge">生产实现试验:真实持久化与错误处理</span>
|
|
</header>
|
|
<main>
|
|
<section class="panel" aria-label="统计">
|
|
<h2>统计</h2>
|
|
<p id="stats" data-testid="stats">加载中…</p>
|
|
</section>
|
|
<section class="panel" aria-label="创建任务">
|
|
<h2>创建任务</h2>
|
|
<form id="create-form">
|
|
<label>标题 <input name="title" id="title" required maxlength="120"></label>
|
|
<label>优先级
|
|
<select name="priority" id="priority">
|
|
<option value="normal">normal</option>
|
|
<option value="high">high</option>
|
|
<option value="low">low</option>
|
|
</select>
|
|
</label>
|
|
<button type="submit">创建</button>
|
|
</form>
|
|
<p class="error hidden" id="error" role="alert" data-testid="error"></p>
|
|
</section>
|
|
<section class="panel" aria-label="任务列表">
|
|
<h2>任务列表</h2>
|
|
<input id="search" placeholder="搜索任务标题" aria-label="搜索任务">
|
|
<ul id="tasks" data-testid="tasks"></ul>
|
|
</section>
|
|
</main>
|
|
<script type="module" src="/app.js"></script>
|
|
</body>
|
|
</html>
|