🐛 (bug) Version history must stay reachable when the document fails to render
メンテナーはふだん 3 日以内に返信
@RoeeSivan がすでに取り組んでいます。
2026年11月24日 から。
評価
調査の方向性
Start by locating the document page’s editor and the History modal, then trace how editor rendering failures and version previews are handled. Done means a broken document leaves the header, menu, and History available; authorized users can preview and restore a working version; users without version access are told to contact the owner; and failures are reported to Sentry and tracked as specified.
索引モデルが issue の本文から書いたものです。
説明
Problem to solve
In order to recover their work when a document breaks, users must be able to reach the history and restore a previous version without opening the editor. Today the History entry only lives in the "..." menu of the document page, which is rendered with the editor. When the editor throws during render (e.g. #2945 ), the whole page is replaced by "An unexpected error occurred". The header, the menu and the history all disappear, so the user cannot restore or share the document, and support has to step in.
There is no React error boundary in the app today: any render error in a block takes the page down.
ex doc : https://docs.numerique.gouv.fr/docs/f5cfbffb-09c2-431a-b0a8-b85ba24ec256/
Acceptance criteria
Given a document whose content fails to render
When a user opens it
Then the page shows an error message in place of the editor
And the header, the "..." menu and the History entry stay available
Given a user with the right to see versions opens a document that fails to render
When they open History
Then they can preview and restore a previous version
Given a user cannot see versions
When the document fails to render
Then the error message tells them to contact the document owner
Given the restored version renders correctly
When the restore completes
Then the document opens normally for every collaborator
Event tracking
doc_render_failed: the editor error boundary catches an error (error_name,block_type)
Implementation
- Add an error boundary around the editor in the document page, so the header and the toolbox stay mounted. Report to Sentry.
- A version preview that fails to render should also show an error state, not crash the history modal.
- 主要言語
- TypeScript
- スター
- 17k
- フォーク
- 705
- 平均マージ
- 4日 13時間
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
suitenumerique/docs のほかの issue
-
🐛(Bug) Helm chart is published from a push to any branch, not only main対応中かも @RoeeSivan が 1 日前に担当しました。 オープンAI generated CI helm
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
suitenumerique/docs#3049 ·
メンテナーはふだん 3 日以内に返信
-
🐛(Bug) Preview comment missing when a PR is opened or labelled with a conflict対応中かも @RoeeSivan が 1 日前に担当しました。 オープンCI preview
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
suitenumerique/docs#3039 ·
メンテナーはふだん 3 日以内に返信
-
AI generated frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
suitenumerique/docs#3030 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
🐛(Bug) Block menu shows an orphan separator on blocks without colors (math, diagram)対応中かも @arxh80 が 8 日前に担当しました。 オープンfrontend good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
suitenumerique/docs#3021 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
suitenumerique/docs#3018 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
suitenumerique/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
siyuan-note/siyuan#21692 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GetStream/stream-chat-react#3467 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
resend/resend-node#1206 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/cloudflare-typescript#2821 ·