Commit graph

64 commits

Author SHA1 Message Date
phg
a399b04c99 Add 'Active' column to DataTable with visual indicators for entry status 2025-07-29 17:13:22 +02:00
phg
e83db8ce67 Enhance styling of active and inactive entries in DataTable for better visibility 2025-07-29 17:11:47 +02:00
phg
9cd2b5c3fe Enhance DataTable row styling by using Rich Text for active and inactive entries 2025-07-29 17:06:29 +02:00
phg
bcded3105b Enhance DataTable population by adding sort indicators to column headers and clearing both rows and columns before repopulating 2025-07-29 17:03:18 +02:00
phg
15a3b6230f Refactor left pane to use DataTable for entries display and add sorting functionality by IP and hostname 2025-07-29 16:57:41 +02:00
phg
407e37fffd Refactor layout of left and right panes to use rounded borders and improve structure 2025-07-29 16:37:38 +02:00
phg
d684583cb9 Update dependencies to latest versions: textual 5.0.1 and pytest 8.4.1 2025-07-29 16:07:50 +02:00
phg
a4ffaebb2a Update project documentation to reflect Phase 1 completion and outline Phase 2 priorities 2025-07-29 15:52:30 +02:00
phg
fdf64d8da3 Add .gitignore file to exclude unnecessary files and directories 2025-07-29 15:09:57 +02:00
phg
69ee221a63 Add handler for entry highlighting in the left pane 2025-07-29 15:09:54 +02:00
phg
b8e4b29f04 Remove compiled Python cache files from the repository 2025-07-29 15:09:33 +02:00
phg
c57267213f Remove compiled Python cache files from the repository 2025-07-29 15:07:01 +02:00
phg
2decad8047 Add unit tests for HostEntry and HostsFile models, and implement HostsParser tests
- Created comprehensive unit tests for HostEntry class, covering creation, validation, and conversion to/from hosts file lines.
- Developed unit tests for HostsFile class, including entry management, sorting, and retrieval of active/inactive entries.
- Implemented tests for HostsParser class, validating parsing and serialization of hosts files, handling comments, and file operations.
- Ensured coverage for edge cases such as empty files, invalid entries, and file permission checks.
2025-07-29 14:52:31 +02:00
phg
40a1e67949 initial commit 2025-07-29 13:50:55 +02:00