Space library retains pages deleted in another browser tab
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- react, sqlite, typescript
- Área
- frontend
Línea de trabajo
Start with mergePageSnapshot and the page-list polling path in the Space library client, alongside SpaceLibrary, SpaceWorkspace and PageDocument, and check how they use GET /api/spaces/:spaceId/pages. Done means a fresh complete list drops a row deleted in another tab while keeping newly created pages, newer saved revisions, local tombstones, and an open unsaved draft. Open PR #126 already targets this, so coordinate with it rather than starting a parallel fix.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
A Space library keeps showing a page after the same owner deletes it in another browser tab. Successful later polls already omit the deleted page, but mergePageSnapshot keeps every previously known row forever unless this particular component issued the deletion itself.
This is an ordinary single-owner, two-tab workflow, not a request for multi-user collaboration or a recycle bin.
Reproduction
- Open the same Space in tabs A and B, with a saved page visible in both.
- Keep A on the page library. In B, open the page and use Page actions → Delete page.
- Wait for A's regular page-list polling to complete successfully more than once.
- A still shows the deleted page even though
GET /api/spaces/:spaceId/pagesomits it and the page API returns 404.
Expected: a successful fresh complete list should remove the deleted library row. If that page is open for editing in A, keep its local draft available and explain the external deletion rather than silently unmounting the editor.
Actual: the deleted row remains until the Space component is remounted/reloaded; opening or saving it produces a not-found error.
Verification
- Upstream
mainat625452e, Node.js 24.16.0, Chrome on macOS. - Reproduced with two actual browser pages using the real
SpaceWorkspace,SpaceLibrary,PageDocument, ReactDOM StrictMode, repository CSS, and the project's real Hono page API / SQLite store with synthetic in-memory data. - After B deleted a parent, its child was correctly reparented on the server. A completed two further list polls, but still displayed one deleted-parent row.
- No Intelligence/model/Slack/voice credentials or live cloud services were needed.
Fix boundaries
The existing union merge protects a newly created page from a list request that started before creation. A fix should preserve that protection, newer saved revisions, and local-deletion tombstones. It also needs to avoid older overlapping list responses resurrecting deleted rows and preserve an already-open unsaved draft.
I am preparing a bounded client fix with regression tests and browser checks. This is separate from #114's version-history/trash/import-export proposal: its polling path still uses the same union merge.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4.8k
- Forks
- 690
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 43
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CopilotKit/OpenDots
-
Page conversation panel overflows horizontallyPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CopilotKit/OpenDots#69 ·
Los mantenedores suelen responder en 2 días
-
Long page titles are clipped in the page editorPosiblemente ocupada @charan-rathore la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CopilotKit/OpenDots#68 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
CopilotKit/OpenDots#147 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Approval-gated action interrupted before its result is saved can never be retriedPosiblemente ocupada @DerekChia la tomó hace 3 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
CopilotKit/OpenDots#134 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 1-2 días Aptitud para principiantes 25/100
CopilotKit/OpenDots#127 ·
Los mantenedores suelen responder en 2 días
Todos los issues de CopilotKit/OpenDots
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NaturalIntelligence/fast-xml-parser#890 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
zsviczian/obsidian-excalidraw-plugin#3000 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pnpm/get.pnpm.io#68 ·
-
[BUG] Cloudflare KV binding 模式下 kvDriver.list() 沿用 EdgeOne 语义,字段名不匹配导致 key 格式下初始化 500 并耗尽 list 配额Posiblemente ocupada @wumingzhinu la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
OpenListTeam/OpenList-Worker#125 ·
Los mantenedores suelen responder en 2 días
-
Android (vision-camera-location): HybridLocationManager never quits its HandlerThread on disposeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
margelo/react-native-vision-camera#4217 ·
Los mantenedores suelen responder en 4 días