Padrão de tela de consentimento OAuth (conectar app/IA)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start from the hand-built reference in apps/web/src/routes/oauth/consent/_components/ in the wi app, which the issue says already contains the whole screen; compare it against the existing component conventions in this library before choosing between one ConsentScreen and the smaller pieces. The work is presentation only, so keep OAuth logic out and make the pieces accept props for app identity, redirect host, verification state, permissions with risk level, org/resource choice and actions. Done means the pieces (or the single component) are exported from the library and documented like the neighbouring screens, with prefers-reduced-motion respected for the connector and success animations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Contexto
O wi passou a ser servidor OAuth para clientes de IA (MCP: Claude, Claude Code, Cursor). A tela de consentimento precisou de um padrão que não existe no ui e que outros produtos CodeAtlas vão repetir em qualquer "Conectar app/IA".
O que a tela precisou (montado à mão em apps/web/src/routes/oauth/consent/_components/)
- Identidade dos dois lados: logo/iniciais do app → marca do produto, com conector animado.
- Host de retorno em destaque (exigência do Claude: o usuário precisa ver para onde volta) e host que publicou o app.
- Selo/alerta "App não verificado" para clientes auto-registrados (DCR/CIMD fora de allowlist).
- Lista de permissões com nível de risco (baixo/médio/alto: ícone + cor) e explicação humana por permissão.
- Escolha de organização e de recursos (todas / escolher).
- Ações fixas no celular (
StickyActions) e estado de sucesso animado antes do redirect. - Faixa de promessas de segurança.
Proposta
ConsentScreen (ou peças: AppLinkHeader, RedirectHostCard, PermissionList com risk, UnverifiedAppAlert) sem lógica de OAuth, só apresentação, com prefers-reduced-motion respeitado.
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 3
- Merge trung bình
- 5 giờ 21 phút
- Pull request đã merge (30 ngày)
- 378
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codeatlasdev/ui
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
codeatlasdev/ui#1340 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:a11y area:components bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
codeatlasdev/ui#1336 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
codeatlasdev/ui#1329 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
codeatlasdev/ui#1292 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:components enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
codeatlasdev/ui#1198 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codeatlasdev/ui
Issue tương tự
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
sandbox-quantum/switch#2163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
automated issue report
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/dashboard kind/bug QA/dev-automation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug pydanty:is-working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pydantic/pydantic-ai#13939 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
self-host
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
funmusicplace/mirlo#2625 ·
Maintainer thường phản hồi trong vòng 1 ngày