Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code History and Version Control: An option to see previous versions or a basic undo/redo history could enhance user control. #3272

Open
hustler0109 opened this issue Nov 9, 2024 · 1 comment

Comments

@hustler0109
Copy link

Increasing Access

The Code History and Version Control feature would significantly improve access by providing users with greater control over their coding process. It can benefit users by:

  • Reducing Errors and Frustration: Especially for beginners, the ability to revert to previous code versions or undo recent changes can be essential for learning without fear of losing work.
  • Supporting Collaborative Learning: By integrating basic versioning, users working in teams or sharing code with peers can understand and track changes over time.
  • Encouraging Experimentation: Users would feel more comfortable experimenting with code if they know they can return to previous versions easily.
    This feature aligns well with the educational focus of p5.js, offering an accessible tool for users at all levels.

Feature request details

Description:

Implement a Code History and Version Control feature to allow users to view previous versions of their code, as well as an Undo/Redo option to revert recent changes. This could be a simplified history log or even a basic snapshot feature.

Potential Benefits:

Improved User Experience: A history or version control feature can save users time and enhance their learning experience by making it easier to correct mistakes.
Enhanced Creativity: By enabling users to experiment and explore without the fear of permanent loss, this feature can encourage creativity and exploration.
Streamlined Debugging: Version control can help users identify and revert problematic changes more efficiently.
Additional Thoughts:
This feature could be implemented as a lightweight versioning system or by saving checkpoints/snapshots of code at regular intervals. It would complement existing editor features and help the p5.js Web Editor become a more robust and beginner-friendly platform.

Copy link

welcome bot commented Nov 9, 2024

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant