🐛 (bug) Version history must stay reachable when the document fails to render
Los mantenedores suelen responder en 3 días
@RoeeSivan ya está trabajando en esto.
Desde el 24/11/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 17k
- Forks
- 705
- Merge medio
- 4 d 13 h
- PR fusionados (30 d)
- 47
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una 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 suitenumerique/docs
-
🐛(Bug) Helm chart is published from a push to any branch, not only mainPosiblemente ocupada @RoeeSivan la tomó hace 1 día. AbiertoAI generated CI helm
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
suitenumerique/docs#3049 ·
Los mantenedores suelen responder en 3 días
-
🐛(Bug) Preview comment missing when a PR is opened or labelled with a conflictPosiblemente ocupada @RoeeSivan la tomó hace 1 día. AbiertoCI preview
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
suitenumerique/docs#3039 ·
Los mantenedores suelen responder en 3 días
-
AI generated frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
suitenumerique/docs#3030 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
🐛(Bug) Block menu shows an orphan separator on blocks without colors (math, diagram)Posiblemente ocupada @arxh80 la tomó hace 8 días. Abiertofrontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
suitenumerique/docs#3021 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
suitenumerique/docs#3018 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de suitenumerique/docs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
GetStream/stream-chat-react#3467 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
vercel-labs/ui#1139 ·
Los mantenedores suelen responder en 1 día
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Posiblemente ocupada @goranai la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[Bug] IntegerRange.contains counts a non-integer just above max as inside an inclusive rangeAbiertobot:ai-assisted component:platform-js status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
midnightntwrk/platform-js#93 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100