Changelog

Follow new updates and improvements to IdeaHarvester.

July 24th, 2025

πŸš€ Major Features

AI-Powered Feed System

  • Complete feed system implementation - New AI-analyzed content feed with confidence scoring

  • Database schema updates - Added feed_posts table with AI analysis fields (confidence_score, justification)

  • Advanced filtering and sorting - Implemented filtering by service types and sorting by relevance, popularity, and confidence

  • Pagination support - Added pagination for large datasets with configurable page sizes

New Components

  • Confidence Score Component - Visual progress indicators for AI confidence levels

  • Enhanced RedditPostCard - Updated to display confidence scores and AI analysis

  • Improved IdeaListControls - Enhanced filtering controls with better UX

API Enhancements

  • New /api/feed endpoint - Complete feed API with filtering, sorting, and pagination

  • Updated saved posts functionality - Enhanced to work with new feed system

  • Database migrations - Added migrations for feed_posts table and AI fields

UI/UX Improvements

  • Feed page layout - Advanced filtering and layout options

  • Navigation updates - Added feed section to main navigation

  • Enhanced filtering controls - Improved user experience for content discovery

  • Visual confidence indicators - Progress bars and visual cues for AI confidence levels

Database Changes

  • New feed_posts table - Stores AI-analyzed content with confidence scoring

  • Enhanced saved_posts table - Added AI analysis fields

  • Migration files - Comprehensive database schema updates


July 19th, 2025

Added

  • Built-in Audiences: Refined and added more relevant Subreddits to existing built-in audiences. New pre-configured audience for popular SaaS niches. Refined and added more relevant Subreddits to existing built-in audiences.

    • Healthcare Professionals

    • Digital Professionals & Creator Economy

    • Niche Entrepreneurs & Small Business

    • High-Intent Hobbyists & Prosumers

    • Sustainability-Focused Communities

  • Enhanced Analytics: Production-ready PostHog analytics system

    • Comprehensive user tracking with sign-up/sign-in distinction

    • 100% error tracking coverage with full context

    • Race condition fixes for perfect data integrity

    • Production hardening with crash prevention and error handling

Fixed

  • Random Logouts: Resolved authentication stability issues

    • Fixed session management and token refresh logic

    • Improved error handling in authentication flows

    • Enhanced user session persistence across browser sessions

  • Analytics Issues: Fixed PostHog implementation problems

    • Eliminated random user IDs in analytics dashboard

    • Fixed orphaned server events without user context

    • Resolved race condition between pageview tracking and user identification

    • Fixed provider structure to properly wrap application with PostHog context

  • Minor Bug Fixes:

    • Fixed search form validation and error handling

    • Improved error boundary component stability

    • Enhanced mobile responsiveness for audience management

    • Fixed data loading states and user feedback

    • Resolved edge cases in user profile management

Improved

  • User Experience: Enhanced overall application stability and performance

  • Error Handling: More robust error tracking and user feedback

  • Data Integrity: Perfect analytics data with no fragmentation

  • Authentication Flow: Smoother login/logout experience

  • Mobile Experience: Better responsive design and touch interactions

Technical Improvements

  • Analytics Architecture: Enterprise-grade PostHog implementation

    • Server-side PostHog with user context extraction

    • Client-side analytics with proper provider structure

    • Comprehensive error tracking with full context

    • Production hardening with graceful degradation

  • Authentication System: More reliable session management

  • Error Boundaries: Better crash prevention and recovery

  • API Routes: Enhanced error handling and user context

July 17th, 2025

Fix(auth): migrate to modern Supabase SSR cookie/session methods, resolve all auth/session issues that could lead to random logouts.

  • Migrated all API/auth/middleware to use Supabase SSR getAll/setAll cookie methods

  • Ensured secure cookie options (httpOnly, secure, sameSite, path) everywhere

  • Fixed PKCE OAuth flow: code_verifier cookie is now reliably stored/retrieved

  • Magic link login bug fixed (no longer requires unused 'type' field)

  • Default redirect to /dashboard after login if no next param

  • Removed all legacy/unused Supabase client code

  • No deprecated cookie methods or TODOs remain

  • Codebase is now robust, secure, and production-ready for authentication

