appsok/agent-ui/definition/components/status-pill/index.md

65 lines
1.4 KiB
Markdown

---
ui_doc_type: component
component_id: status-pill
status: 구현됨
source_evidence:
- type: code
path: lib/src/features/app_shell.dart
notes: "_TopBar와 _StatusPill"
- type: docs
path: agent-ops/rules/project/rules.md
notes: "Jenkins credential과 ADB runtime이 주요 외부 상태"
- type: user
path: null
notes: "agent-ui 생성 요청"
---
# Status Pill
Component ID: `status-pill`
Status: `구현됨`
## Source Evidence
| Type | Path | Notes |
|------|------|-------|
| code | `lib/src/features/app_shell.dart` | `_TopBar``_StatusPill` |
| docs | `agent-ops/rules/project/rules.md` | Jenkins credential과 ADB runtime이 주요 외부 상태 |
| user | 없음 | agent-ui 생성 요청 |
## Purpose
Jenkins와 ADB 같은 외부 연결 상태를 top bar에서 짧게 표시한다.
## Used By
- `app-shell`: `app-shell.top-bar`
## Anatomy
- tooltip icon
- short label
- outlined white container
## Variants
- jenkins: key icon, `Jenkins 대기`
- adb: USB icon, `ADB 대기`
## States
- default
- loading: 현재 별도 구현 없음
- empty: 대기 상태
- error: 현재 별도 구현 없음
- disabled: 없음
## Rules
- label은 한 줄 ellipsis 없이 pill 안에 들어갈 만큼 짧아야 한다.
- tooltip은 label보다 구체적인 상태 설명을 제공한다.
## Decision History
- 2026-06-25: top bar 상태 pill을 공통 component로 기록했다.