System Status
Real-time platform status and latest updates
Changelog
Track all platform updates, features, and improvements
v1.1.0
MINORYouTube Video Integration
Highlights
New Features
YouTube Video Embeds
Replaced Cloudinary video uploads with YouTube URL embeds. Store owners can now paste YouTube URLs to showcase product demos with no file size limits, better performance, and zero hosting costs. Uses privacy-enhanced youtube-nocookie.com domain for GDPR compliance.
Video URL Utilities
Created comprehensive video-utils library with YouTube ID extraction, URL validation, embed URL building, and thumbnail generation. Supports all YouTube URL formats (watch?v=, youtu.be, embed, shorts, etc.) with XSS prevention.
Database Schema Updates
Added YouTube video support to product schema with new columns: video_type, youtube_url, youtube_id, video_file_url. Includes validation constraints, indexes, and backward compatibility with existing Cloudinary videos.
Improvements
Real-time Video Preview
Product forms now show instant video preview when valid YouTube URL is entered, with green checkmark for success and amber warning for invalid URLs. Enhances UX with immediate feedback.
Type Safety & Validation
Added Zod schemas for YouTube URL validation with server-side extraction and client-side instant feedback. Validates 11-character video ID format and all YouTube URL variations.
Removed Cloudinary Video Code
Cleaned up unused Cloudinary video upload handlers, state management, and UI components. Simplified codebase by removing 200+ lines of video upload logic.
API Routes Updated
POST /api/store/products and PATCH /api/store/products/[productId] now accept youtube_url and youtube_id fields with automatic video ID extraction and video_type management. Server-side validation ensures data integrity.
Build & Test Verification
Zero TypeScript errors in production build. Clean compilation with exit code 0. All 39 unit tests passing for video-utils library. ESLint compliant with no YouTube-related warnings.
Product Page YouTube Video Display (Phase 9 - Critical Fix)
Fixed missing YouTube video display on customer-facing product pages. YouTube videos now render dynamically under the image gallery with 'Product Demo' heading. Updated Product interface with YouTube fields (video_type, youtube_url, youtube_id, video_file_url) and added conditional rendering logic. Customers can now view product demo videos on the public product page.
Product Page Media Gallery Enhancement
Separated image gallery and video sections into professional, independent components. Image gallery features navigation arrows, clickable dot indicators, image counter badge, thumbnail grid with active state highlighting, and smooth fade transitions. Video section uses elegant gradient divider with 'Product Demo' label. Changed image aspect ratio to aspect-video with max-height constraint for more compact display.
YouTube Playlists Support Documentation (Phase 10)
Created comprehensive seller documentation for using YouTube playlists to display unlimited videos per product with zero code changes. Includes step-by-step guides, best practices, troubleshooting, SEO optimization, and advanced tips. Playlists provide professional video carousel UI, auto-play functionality, and unlimited videos without tier restrictions or database schema changes.
Bug Fixes
Product Creation PGRST204 Error (Critical)
Fixed 500 Internal Server Error when creating products. Error: 'Could not find the videos column of store_products in the schema cache'. Root cause: API route was attempting to insert legacy 'videos' field which doesn't exist in database schema. Solution: Added destructuring to explicitly exclude 'videos' field from database insertion while preserving YouTube video fields (video_type, youtube_url, youtube_id).
v1.0.0
MAJORPlatform Launch
Highlights
New Features
AI Chatbot for Order Search
dfd7900Introduced intelligent chatbot widget that allows customers to search orders using natural language. Supports order ID lookup, date range queries, and product-specific searches with real-time streaming responses.
Custom Delete Confirmation Modal
dfd7900Built professional delete confirmation modal with gradient animations, custom scrollbar styling, and accessibility features. Replaces browser default dialogs for better UX.
Logger Modernization
dfd7900Replaced console methods with structured logger supporting multiple log levels (debug, info, warn, error) with timestamps and consistent formatting across the application.
Improvements
Security Enhancements
Addressed critical security vulnerabilities in dependencies with automated patches and version updates.
Documentation Reorganization
Restructured project documentation with clearer organization and updated .gitignore for better repository hygiene.
Git Workflow Automation
Added Claude Code slash commands for streamlined Git operations including branch creation, commit management, and PR workflows.
Bug Fixes
Build Configuration
dfd7900Fixed TypeScript strict mode errors and Next.js 15 build warnings for zero-error compilation.
Code Quality
Removed unused imports, variables, and addressed ESLint warnings across all components.