feat(editor): no silent loss on a 1 024 px crossing

Drawing actions stay mounted and hidden while read-only: an upload in
flight, a cleaning candidate, a repair offer and a parent choice come
back on widening. Decision dialogs open only while editing, in a shown
place, references panel closed; otherwise the decision is held per
object, shown as a pending line, reopened by « Reprendre » (absent in
read-only). Picker, file input and parent button are disabled while one
is pending. Repair geometries move into RepairDialog, keyed on the offer.

R-24: no existing assertion rewritten; editor-no-loss-decisions.test.tsx
added (12 cases).
This commit is contained in:
bchanot committed 2026-11-06 21:23:46 +01:00
1 parent c57af6441f
commit 51fd3db608
5 files changed
+646 -65

No files matched your search

+4
View File
@@ -1424,6 +1424,10 @@ export const fr: Dict = {
'editor.views.drawing.use_parent_body': "La vue affichera l'illustration de la vue parente à travers son recadrage. Son propre fichier d'illustration reste enregistré, et vous pouvez annuler ce changement (Annuler). Les annotations de la vue repassent « à confirmer ».",
'editor.views.drawing.use_parent_confirm': "Utiliser l'illustration parente",
'editor.views.drawing.use_parent_cancel': 'Annuler',
'editor.views.pending.cleaning': "Un nettoyage de l'illustration attend votre décision.",
'editor.views.pending.repair': 'Une réparation des annotations attend votre décision.',
'editor.views.pending.parent': "Le retour à l'illustration de la vue parente attend votre confirmation.",
'editor.views.pending.resume': 'Reprendre',
'editor.views.crop.title': 'Recadrage',
'editor.views.crop.toggle': 'Modifier le recadrage',
'editor.views.crop.min_x': 'Recadrage : x minimum',