fix(editor): resumed shape names and minor review fixes

- French fallback names: « cette nouvelle zone », « ce nouvel accès »
  (controller ruling: « Sommets de ce nouvel accès »); doc updated.
- useZoneHandle back to 5 locals.
- dropPending clears the strip hint as a kept stored change does.
- Tests: the chosen vertex cleared by finishCreation itself (document
  unchanged) and by a view change through the guard; both fail
  without their clearing.

Changed assertions, editor-creation-dialog.test.tsx:
- « Sommets de la nouvelle zone », « Sommet 1 de la nouvelle zone »
  -> « … de cette nouvelle zone » (ruling)
- « Sommets de le nouvel accès » -> « Sommets de ce nouvel accès »
- chosen null after « Créer » (cleared by the document change, not
  discriminating) -> « the chosen vertex ends with a finished
  creation, the document unchanged »
This commit is contained in:
bchanot committed 2026-11-19 09:49:27 +01:00
1 parent a5896710e5
commit c01c6f3145
5 files changed
+49 -22

No files matched your search

+2 -2
View File
@@ -244,8 +244,8 @@ core, since the new shape is not in the document until « Créer »:
ghost stays drawn as above, and the handle layer draws the polygon handles
on it exactly as on a selected polygon (« + », vertices, the chosen vertex's
« − » bubble, the 40-vertex cap, the R-9 zoom rule). Their names carry the
form's name in the current locale, or « la nouvelle zone » / « le nouvel
accès » while it is empty. During a vertex drag the ghost stays at its last
form's name in the current locale, or « cette nouvelle zone » / « ce nouvel
accès » while it is empty (« Sommets de ce nouvel accès »). During a vertex drag the ghost stays at its last
place and the dragged outline is drawn as a selection preview (dashed ink,
its vertices), without the grey old place; the loupe follows a finger as on
a stored zone. A change of the shape only replaces the ghost's geometry: the