Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Switch ShowUI revisions in the side panel tab

Aperta
#208 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start with ShowUIBlock and UiPageTabView in WorkspacePanel.tsx, then trace how session revisions are stored in mirror.uiPages and how panel tabs are opened. Add revision switching, tab reuse, and a notice when a newer revision arrives without replacing the page automatically. Done means tests cover those three behaviors and manual checks confirm switching among three revisions in one tab in light and dark themes on macOS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Follow-up to #189 (phases 1 and 2, shipped in #207).

Today

A ShowUI card has "Open in side panel" (ShowUIBlock). It opens one revision as its own panel tab (UiPageTabView in WorkspacePanel.tsx), and the new tab page lists the session's pages. The tab is fixed to the revision it was opened with.

Problem

  • No revision switching in the panel. To compare revisions, the user opens each one from its card in the conversation, which leaves one tab per revision.
  • No sign of a new revision. When the agent updates a page that is open in the panel, the tab keeps showing the old revision and gives no hint that a newer one exists.

Proposal

  • A page tab in the panel can switch between the page's revisions, from the revision list the session state already has (mirror.uiPages). Opening a page that already has a tab switches that tab instead of adding another.
  • When a newer revision arrives while the tab is open, the tab says so and offers to switch. It does not reload on its own, so whatever the user is doing on the page is not lost.

Acceptance

  • Tests for switching revisions, reusing the tab, and the new-revision notice.
  • Checked by hand on macOS desktop in a light and a dark theme: open a page, let the agent make two more revisions, switch between all three in one tab.
Lingua principale
TypeScript
Stelle
490
Fork
47
Merge medio
10h 40m
PR unite (30g)
83

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GoDiao/dreamcoder

Tutte le issue di GoDiao/dreamcoder

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.