An old Project details save can reset the active project or toast on another project
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, react
調査の方向性
Start in app/src/pages/ProjectsEdit.jsx and packages/editor-ui/src/stores/projectStore.js, tracing how a save updates the active project and displays toasts after the page unmounts. Add a test that leaves p1 for p2 while p1's save is pending. Done when the old save cannot reactivate p1 or show an unscoped toast on p2's page.
索引モデルが issue の本文から書いたものです。
説明
If you save Project details and switch to another project's details within a second, the old save can make the first project active again (sending you back to the Projects list) or show its messages on the new page.
ProjectsEdit.jsx starts a fresh page per project (key={id}), so a load, save or Apply Update still running for a project the user has left only touches its own, unmounted page. Two writes still reach outside it. A save's follow-up getActiveProject() → setActiveProject(...) (the folder-rename and the plain branch of handleSubmit) writes the shared project store: save p1, activate p2 and open its details before that request returns, and p1 becomes active again, so p2's page redirects to the Projects list. And toasts from the old page (a failed load, a save or update finishing) still show on the new one. Needs the user to leave, activate another project and reopen details within the save's round trip. Pre-existing; found by Codex reviewing the update-banner refresh, 2026-10-19; not reproduced.
Done when: a save whose page has unmounted no longer writes the active project (a mounted ref, or a store write that checks the active id is still the saved project's), and its toasts are skipped or name the project, with a test that moves to p2 while a p1 save is pending.
Start: ProjectsEdit.jsx, projectStore.js.
- 主要言語
- JavaScript
- スター
- 162
- フォーク
- 6
- 平均マージ
- 12時間 55分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tsiger/widgetizer のほかの issue
-
question
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
tsiger/widgetizer#194 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
tsiger/widgetizer#181 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
tsiger/widgetizer#175 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
tsiger/widgetizer#174 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tsiger/widgetizer#173 ·
tsiger/widgetizer の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4115 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
outline/outline#14348 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
area:install bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信