hosts, a python with textual based /etc/hosts editor.
- Implemented SaveConfirmationModal to prompt users for saving changes when exiting edit mode. - Integrated modal into HostsManagerApp to handle unsaved changes. - Added methods to validate and save entry changes, restoring original values if discarded. - Created unit tests for SaveConfirmationModal and its integration with the main application. - Refactored entry editing logic to track changes and confirm before exiting edit mode. |
||
---|---|---|
memory-bank | ||
src/hosts | ||
tests | ||
.clinerules | ||
.gitignore | ||
.python-version | ||
main_old.py | ||
pyproject.toml | ||
README.md | ||
uv.lock |