mirror of
				https://github.com/shokinn/hosts-go.git
				synced 2025-11-04 04:28:34 +00:00 
			
		
		
		
	feat: add view mode status bar
This commit is contained in:
		
							parent
							
								
									49bf61f8e5
								
							
						
					
					
						commit
						9748c2dde8
					
				
					 5 changed files with 45 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -51,7 +51,8 @@
 | 
			
		|||
 | 
			
		||||
4. **View Mode Implementation** 🟡
 | 
			
		||||
   - Read-only display of `/etc/hosts` entries
 | 
			
		||||
   - Needs status indicators and better styling
 | 
			
		||||
   - Status bar and active/inactive indicators in list implemented
 | 
			
		||||
   - Further styling improvements pending
 | 
			
		||||
 | 
			
		||||
### Medium-term (Phase 3)
 | 
			
		||||
1. **Edit Mode Implementation**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,8 +49,8 @@
 | 
			
		|||
- [x] **Two-pane layout**: Left list + right detail view
 | 
			
		||||
- [x] **Entry list display**: Show IP and hostname columns
 | 
			
		||||
- [x] **Entry selection**: Navigate and select entries with keyboard
 | 
			
		||||
- [ ] **View mode**: Safe browsing with status indicators
 | 
			
		||||
- [ ] **Integration**: Connect TUI with existing parser functionality
 | 
			
		||||
 - [x] **View mode**: Safe browsing with status bar and active/inactive indicators
 | 
			
		||||
 - [ ] **Integration**: Connect TUI with existing parser functionality
 | 
			
		||||
 | 
			
		||||
### 🔧 Edit Functionality (Phase 3)
 | 
			
		||||
- [ ] **Edit mode transition**: Explicit mode switching with visual indicators
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue