Add GSP links field and link inspection

This commit is contained in:
2026-05-07 10:41:38 +08:00
parent 0c5254eb1b
commit 27e71d8c51
18 changed files with 448 additions and 17 deletions

View File

@@ -25,6 +25,7 @@ page.lottery.main
.\bin\gsp.exe validate --root examples\lottery
.\bin\gsp.exe flatten page.lottery.main --root examples\lottery --depth -1
.\bin\gsp.exe pack page.lottery.main --root examples\lottery --for implement --format md
.\bin\gsp.exe links page.lottery.main --root examples\lottery --format md
.\bin\gsp.exe impact feedback.positive --root examples\lottery --format md
.\bin\gsp.exe message validate messages\implement-page.gspmsg --root examples\lottery
.\bin\gsp.exe graph page.lottery.main --root examples\lottery --format mermaid

View File

@@ -0,0 +1 @@
Primary button visual reference placeholder.

View File

@@ -3,6 +3,10 @@ title: 抽奖页面
type: page
resolution: L3
context: 抽奖页面,需要表达奖励期待、抽取行为和结果反馈。玩家应快速理解奖池价值、抽奖入口和结果反馈。
links:
- path: assets/ui
role: reference
- https://example.com/lottery-reference
with:
- ui.button.reward_primary
- feedback.positive

View File

@@ -3,3 +3,4 @@ title: 通用主按钮
type: ui
resolution: L3
context: 通用主按钮,用于明确、正向、优先级最高的玩家操作。
links: assets/ui/button_primary.txt