- Reduced layout height on mobile (h-auto instead of fixed calc)
- Reduced padding and spacing throughout (p-4 sm:p-6, gap-4 sm:gap-6)
- Made question display more compact on mobile:
- Smaller font sizes (text-xl sm:text-2xl)
- Reduced padding (p-4 sm:p-6)
- Smaller badges and tags
- Flex-wrap for tags on mobile
- Made code editor more mobile-friendly:
- Smaller min-height on mobile (300px vs 400px)
- Smaller font size on mobile (12px vs 14px)
- Hide line numbers on very small screens
- Smaller toolbar buttons and icons
- Made Interview Helper button more compact on mobile (shows 'Helper' instead of full text)
- Reduced container padding on mobile (px-3 sm:px-4)
- All responsive breakpoints use sm: (640px) for better mobile experience
Make interview helper movable window with instructor role
Mahdi Naser Moghadasi
908c83d
- Changed from embedded panel to floating movable window (react-rnd)
- Initial position set below hints section (left side, ~30% from top)
- Opens even when Run is clicked with no code - helps explain problem
- Changed role from 'pair programmer' to 'instructor'
- Updated system prompt to be instructional, helping interviewee understand and solve
- Updated greeting to reflect instructor role
- If no code, automatically explains the problem and suggests approach
- Moved interview helper from page.tsx into QuestionDisplay component
- Positioned it below the hints section as requested
- Ensured only one instance is rendered
- Passed necessary props (isAIHelperOpen, userCode, failedTestCases) to QuestionDisplay
Remove 'Attempted' status indicator from question display
Mahdi Naser Moghadasi
4b13e8e
- Status indicator now only shows for 'Solved' problems
- 'Attempted' and 'Not Started' statuses are hidden
- Cleaner UI - only shows positive status (Solved)
- Difficulty and topic tags remain visible
Add session-based progress tracking system
Mahdi Naser Moghadasi
401b1f5
- Created progress tracking utility with localStorage persistence
- Track problem status: solved, attempted, not_started
- Added ProgressStats component showing overall and category progress
- Added session statistics: solved today, attempted today, current streak
- Added visual progress indicators in question selector
- Added status badges to question display (solved/attempted/not started)
- Auto-track progress when problems are solved or attempted
- Progress persists across browser sessions
- Category progress shown when topic/difficulty selected
- Real-time progress updates
Add CodePractice AI application with Docker support