Mascote de ajuda com balão de canto (decisão de produto)

Offen
#1,225 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
22/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

This is a proposal awaiting a product decision, so start by reading useFabSlot (from #1108) and the AC reference paths corner/use-walk.ts and corner/use-help-offer.ts to see what behaviour has to be reproduced. The acceptance criteria name the checks: prefers-reduced-motion stops the walk, useFabSlot("right") flips the mascot left, and the bubble carries role="status" and closes on Esc. Done means a CornerAssistant component with a test covering those three cases — but confirm scope with the maintainers on the thread first.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:components enhancement

Versão: @codeatlasdev/ui 4.6.0 · código lido em main (950628f2) · classe: lacuna (migração do AC)

Problema

O AC depende deste comportamento hoje e a lib não o oferece. Sem ele, a migração perde qualidade no desktop, no mobile ou no PWA.

O que a lib já oferece (para não duplicar) e o que falta

(leitura de origin/main) não há mascote nem balão de canto. useFabSlot existe (#1108 cobre a regra de lado).

Referência no AC

Caminhos do repo AC (repo privado, só caminho):

packages/koatla/src/corner/koatla-corner.tsx, corner/comic-bubble.tsx, corner/use-walk.ts, corner/use-help-offer.ts, character/koatla-2d.tsx (SVG animado); apps/seller/src/components/calculator/fab-group.tsx:21 (mascote à esquerda com useFabSlot("right")).

Defeitos do AC (verificados por leitura do código): nenhum por leitura.

Proposta

<CornerAssistant character={svg} side="auto" bubble={text} /> com reducedMotion desligando o andar. Confirmar com o produto se entra no escopo.

Critério de aceite (testável)

  • Com prefers-reduced-motion, o personagem não anda e o balão aparece sem animação.
  • Com useFabSlot("right") ativo, o personagem se move para a esquerda.
  • O balão tem role="status" e some com Esc.

Mãe: #1089

Vorherrschende Sprache
TypeScript
Sterne
6
Forks
3
Ø Merge
5 Std. 21 Min.
Gemergte PRs (30 T.)
378

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/ui

Alle Issues in codeatlasdev/ui

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.