Essential Features Cookbook
Master every essential feature with step-by-step recipes
Last updated 7 months ago
π― Overview
This cookbook provides practical "recipes" for using Kolega Studio's essential features. Each recipe includes what it does, when to use it, exact steps, and best practices for thread management.
π Publishing Your Application
Recipe: Deploy to Live URL
What it does: Takes your development app live on the internet
When to use: After thorough testing, when ready to share
Result: Live URL at https://[your-unique-project-id].kolegaapps.com
Quick Publish (Current Version)
Test thoroughly in Preview tab
Click green "Publish" button (top bar)
Wait for deployment (10-15 minutes)
Receive notification when complete
Access your live URL
Advanced Publishing (Specific Version)
Go to Project Settings tab (βοΈ)
Navigate to "Revisions" section
View all GitLab commits
Select specific version to publish
Click "Publish" for that version
Wait for notification
Behind the scenes:
Code optimized for production
Frontend and backend deployed
SSL certificate configured automatically
Professional subdomain assigned
GitLab commit created
π Environment Variables
Recipe: Add Secret API Keys
What it does: Securely stores sensitive configuration
When to use: API keys, secrets, tokens
Security: Values encrypted (shown as β’β’β’β’β’β’β’)
Steps
Click βοΈ Project Settings tab
Find "Environment Variables" section
Click "Add Variable"
Enter variable name (e.g.,
STRIPE_API_KEY)Enter value (e.g.,
sk_live_abc123...)Click "Save"
CRITICAL: Reset sandbox immediately
Pre-configured Variables
DATABASE_NAME- MongoDB database identifierMONGODB_URI- Connection string (encrypted)
Common Variables to Add
EMAIL_API_KEY=your_sendgrid_key STRIPE_SECRET_KEY=sk_live_your_key JWT_SECRET=your_secret_token OPENAI_API_KEY=sk-your_key β οΈ Important: Always restart sandbox after adding/updating environment variables
π File Uploads & Assets
Recipe: Add Images and Files
What it does: Uploads project-wide assets
When to use: Logos, images, PDFs, data files
Limits: 50MB per file, any file type
Scope: Available across ALL threads
Steps
Click π Project Files tab
Drag and drop files OR click "Browse"
Wait for upload completion
See file count update
Using Uploaded Files
Refer to project files when you want them to be used in a Chat/Thread conversation
Thread-Specific vs Project Files
Thread uploads (chat window): Only for that thread
Project Files (tab): Available everywhere
Use Project Files for all permanent assets
π§΅ Thread Management
Recipe: Optimize outcomes with Threads
What it does: Manages context windows efficiently
When to use: Always - for every project
Result: Better and more predictable outcomes
Creating Thread Strategy
Planning Thread: Implementation plan
Feature Threads: One per major feature
Testing Thread: Quality assurance
Polish Thread: UI refinements
Bug Fix Threads: Separate for complex issues
When to Start New Thread
Context window warning appears
Starting new feature/phase
After completing major milestone
Different type of work (coding vs testing)
Thread reaches 80% capacity
Bridging Thread Context
Starting new thread:
"Previous work complete: [summary from last thread] Continuing with Phase X of implementation_plan.md [Brief context of what's needed]" π± Responsive Design Testing
Recipe: Test Mobile and Desktop Views
What it does: Preview on different screen sizes
When to use: Throughout development
Available modes: Mobile (π±) and Desktop (π₯)
Steps
In Preview tab, locate top toolbar
Click π± for mobile view:
Narrow viewport
Touch simulation
Mobile layout
Click π₯ for desktop view:
Full width
Desktop interactions
Standard layout
Testing Checklist
[ ] Navigation works on mobile
[ ] Text readable on small screens
[ ] Buttons tap-friendly (44px minimum)
[ ] Forms usable on all sizes
[ ] Images scale appropriately
[ ] No horizontal scroll on mobile
π Sandbox Management
Recipe: Restart Development Environment
What it does: Refreshes workspace, clears cache
When to use: After env variables, when stuck
Visual indicator: Green/Yellow/Red orb
Steps
Check status orb (top bar, near project name)
Click orb to see status
Click "π Reset Sandbox" (red text)
Watch status: Green β Yellow β Loading β Green
Wait for "Sandbox is running" (10-30 seconds)
When to Restart
Required: After environment variable changes
Preview stops updating
Backend shows disconnected
Clear cached data
Major configuration changes
Agent recommendations
What's Preserved
All code and files
Database data
Environment variables
Project settings
GitLab commits
π Working with Dark/Light Mode
Recipe: Theme Switching
What it does: Changes entire interface theme
When to use: Based on preference/lighting
Persistence: Saved automatically
Steps
Locate moon/sun icon (top right)
Click π for dark mode
Click βοΈ for light mode
Changes apply instantly
What Changes
Background colors
Text contrast
Panel themes
Code syntax highlighting
All UI elements
π Managing Notifications
Recipe: Stay Updated on Activity
What it does: Shows project/system updates
When to use: Check regularly
Visual cue: Red badge with count
Steps
Click bell icon (top bar)
Review notifications:
Project creation
Deployment status
Domain purchases
System updates
Toggle "All"/"Unread" tabs
Click "Mark all read"
π Reporting Issues
Recipe: Submit Bug Reports
What it does: Direct feedback to Kolega team
When to use: Bugs or feature requests
Includes: Optional file attachments
Steps
Click π bug icon
Select issue type:
Bug/Error
Feature Request
Other feedback
Provide details:
What you expected
What happened
Steps to reproduce
Attach files (optional):
Max 5 files
10MB each
Screenshots helpful
Submit for tracking ID
Good Bug Report Example
Title: Preview not updating after code changes Steps:
1. Made change to App.tsx
2. Saved file
3. Preview didn't refresh Expected: Automatic update Actual: Manual refresh needed [Attached: screenshot.png] πΎ Version Control & Backup
Recipe: GitLab Integration
What it does: Automatic version control
When to use: Happens automatically
Access: Project Settings β Revisions
Automatic Features
Commits on every significant change
Complete history maintained
Can restore any version
Branch management (Pro tier)
Download Project ZIP
Open βοΈ Project Settings
Navigate to "Revisions"
Click "π₯ Download ZIP"
Save to computer
Contains all code and config
GitHub Integration (Pro Tier)
Account β Integrations
Add GitHub credentials
Connect existing repositories
Push/pull from Kolega Studio
π₯ Using Dev Tools
Recipe: Preview Terminal Commands
What it does: Showβs execution of agent Command-line interactions
When to use: Debugging, Testing
Recipe: Monitor System Logs
What it does: Shows system activity
When to use: Debugging, monitoring
Location: Dev Tools β System Logs
Understanding Logs
[INFO] - Normal operations
[SUCCESS] - Completed actions
[ERROR] - Problems needing attention
[WARNING] - Potential issues π± Mobile App Development (Pro Tier)
Recipe: Setup Expo Go
What it does: Enables React Native development
Prerequisites: Pro tier subscription
βPublishing Apps in the App Store / Google Play
In order to publish your app to the App Store/Google Play Store you will need to register for a developer account with Apple and/or Google/
One-Time Setup
Create free Expo account
Generate Access Token
Account β Integrations β Add Expo token
Download Expo Go on phone
Select "Mobile App" template for new projects
Development Workflow
Build in Kolega Studio
QR code appears in Preview
Scan with phone camera
App opens in Expo Go
Test on real device
Shake phone for Expo menu
β‘ Quick Feature Reference
π¨ Common Issues & Solutions
π‘ Pro Tips Collection
Credit Efficiency
Always use threads to keep context small
Upload assets once to Project Files
Set environment variables before coding
Plan before coding
Test before requesting changes
Development Speed
Plan before you build
Use agent summaries for context
Reference .md plans by name consistently
Monitor logs while building
Use browser agent for testing
Quality Assurance
Test after each phase
Check database before assuming issues
Verify environment variables loaded
Use investigation agent for code review
Mark completed tasks in plan
Remember: Mastering these features, especially thread management and planning, is key to successful and efficient development in Kolega Studio.