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
@@ -1393,6 +1393,10 @@ export const en: Dict = {
'editor.views.drawing.use_parent_body': "The view will show the parent view's drawing through its crop. Its own drawing file stays stored, and you can undo this change (Undo). The view's annotations go back to \"to confirm\".",
'editor.views.drawing.use_parent_confirm': "Use the parent drawing",
'editor.views.drawing.use_parent_cancel': 'Cancel',
'editor.views.pending.cleaning': 'A drawing cleaning is waiting for your decision.',
'editor.views.pending.repair': 'An annotation repair is waiting for your decision.',
'editor.views.pending.parent': "Going back to the parent view's drawing is waiting for your confirmation.",
'editor.views.pending.resume': 'Resume',
'editor.views.crop.title': 'Crop',
'editor.views.crop.toggle': 'Edit the crop',
'editor.views.crop.min_x': 'Crop: minimum x',
+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',