BREAKING CHANGE: Legacy Supabase client/server utils removed, all routes must use new SSR cookie API

July 16th, 2025

New

✨ New Features

🌟 Star PRD Functionality

  • Star/Unstar PRDs: Users can now star their favorite PRDs for quick access

    • Added starred field to PRD data models (Prd and PrdDetail interfaces)

    • New PATCH API endpoint (/api/prd/[id]) to handle starring/unstarring operations

    • Star filtering in the PRD list controls for easy access to favorites

    • Visual star indicators in the PRD interface

🏷️ Advanced Status Management

  • Predefined Status Tags: Added comprehensive status system with 7 predefined statuses:

    • Draft - Initial development phase

    • Review - Under review phase

    • Active - Currently active projects

    • Completed - Finished projects

    • On Hold - Temporarily paused

    • Cancelled - Discontinued projects

    • Archived - Archived for reference

  • Custom Status Support: Users can create and assign custom status tags

    • Any non-empty string can be used as a custom status

    • Consistent color generation for custom statuses using text hashing

    • Status validation with proper error handling

  • Status Filtering: Filter PRDs by status in the list view

  • Color-Coded Status Badges: Visual status indicators with theme-consistent colors

πŸ“‹ Enhanced PRD List Controls

  • Comprehensive Filtering System: New PrdListControls component with multiple filter options:

    • Filter by niche categories

    • Filter by product types

    • Filter by status (including custom statuses)

    • Filter by starred/unstarred PRDs

  • Layout Toggle: Switch between grid and list view layouts

  • Filter Statistics: Real-time count of filtered results

  • Mobile-Responsive: Expandable filter section for mobile devices

  • Clear Filter Options: Easy removal of individual or all filters

πŸ”§ Technical Improvements

πŸ› οΈ API Enhancements

  • New PATCH Method: Added apiPatch function to API client for partial updates

  • Enhanced PRD API: Updated /api/prd/[id] route with PATCH support for:

    • Starring/unstarring PRDs

    • Status updates with validation

    • Atomic updates for specific fields

  • Improved Error Handling: Better validation and error messages for API operations

🎨 UI/UX Components

  • Status Dropdown Component: New reusable status-dropdown.tsx component

    • Consistent status formatting with formatStatusLabel function

    • Color generation system for custom statuses

    • Predefined status constants and types

  • Enhanced PRD Dashboard: Improved layout and functionality for PRD management

    • Better organization of PRD information

    • Improved filtering and sorting capabilities

    • Enhanced mobile responsiveness

πŸ“± Interface Updates

  • Dashboard Navigation: Updated sidebar navigation with improved organization

  • Profile Page: Enhanced user profile interface

  • Saved Posts: Improved saved posts management interface

  • Auth Provider: Updated authentication handling

πŸ”„ Data Model Changes

πŸ“Š Type Definitions

  • Extended PRD Types: Added starred field to both Prd and PrdDetail interfaces

  • Type Safety: Maintained full TypeScript type safety throughout the application

  • Backward Compatibility: Changes are backward compatible with existing data

πŸ› Bug Fixes

  • API Route Improvements: Enhanced error handling in PRD API routes

  • Status Validation: Proper validation for status updates preventing empty statuses

  • Auth Integration: Improved authentication flow in various components

πŸ“ˆ Performance

  • Efficient Filtering: Optimized filtering logic in PRD list controls

  • Consistent Color Generation: Efficient hash-based color generation for custom statuses

  • Responsive Design: Improved performance on mobile devices


Development Notes

  • 14 files changed: 1,059 insertions, 106 deletions

  • 3 new components: PrdListControls, status-dropdown, and enhanced API client

  • Commit Hash: 81ee473

  • Previous Version: 4587d95

Migration Notes

  • No breaking changes - all updates are backward compatible

  • Existing PRDs will have starred: null by default

  • Custom statuses will automatically get assigned colors based on their text content