Enhance status display and entry details in HostsManagerApp

- Updated header title to "/etc/hosts Manager" and modified subtitle format.
- Implemented a dedicated overlay status bar for error messages, ensuring no layout shifts.
- Refactored entry details display to use DataTable with labeled rows for improved consistency.
- Added CSS styles for the new status bar and DataTable.
- Created tests for status bar visibility and DataTable functionality, ensuring all tests pass.
This commit is contained in:
Philip Henning 2025-07-31 09:47:09 +02:00
parent 999b949f32
commit 25001042e5
11 changed files with 524 additions and 98 deletions

View file

@ -68,12 +68,12 @@
## What's Left to Build
### Priority 1: User Experience Improvements (From todo.md)
- **Status appearance**: Enhance visual design of status bar
- ❌ **Entry details consistency**: Make non-edit view match edit mode field order
- **DataTable details view**: Implement labeled rows for better entry details display
- **Sudo permission handling**: Address known sudo issues
### Phase 4: Advanced Edit Features
- **Status appearance**: Enhanced visual design with new header layout and dedicated error message bar
### Priority 1: User Experience Improvements (From todo.md)
- **Status appearance**: Enhanced visual design with new header layout and separate error message bar
- **Entry details consistency**: Implemented DataTable with labeled rows matching edit form field order
- ✅ **DataTable details view**: Completed as part of entry details consistency improvement
- ❌ **Sudo permission handling**: Address known sudo issues### Phase 4: Advanced Edit Features
- ❌ **Add new entries**: Create new host entries
- ❌ **Delete entries**: Remove host entries
- ❌ **Bulk operations**: Select and modify multiple entries
@ -96,10 +96,10 @@
## Current Status
### Development Stage
**Stage**: Phase 3 Complete with Full Test Coverage Restored
**Progress**: 85% (Complete edit mode foundation with save confirmation, all tests passing, ready for UX improvements)
**Next Milestone**: User experience improvements from todo.md, then Phase 4 advanced features
**Test Status**: ✅ All 149 tests passing (test stabilization completed successfully)
**Stage**: User Experience Improvements - 3 of 4 Todo Items Complete
**Progress**: 90% (Status improvements and entry details consistency completed, ready for final sudo fixes and Phase 4)
**Next Milestone**: Sudo permission handling fixes, then Phase 4 advanced features
**Test Status**: ✅ All 149 tests passing (maintained during UX improvements)
### Phase 3 Final Achievements ✅ COMPLETE
1. ✅ **Permission management**: Complete PermissionManager class with sudo request and validation