logigate/app/components/editor
Fabian @ Blax Software e55bd47310 A memory that stays: circuits keep their bits across visits and saves; Power off and on
What latches, flip-flops, registers and RAM built from NANDs hold is no
longer lost when you go into a component and come back, reload the page or
open the project on another computer. Leaving a circuit puts its bits in
the project, and opening it starts from them.

Only the gates on feedback loops can hold a bit, so only those that are 1
are kept, plus the clocks that are high: each node id once, each gate as
the path levels it shares with the gate before plus the rest. 1,024
flip-flops take about 30 KB. Restoring runs the gates in the order signals
flow, so the gates in front of a latch are right before it reads them;
gates that no longer exist after an edit are ignored.

The bits go with every save, file, share link and account upload. Between
saves (a clock running, a button pressed) they are put in this browser's
copy every 30 seconds and when the page is left, without counting as a
change: no sync, savegame or undo step of their own, and never over a save
made in another tab. Projects without them start from all zeros as before.

"Power off and on" in the menu on the circuit's name, or with Space,
starts the open circuit again from all zeros.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:09:18 +01:00
..
AccountDialog.vue A settings for every part, overlap-free wiring with crossing styles, accounts with sync 2026-10-20 13:09:37 +02:00
App.vue A Shift while wiring: connect and go on from the same signal 2026-10-23 13:11:19 +02:00
BottomBar.vue BF jumps always on top of what they cross; R circuit commands in a menu on its name, the side panel only says what it is 2026-10-23 15:12:43 +02:00
BulkSettings.vue A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables 2026-10-22 06:48:42 +02:00
Canvas.vue A latch parts onto each other: pins touching, no wires, moving together 2026-10-23 15:34:36 +02:00
ChallengesPanel.vue R Panels: This and Pins on the left, the selection on the right 2026-10-22 20:38:17 +02:00
CircuitPane.vue BF jumps always on top of what they cross; R circuit commands in a menu on its name, the side panel only says what it is 2026-10-23 15:12:43 +02:00
ConnectorDialog.vue R Packed panels, Tab adds rows, flyouts at the pointer, steady top bar 2026-10-22 22:47:38 +02:00
ContextMenu.vue A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys 2026-10-21 12:33:30 +02:00
CrossingIcon.vue R wiring: nothing over or under parts, cables as wide as drawn, clear bridges, cables that split, tidy every circuit 2026-10-23 14:57:16 +02:00
FaceDialog.vue A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables 2026-10-22 06:48:42 +02:00
Fold.vue R Panels: This and Pins on the left, the selection on the right 2026-10-22 20:38:17 +02:00
Help.vue A memory that stays: circuits keep their bits across visits and saves; Power off and on 2026-10-26 18:09:18 +01:00
Inspector.vue R This tab: title, health, four tiles, tidy folds 2026-10-22 20:53:43 +02:00
MainMenu.vue R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel 2026-10-22 18:36:17 +02:00
MenuBackground.vue A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself 2026-10-22 12:22:35 +02:00
MenuCampaign.vue R Top bar like the parts bar, no left panel 2026-10-22 20:17:41 +02:00
MenuChallenges.vue A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself 2026-10-22 12:22:35 +02:00
MenuLeaderboard.vue A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself 2026-10-22 12:22:35 +02:00
MenuList.vue A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys 2026-10-21 12:33:30 +02:00
NodeSettings.vue A latch parts onto each other: pins touching, no wires, moving together 2026-10-23 15:34:36 +02:00
NodeView.vue BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
PartThumb.vue R parts in the bottom bar as drawn tiles in a strip that scrolls sideways 2026-10-23 12:33:47 +02:00
PauseMenu.vue R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel 2026-10-22 18:36:17 +02:00
PinRow.vue BF inverted inputs: lamps and outputs show the inverted value, and checks read it 2026-10-23 12:27:12 +02:00
PinsPane.vue A output panels, and switches, buttons, clocks or lamps combined into one panel 2026-10-21 14:38:59 +02:00
ProjectList.vue R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel 2026-10-22 18:36:17 +02:00
PublishDialog.vue A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week 2026-10-20 19:54:57 +02:00
QuickAdd.vue A memory that stays: circuits keep their bits across visits and saves; Power off and on 2026-10-26 18:09:18 +01:00
Rail.vue R Panels: This and Pins on the left, the selection on the right 2026-10-22 20:38:17 +02:00
ScoreChart.vue A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week 2026-10-20 19:54:57 +02:00
SearchDialog.vue A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging 2026-10-21 13:26:59 +02:00
SelectionPanel.vue R Panels: This and Pins on the left, the selection on the right 2026-10-22 20:38:17 +02:00
SettingsDialog.vue A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog 2026-10-21 09:29:55 +02:00
ShareDialog.vue R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel 2026-10-22 18:36:17 +02:00
TestPane.vue R Panels: This and Pins on the left, the selection on the right 2026-10-22 20:38:17 +02:00
Toolbar.vue A memory that stays: circuits keep their bits across visits and saves; Power off and on 2026-10-26 18:09:18 +01:00
TruthTable.vue A input panels, automatic names, one-by-one wiring, tidy routing, truth table export 2026-10-20 19:17:25 +02:00
TruthTableDialog.vue A input panels, automatic names, one-by-one wiring, tidy routing, truth table export 2026-10-20 19:17:25 +02:00
VersionsDialog.vue R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel 2026-10-22 18:36:17 +02:00
WireSettings.vue A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables 2026-10-22 06:48:42 +02:00