Files
marqdo/examples/browser-app/components/network/index.mq.md
cflmy 9331af78e2 release(2.8.0): 合入 CHANGELOG/README/发版说明/skills prove 任务;CI 链接指向 doc/releases
- CHANGELOG.md:v2.8.0 条目(中英双语);
- README.md:版本行 2.7.1→2.8.0 + 愿景第 6 条(知识可证明);
- doc/releases/v2.8.0.md:双语发版说明(亮点/用法/已知限制);
- skills/marqdo-dev/index.mq.md:新增 prove 任务(路径/目录模式/
  require_lean/json;参数用 + 行声明升参,check 与 narrative-ratio 通过);
- 设计文档 §12.5 标记已合入;发版链接统一指向 doc/releases/v2.8.0.md。
2026-11-18 10:29:26 +08:00

1.6 KiB
Executable File
Raw Permalink Blame History

markup, title, import
markup title import
occlusion Network panel assembly
socket controls component table
socket.mq.md ../controls.mq.md ext/web/component/index.mq.md lib/table.mq.md

nodes

返回 类型 说明
result list Structured View rows for this component

Network places plain explanatory content, the actual response output, a batch-fetch action and a local echo group. Batch requests retain the original public demonstration endpoint and may fail; ordered callback records show each status and body. Socket transport is local and independent. The panel starts hidden and the browser client alone selects it.

We heading = [Describe the network responsibility](component.markdown(text="## 网络\n\n批量请求显示每项的实际状态;WebSocket 使用本机 /live 回声服务。")) and output = [Describe literal transport feedback](controls.text(id="net-out", value="idle")) and fetch = [Describe the batch request action](controls.button(id="fetch-all", label="fetch_all ×2 uuid")) and echo = Assemble local socket controls and first = [Place feedback below its explanation](table.concat(a=heading, b=output)) and last = [Keep fetch before socket interaction](table.concat(a=fetch, b=echo)) and children = [Preserve the two network responsibilities](table.concat(a=first, b=last)).

attrs =

id hidden
panel-net True

Return [Describe the initially hidden Network panel](component.wrap(children=children, kind="section", attrs=attrs, slot="network")).