feat: migrate frontend to React with resizable panels and view tabs - #21
Merged
Merged
Conversation
Add new dependencies for the React-based frontend: - react, react-dom, @vitejs/plugin-react - @xyflow/react for graph visualization - framer-motion for animations - react-resizable-panels for VS Code-like layout - react-shiki for code highlighting Update vite.config.ts with React plugin and API proxy. Update tsconfig.json with JSX support.
- layerColors.ts: centralized color constants and layer hints - useReportData.ts: React context and hook for loading report data from API, embedded JSON, or dev fixture
Port Toolbar, SearchBar, NavTree, DetailPanel, and StatusBar from vanilla TypeScript classes to React functional components with hooks. Same visual behavior, now composable with React props/state.
- ArchitectureMap.tsx: Cytoscape.js graph with card overlays (ported) - DependencyGraph.tsx: placeholder for Phase 4 - DataModels.tsx: placeholder for Phase 5 - CallFlow.tsx: placeholder for Phase 6 All views integrated into the tab navigation system.
- App.tsx: main component with resizable panel layout, view switching with Framer Motion transitions, and coordinated selection state - main.tsx: React 18 createRoot entry point with StrictMode - Remove old vanilla TypeScript component and view files - Update CSS to work with React panel layout instead of CSS grid
humzakhan
force-pushed
the
humzakhan/phase2-react-migration
branch
from
March 13, 2026 18:03
7aa0044 to
76f8105
Compare
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/apifor local developmentNew Dependencies
Test plan
tsc --noEmit)