Space library retains pages deleted in another browser tab
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- react, sqlite, typescript
- 領域
- frontend
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 4.8k
- フォーク
- 690
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 43
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CopilotKit/OpenDots のほかの issue
-
Page conversation panel overflows horizontally対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CopilotKit/OpenDots#69 ·
メンテナーはふだん 2 日以内に返信
-
Long page titles are clipped in the page editor対応中かも @charan-rathore が 8 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CopilotKit/OpenDots#68 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CopilotKit/OpenDots#147 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Approval-gated action interrupted before its result is saved can never be retried対応中かも @DerekChia が 2 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
CopilotKit/OpenDots#134 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 25/100
CopilotKit/OpenDots#127 ·
メンテナーはふだん 2 日以内に返信
CopilotKit/OpenDots の issue をすべて見る
似ている issue
-
affected/v17 affected/v18 area/frontend type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
umbraco/Umbraco-CMS#24186 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
better-auth/better-auth#11723 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: docs difficulty: easy documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Worker-Erstellung bricht langsame Git-Worktree-Checkouts nach 20 Sekunden ab対応中かも @KajoVanBuyten が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
AgentSystemLabs/agent-office#367 ·
メンテナーはふだん 1 日以内に返信