feat(editor): F4.4b the design tools: palette, moving, cables, menus, undo

The palette in Java's order with Java's icons and names: a device dragged
onto the surface lands with its icon at the drop point, a tapped one in the
middle of the view; a new router asks for 2 to 8 interfaces as Java does.
A tap selects, a drag moves (divided by the scale), a long press or the
three-dot button opens Java's menu. The cable tool plugs by a drag or by
two taps, shows WAN or LAN on a home router's halves and Java's messages
when refused. Delete removes the selection; undo and redo by button and
Ctrl+Z/Ctrl+Y, each editor with its own origin. Browser tests with mouse
and touch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 09:37:49 +00:00
co-authored by Claude Opus 5.5
parent 27ab7a1f49
commit 806df6baca
16 changed files with 1218 additions and 74 deletions
+25 -3
View File
@@ -1,5 +1,24 @@
{
"cable.alreadyConnected": "Components already connected",
"cable.lan": "LAN port (internal)",
"cable.lanOccupied": "LAN port (internal) already occupied!",
"cable.noFreePort": "No connector available",
"cable.portTaken": "This port is already taken.",
"cable.sameDevice": "A device cannot be connected to itself.",
"cable.unknownDevice": "This device no longer exists.",
"cable.unknownPort": "There is no such port.",
"cable.wan": "WAN port (external)",
"cable.wanOccupied": "WAN port (external) already occupied!",
"cable.wirelessNotPossible": "Wireless connection not possible",
"canvas.label": "Network",
"design.actions": "Actions",
"design.palette": "Components",
"design.redo": "Redo",
"design.undo": "Undo",
"dev.example": "Example",
"dev.newProject": "New project",
"dev.openFile": "Open file …",
"dev.title": "Filius editor (development)",
"device.cable": "Connection",
"device.gateway": "Home Router",
"device.networkSwitch": "Switch / Wi-Fi",
@@ -8,9 +27,12 @@
"device.remoteLink": "Modem",
"device.router": "Router",
"device.unsupported": "Unknown device",
"dev.example": "Example",
"dev.openFile": "Open file …",
"dev.title": "Filius editor (development)",
"menu.delete": "Delete",
"menu.removeAllCables": "Remove all cables",
"menu.removeCable": "Remove cable",
"router.cancel": "Cancel",
"router.prompt": "Choose number of NIC of the router!",
"router.title": "Number of NIC",
"zoom.fit": "Show all",
"zoom.in": "Zoom in",
"zoom.level": "{percent} %",