Text Input Blueprint
Text entry fields and text editing
| Feature | text-input |
| Category | UI |
| Version | 1.0.0 |
| Tags | ui, godot |
| YAML Source | View on GitHub |
| JSON API | text-input.json |
Actors
| ID | Name | Type | Description |
|---|---|---|---|
game_engine | Godot Engine | system |
Rules
- implementation:
- description: Feature implemented in C++ engine core
- platform_agnostic:
- description: Works across desktop, web, mobile platforms
Outcomes
Single Line_input (Priority: 1)
Given:
- LineEdit widget is requested
Then:
- transition_state field:
statusfrom:idleto:active
Result: LineEdit widget completed
Multi Line_input (Priority: 2)
Given:
- TextEdit widget is requested
Then:
- transition_state field:
statusfrom:idleto:active
Result: TextEdit widget completed
Text_validation (Priority: 3)
Given:
- Input filtering and constraints is requested
Then:
- transition_state field:
statusfrom:idleto:active
Result: Input filtering and constraints completed
Cursor_control (Priority: 4)
Given:
- Move caret and select text is requested
Then:
- transition_state field:
statusfrom:idleto:active
Result: Move caret and select text completed
Copy/paste (Priority: 5)
Given:
- Clipboard integration is requested
Then:
- transition_state field:
statusfrom:idleto:active
Result: Clipboard integration completed
AGI Readiness
Goals
Reliable Text Input
Text entry fields and text editing
Success Metrics:
| Metric | Target | Measurement |
|---|---|---|
| success_rate | >= 99% | Successful operations divided by total attempts |
| error_rate | < 1% | Failed operations divided by total attempts |
Autonomy
Level: semi_autonomous
Tradeoffs
| Prefer | Over | Reason |
|---|---|---|
| accessibility | aesthetics | UI must be usable by all users including those with disabilities |
Safety
| Action | Permission | Cooldown | Max Auto |
|---|---|---|---|
| single-line_input | autonomous | - | - |
| multi-line_input | autonomous | - | - |
| text_validation | autonomous | - | - |
| cursor_control | autonomous | - | - |
| copy/paste | autonomous | - | - |