Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CONTEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ACECode Interaction Language

ACECode across terminal, web, and desktop surfaces uses shared language for structured question interactions and their outcomes.

## Language

**Structured question**:
An AskUserQuestion interaction that presents one or more choices and waits for the user to answer, skip, or cancel.
_Avoid_: Questionnaire, popup question

**Submitted answers**:
The persisted question-and-answer list produced when the user completes a structured question. Skipped questions remain part of the list as unanswered items.
_Avoid_: Completion card, submission card

**Explicit cancellation**:
The outcome produced when the user deliberately cancels a structured question without submitting answers.
_Avoid_: Rejection, failed submission

**Interjection**:
A normal user message received from another interaction surface while a structured question is waiting, which ends that question so the message can continue the conversation. It remains distinct from explicit cancellation even when a surface presents both outcomes as a cancelled answer.
_Avoid_: Explicit cancellation, submitted answer
41 changes: 41 additions & 0 deletions design-prototypes/ask-user-question-prototype.design/.design
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"data": [
{
"id": "page-ask-user-question",
"type": "page",
"title": "AskUserQuestion 提问框原型",
"name": "AskUserQuestion 提问框原型",
"version": 1,
"createdAt": 1789314759000,
"canvasData": {
"x": 0,
"y": 0,
"group": 0,
"layoutSnapshot": {
"version": 1,
"contentHeight": 1255,
"viewportWidth": 1440,
"sourceHash": "fnv1a-0f16f5e0",
"measuredAt": 1789544454345
}
},
"devMetadata": {
"htmlSrc": "pages/ask-user-question.html",
"viewport": "desktop"
}
}
],
"config": {
"autoLayout": true,
"deviceType": "desktop",
"designLibrary": {
"name": "Apple",
"id": "dl_builtin_apple",
"version": 0,
"scope": "built-in-global",
"path": "c:\\Users\\Administrator\\.trae-cn\\design_libraries\\Apple",
"versionSource": "metadata.json"
},
"visualEditorEnabled": false
}
}
Loading
Loading