Feature: Implement Undo/Redo history support in VisualCircuit editor
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, react
- Domain
- frontend
Research direction
Start by locating the VisualCircuit editor entry point and the code that handles block and connection changes. Determine how editor state is represented before deciding how undo, redo, and keyboard shortcuts should integrate. Done means the listed circuit actions can be undone and redone through the specified shortcuts.
Written by the indexing model from the issue text.
Description
Description
While experimenting with VisualCircuit locally, I noticed that the editor
does not provide undo or redo functionality when modifying circuits.
Currently actions such as:
- adding blocks
- deleting blocks
- moving blocks
- creating connections
- deleting connections
cannot be reverted easily.
For a visual programming environment this can lead to accidental loss of
work and makes experimentation harder.
Proposed Improvement
Introduce an undo/redo system for the VisualCircuit editor.
Suggested behavior:
Ctrl + Z→ Undo last actionCtrl + Shift + Z→ Redo action- maintain a history stack of editor state changes
- support undo/redo for block creation, deletion, movement and connections
Benefits
- safer editing experience
- improved productivity when building circuits
- aligns VisualCircuit with modern node-based editors such as Node-RED
and other visual programming environments
Screenshot
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 7
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JdeRobot/VisualCircuit
-
Outputs.share() fails on Windows: shape/dim wires are sized as int32 but always read as int64Possibly taken @harsh839 claimed this 70 days ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
JdeRobot/VisualCircuit#483 ·
-
Chore: Format backend Python codebase using BlackPossibly taken @harsh839 claimed this 70 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JdeRobot/VisualCircuit#444 · 2 comments ·
-
Outputs.share() under-allocates the data wire whenever check_type() promotes the dtypePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 74/100
JdeRobot/VisualCircuit#484 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
JdeRobot/VisualCircuit#470 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
JdeRobot/VisualCircuit#453 · 1 comment ·
All issues in JdeRobot/VisualCircuit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Inter-Actief/amelink#140 ·
-
area:tooling priority:p3 scope:infrastructure size:s status:ready type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
pre-existing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day