Files
StreamLens/TAB_NAVIGATION_UPDATE.md

81 lines
3.1 KiB
Markdown
Raw Permalink Normal View History

2025-07-30 23:48:32 -04:00
# Tab Navigation Update
## ✅ Improvements Complete
### 1. **Tab Navigation Keyboard Shortcuts**
Added three new keyboard shortcuts for tab navigation:
- **`Tab`** - Next Tab (cycles forward through active tabs)
- **`Shift+Tab`** - Previous Tab (cycles backward through active tabs)
- **`t`** - Tab Menu (shows available tabs in subtitle for 3 seconds)
### 2. **Default View Changed to Simplified**
The Overview tab now defaults to the **simplified view** without subflow rows:
- Only shows main flows (no nested frame type breakdowns)
- Cleaner, less verbose display
- Toggle with `v` to see detailed view with subflows
### 3. **Visual Tab Indicators**
Added CSS styling for the tab bar:
- **Active tab**: Blue background (#0080ff) with white bold text
- **Inactive tabs**: Dark background with gray text
- **Hover effect**: Highlights tabs on mouse hover
- **Disabled tabs**: Dimmed appearance for empty frame types
- **Tab bar**: Located at top of flow table area with 3-row height
### 4. **Complete Keyboard Shortcuts**
**Navigation:**
- `Tab` / `Shift+Tab` - Navigate between tabs
- `t` - Show tab menu
- `1,2,3,4` - Sort by Flows/Packets/Volume/Quality
**Controls:**
- `q` - Quit
- `p` - Pause/Resume
- `v` - Toggle View Mode (simplified/detailed)
**Data Actions:**
- `d` - Show Details
- `r` - Generate Report
- `o` - Copy Outliers
**Help:**
- `?` - Toggle Help
## 📑 Tab Structure Example
```
┌─────────────────────────────────────────────────────────┐
│ Overview │ CH10-Data │ UDP │ PTP-Sync │ TMATS │ IGMP │ <- Tab bar (active tab highlighted)
├─────────────────────────────────────────────────────────┤
│ │
│ # Source Dest Proto Packets Volume│ <- Simplified flow list
│ 1 192.168.4.89 239.1.2.10 UDP 1452 1.4MB │
│ 2 11.59.19.202 239.0.1.133 UDP 113 98KB │
│ 3 11.59.19.204 224.0.1.129 UDP 297 256KB │
│ │
└─────────────────────────────────────────────────────────┘
```
## 🎯 Usage Tips
1. **Quick Navigation**: Use `Tab` to cycle through frame types
2. **Tab Discovery**: Press `t` to see all available tabs
3. **Clean View**: Default simplified view shows only main flows
4. **Frame Type Focus**: Each tab shows flows containing that specific frame type
5. **Smart Tab Hiding**: Only shows tabs for detected frame types
## 📊 Tab Contents
- **Overview**: All flows (simplified by default, no subflows)
- **CH10-Data**: Flows with Chapter 10 data frames
- **UDP**: Generic UDP traffic flows
- **PTP-Sync/Signaling**: PTP protocol flows
- **TMATS**: Telemetry attribute flows
- **Others**: IGMP, CH10-ACTTS as detected
Press `t` at any time to see which tabs are available!