hosts, a python with textual based /etc/hosts editor.
Find a file
phg f7671db43e Add save confirmation modal and integrate with entry editing
- 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.
2025-07-30 13:36:25 +02:00
memory-bank Add save confirmation modal and integrate with entry editing 2025-07-30 13:36:25 +02:00
src/hosts Add save confirmation modal and integrate with entry editing 2025-07-30 13:36:25 +02:00
tests Add save confirmation modal and integrate with entry editing 2025-07-30 13:36:25 +02:00
.clinerules initial commit 2025-07-29 13:50:55 +02:00
.gitignore Add .gitignore file to exclude unnecessary files and directories 2025-07-29 15:09:57 +02:00
.python-version initial commit 2025-07-29 13:50:55 +02:00
main_old.py Add unit tests for HostEntry and HostsFile models, and implement HostsParser tests 2025-07-29 14:52:31 +02:00
pyproject.toml Update dependencies to latest versions: textual 5.0.1 and pytest 8.4.1 2025-07-29 16:07:50 +02:00
README.md initial commit 2025-07-29 13:50:55 +02:00
uv.lock Update dependencies to latest versions: textual 5.0.1 and pytest 8.4.1 2025-07-29 16:07:50 +02:00