DreamPro System Plan
Overview
DreamPro is a service integrated into HiveJournal that helps users pursue their dreams by breaking down large goals into actionable steps. It integrates with WorkoutWindow, Encouragement Drops, and the Stream to provide a comprehensive goal-achievement system.
Core Features
1. Dream Management
- Users can create and manage their "dreams" (large goals)
- Examples: Writing a novel, getting into college, finishing PhD, starting a garden, starting a business
- Dreams have:
- Title and description
- Category/tags
- Target completion date (optional)
- Status (active, paused, completed, abandoned)
- Visibility (private, public, team)
2. Step Breakdown
- Dreams are broken down into actionable steps
- Steps have:
- Title and description
- Order/sequence
- Estimated time/complexity
- Status (not started, in progress, completed, blocked)
- Dependencies (other steps that must be completed first)
- "Next step" indicator
3. Integration with WorkoutWindow
- Steps can be added as WorkoutWindow tasks
- Daily commitment to work on dream
- Track progress through workout window check-ins
4. Integration with Encouragement Drops
- Coaches and peers can send encouragement drops for dream progress
- Special "dream encouragement" drop type
- Badge progression for helping others achieve dreams
5. Stream Integration
- Dreams visible in Stream (if public)
- Progress updates appear in Stream
- Step completions celebrated in Stream
6. Action Button Integration
- Quick access to "next step" from action button
- Add next step as action note
- Track dream progress through actions
Coach System (Future)
Coach Certification
- Users with high encouragement badge levels can become certified coaches
- Coaches can specialize in specific dream categories
- Coaches who have achieved similar goals become "mentors"
Coaching Features
- Coaches can:
- Review and provide feedback on step breakdowns
- Suggest improvements to action plans
- Send specialized encouragement drops
- Track progress of their "dreamers"
- Paid coaching system (future)
Database Schema
Tables
- dreams: User dreams/goals
- dream_steps: Actionable steps for each dream
- dream_progress: Progress tracking and milestones
- dream_coaches: Coach assignments and relationships
- dream_encouragements: Special encouragement drops for dreams
- dream_categories: Predefined dream categories
API Endpoints
Dreams
GET /api/dreampro/dreams- Get user's dreamsPOST /api/dreampro/dreams- Create new dreamPUT /api/dreampro/dreams/:id- Update dreamDELETE /api/dreampro/dreams/:id- Delete dreamGET /api/dreampro/dreams/:id- Get dream details
Steps
GET /api/dreampro/dreams/:id/steps- Get steps for dreamPOST /api/dreampro/dreams/:id/steps- Add stepPUT /api/dreampro/steps/:id- Update stepDELETE /api/dreampro/steps/:id- Delete stepPOST /api/dreampro/steps/:id/complete- Mark step completeGET /api/dreampro/dreams/:id/next-step- Get next step
Integration
POST /api/dreampro/steps/:id/add-to-workout-window- Add step as workout taskPOST /api/dreampro/steps/:id/add-as-action- Add step as action notePOST /api/dreampro/dreams/:id/send-encouragement- Send encouragement drop
Coaches (Future)
GET /api/dreampro/coaches- Get available coachesPOST /api/dreampro/dreams/:id/assign-coach- Assign coachGET /api/dreampro/coaches/:id/dreamers- Get coach's dreamers
UI Components
Dream Management
- Dream creation/edit form
- Dream list view
- Dream detail view with steps
- Progress visualization
Step Management
- Step breakdown interface
- Step reordering
- Dependency management
- Next step indicator
Integration Points
- Action button: Quick access to next step
- Stream: Dream cards and progress updates
- WorkoutWindow: Add step as task
- Drops: Send dream encouragement
Implementation Phases
Phase 1: Core Dream System
- Database schema
- Basic CRUD for dreams and steps
- Step breakdown logic
- Integration with Action button
Phase 2: Stream Integration
- Display dreams in Stream
- Progress updates
- Step completion celebrations
Phase 3: WorkoutWindow Integration
- Add steps as workout tasks
- Track progress through check-ins
Phase 4: Drops Integration
- Dream-specific encouragement drops
- Badge progression for dream help
Phase 5: Coach System
- Coach certification
- Coach assignment
- Coaching features