Padrão de tela de consentimento OAuth (conectar app/IA)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- frontend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6
- Forks
- 3
- Ø Merge
- 5 Std. 21 Min.
- Gemergte PRs (30 T.)
- 378
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codeatlasdev/ui
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
codeatlasdev/ui#1340 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:a11y area:components bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
codeatlasdev/ui#1336 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
codeatlasdev/ui#1329 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
codeatlasdev/ui#1292 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:components enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
codeatlasdev/ui#1198 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codeatlasdev/ui
Ähnliche Issues
-
bug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
CivicTechWR/accessible-housing-portal#578 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
nekko-labs/nekko-agent#2998 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
sandbox-quantum/switch#2163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement ux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lolimmlost/aidj#433 ·
Maintainer antworten meist innerhalb von 1 Tag
-
test: ipcShownDialogKeys.test.tsx can fail the unit run with 'window is not defined' after it endsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag