Overview
SkillRise AI is an intelligent learning assistant that helps students understand concepts, debug code, and get personalized explanations. Accessible from/ai-chat, the AI assistant provides contextual help throughout your learning journey.
Chat Interface
The AI chat page features a modern messaging interface designed for educational conversations:
Layout Components
History Sidebar
- Previous chat sessions
- Organized by date
- Quick access to past conversations
- Desktop: Always visible
- Mobile: Drawer overlay
Chat Area
- Message history with alternating bubbles
- Real-time typing indicator
- Auto-scrolling to latest message
- Markdown-rendered responses
Input Section
- Auto-expanding textarea
- Send button (enabled when text present)
- Keyboard shortcuts (Shift+Enter)
- “Shift+Enter for new line” hint
Empty State
- “How can I help you?” greeting
- Suggested use cases
- Welcoming sparkle icon
- Clean, centered layout
Chat History Sidebar
Desktop Sidebar
On larger screens, the history sidebar is permanently visible:Mobile Drawer
On mobile, history opens as an overlay drawer:Chat History Items
Each previous conversation shows:- First user message - Truncated to one line
- Last updated date - Formatted “DD MMM YYYY”
- Active state - Teal background when selected
- Delete button - Trash icon, appears on hover
Delete confirmation:
Conversation Flow
Starting a New Chat
Click ”+ New Chat” button:Sending a Message
Message Display
Messages alternate between user and AI with distinct styling:- User Messages
- AI Messages
- Right-aligned with reverse flex
- Teal background, white text
- Slate avatar icon
- Max width 75%
AI Capabilities
What Students Can Ask
Concept Explanations
Concept Explanations
Example Prompts:
- “Explain JavaScript closures in simple terms”
- “What’s the difference between SQL and NoSQL?”
- “How do HTTP requests work?”
Code Help
Code Help
Example Prompts:
- “Why is my Python function returning None?”
- Paste code block + “What’s wrong with this code?”
- “How do I add authentication to my React app?”
Course-Related Questions
Course-Related Questions
Learning Strategy
Learning Strategy
Example Prompts:
- “How should I study for web development?”
- “What topics should I learn after JavaScript?”
- “Can you create a learning plan for data science?”
Markdown Rendering
AI responses support rich Markdown formatting:Supported Elements
Code Syntax Highlighting
Code blocks automatically detect language and apply syntax highlighting:
Typing Indicator
While AI is generating a response, an animated indicator appears:Error Handling
When AI requests fail, a fallback message displays:Session Management
Session Creation
Sessions are created automatically on first message:Session Persistence
All messages in a session are saved to the database:- Reload page → Conversations persist
- Switch devices → Access from chat history
- Close browser → Resume later
Loading Previous Sessions
Click any chat in history to load it:Mobile Experience
Mobile Toolbar
Replaces desktop sidebar with compact controls:Touch Optimizations
- Larger touch targets - Buttons 44px minimum
- Swipe to dismiss - Drawer closes on swipe left
- Keyboard handling - Input doesn’t hide behind virtual keyboard
- Scroll behavior - Auto-scroll accounts for keyboard height
Performance Features
Auto-scroll
Auto-scroll
Messages scroll into view automatically:
Auto-expanding Textarea
Auto-expanding Textarea
Input grows with content up to 120px:
Optimistic Updates
Optimistic Updates
User messages appear immediately while API call processes in background.
Lazy History Loading
Lazy History Loading
Chat history only loads previous chats on mount, not individual messages until selected.
Best Practices
Privacy & Security
All chat conversations are private and only visible to you. SkillRise AI does not share your conversations with other users or use them for marketing purposes.
- Messages stored in your user account
- Session IDs link conversations
- No conversation history shared between users
- Delete functionality permanently removes messages
Related Features
- Learning Experience - Main video player
- Progress Tracking - View your courses
- Roadmap Generator - AI-powered learning paths