- 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。
1.4 KiB
Executable File
markup, title, import
| markup | title | import | ||||||
|---|---|---|---|---|---|---|---|---|
| occlusion | Detail panel |
|
Detail separates its changing text from the reusable Edit and Back action leaves.
nodes
| 返回 | 类型 | 说明 |
|---|---|---|
| result | list | Initially hidden detail panel |
The body has id detail-body and receives plain text after selection. Edit retains the selected stable id; Back returns to the list. Neither action's behavior is embedded in markup. The panel starts hidden and the shared client paint function explicitly controls its hidden attribute, using the same ids as the other panels.
We body = Describe the selected record's text target and edit = [Describe the edit action](controls.button(id="btn-edit", label="Edit")) and back = [Describe the list action](controls.button(id="btn-back", label="Back")).
We buttons = [Keep the action order](table.concat(a=edit, b=back)) and actions = [Group only these detail actions](component.wrap(children=buttons, kind="row", slot="detail-actions")) and children = [Keep data before actions](table.concat(a=body, b=actions)).
attrs =
| id | hidden |
|---|---|
| view-detail | True |
Return [Describe the independent detail panel](component.wrap(children=children, kind="section", attrs=attrs, slot="detail-panel")).