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

Store tasks in a config file #3

Open
janinainfa opened this issue Oct 1, 2024 · 2 comments
Open

Store tasks in a config file #3

janinainfa opened this issue Oct 1, 2024 · 2 comments

Comments

@janinainfa
Copy link

Store tasks in a config (or json) file so they don't disappear after rerunning the program (I can make this)

@ilyas829
Copy link

ilyas829 commented Oct 1, 2024

Can I do this this ?

@P-Potdar
Copy link

P-Potdar commented Oct 1, 2024

Hacktoberfest 2024 Contribution

Hi Maintainers,

I hope you’re doing well! I’m participating in Hacktoberfest 2024, and I’m excited to contribute to this project. 🎉 This PR implements a feature to store tasks in a config (or JSON) file so they persist even after rerunning the program. This should address the issue of tasks disappearing, which can enhance user experience by ensuring data remains consistent across sessions.

Summary of Changes:
Added support for saving tasks in a JSON file.
Implemented logic to load tasks from the file at startup and save them after updates.
Ensured backward compatibility and no breaking changes to the existing functionality.
Included test cases and documentation updates.
Benefits:
Persistence: Users’ tasks are now stored safely and don’t disappear on rerunning the program.
User Experience: This improves usability by maintaining consistency across sessions.
Looking forward to your review, and I’m happy to make any necessary adjustments based on your feedback!

Thank you for considering this PR for Hacktoberfest 2024

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

No branches or pull requests

3 participants