ChatThreadList (lista de conversas)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 50/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- frontend
Rechercherichtung
The library entry point is packages/ui/src/lib; read the existing VirtualList, ConversationItem, and Popover/Sheet components there first, since the issue expects them to be reused. Build ChatThreadList against the stated props and check the four acceptance criteria with a fixture of 500 threads; confirm the DOM stays under 60 rows, arrow keys and Enter work, the active row has aria-current="true", and non-running rows become disabled while one thread is running. The AC paths are private, so treat them only as behavioral reference.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
Conferido com git grep -il "ThreadList" origin/main -- packages/ui/src/lib (950628f2): nenhum resultado. Peças reaproveitáveis que existem: MessageBubble, VirtualList, ConversationItem, CodeSnippet (./code), CopyButton, Chip/ChipRow, Popover, Sheet, Spinner, toast.
Referência no AC
Caminhos do repo AC (repo privado, só caminho):
apps/seller/src/components/copilot/thread-switcher.tsx:21-58 (ThreadRow: título truncado, relativeTime, spinner "Respondendo" com aria-label, aria-current); :69 (isEmptyDraft desabilita "Nova conversa"); :103-105 (rótulo do gatilho); :68: outras conversas desabilitadas enquanto uma responde. apps/web/src/components/conversations-admin/thread-list-card.tsx (max-h-[600px]); use-copilot-threads.ts:37-46 (lista inteira, sem paginação).
Defeitos do AC (leitura do código, não executado): - Sem renomear, excluir, buscar ou agrupar por data no seller.
- Admin carrega todas as conversas de uma vez e filtra no cliente.
- "Sem título" é o único estado para título vazio.
Proposta
<ChatThreadList threads activeId running onselect onnew> com grupos "Hoje/Ontem/Anteriores", busca com debounce, VirtualList acima de 100 itens, aria-current e ações opcionais onrename, ondelete (confirmação).
Critério de aceite (testável)
- 500 conversas: menos de 60 linhas no DOM.
- Setas movem o foco entre linhas e Enter abre.
- Conversa ativa tem
aria-current="true". - Enquanto uma conversa responde, as outras ficam com
disablede a que responde mostra "Respondendo" anunciado uma vez.
Mãe: #1089
- 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