# Maximize Tab View — Implementation Plan > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. **Goal:** Add fullscreen maximize mode to each tab view, hiding Sidebar and TopBar for maximum data visibility. **Architecture:** Each view component manages its own `isFullscreen` state locally. No global state. Toggle between normal and fullscreen modes with conditional rendering. **Tech Stack:** React useState, lucide-react icons, Tailwind CSS --- ### Task 1: ProductDescriptions.tsx **Files:** - Modify: `src/components/ProductDescriptions.tsx` - [ ] **Step 1: Add imports and state** Add `Maximize2` to lucide-react imports. Add `useState` if not present. ```tsx const [isFullscreen, setIsFullscreen] = useState(false); ``` - [ ] **Step 2: Add maximize button** Find the component's header section (where stats/controls are rendered). Add maximize button with `Maximize2` icon next to existing controls. ```tsx ``` - [ ] **Step 3: Wrap content in conditional render** After existing return statement, wrap in: ```tsx return ( <> {isFullscreen ? (
{/* Existing JSX content - remove any overflow constraints */}
) : (
{/* Existing JSX content - keep current overflow settings */}
)} ); ``` --- ### Task 2: MatrixView.tsx **Files:** - Modify: `src/components/MatrixView.tsx` - [ ] **Step 1: Add imports and state** Add `Maximize2`, `X` to lucide-react imports. Add `useState` if not present. - [ ] **Step 2: Add maximize button** Add button in the header area (search bar section). - [ ] **Step 3: Add conditional render** Same pattern as Task 1. --- ### Task 3: DimensionsView.tsx **Files:** - Modify: `src/components/DimensionsView.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- ### Task 4: PricingView.tsx **Files:** - Modify: `src/components/PricingView.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- ### Task 5: ArticleDetails.tsx **Files:** - Modify: `src/components/ArticleDetails.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- ### Task 6: PendingValidationView.tsx **Files:** - Modify: `src/components/PendingValidationView.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- ### Task 7: MissingDataView.tsx **Files:** - Modify: `src/components/MissingDataView.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- ### Task 8: HistoryView.tsx **Files:** - Modify: `src/components/HistoryView.tsx` - [ ] **Step 1: Add imports and state** - [ ] **Step 2: Add maximize button** - [ ] **Step 3: Add conditional render** --- **Verification:** Run `npm run lint` to ensure no TypeScript errors.