Bicrypto 5.4.9
1 September 2025
IMAGE UPLOADSAFFILIATE ADMINPUBLIC ACCESSNAVIGATION FIXESVALIDATION IMPROVEMENTSERROR HANDLINGLOGO UPLOADSADMIN UX
Version 5.4.9
Release Date: September 1, 2025
Tags: IMAGE UPLOADS, AFFILIATE ADMIN, PUBLIC ACCESS, NAVIGATION FIXES, VALIDATION IMPROVEMENTS, ERROR HANDLING, LOGO UPLOADS, ADMIN UX
Changed
File Organization
- Image Directories: Better organized upload directories with meaningful names (e.g.,
depositMethodsinstead ofdepositCompound) - Directory Structure: Standardized naming conventions for upload folders across different features
- Path Mapping: Implemented centralized directory mapping for consistent upload paths
Navigation Consistency
- Routing Consistency: Admin pages now navigate consistently and keep the active language in the URL
- Menu Keys: Fixed menu item keys to properly match their corresponding features
- Icon Updates: Updated menu icons to better represent their functions (e.g., trophy icon for Rewards)
User Accessibility
- Public Pages: Improved accessibility for public-facing pages by removing unnecessary authentication barriers
- Progressive Enhancement: Implemented progressive access where viewing is public but actions require authentication
- Error Prevention: Prevented confusing KYC requirement messages for non-authenticated visitors
Cron Management Interface
- Grid Layout: Updated cron job grid to maximum 3 columns instead of 4 for better detail visibility
- Card Spacing: Enhanced card spacing and responsive breakpoints for optimal viewing
- Health Dashboard: Redesigned the cron health panel with enhanced statistics and a mobile-friendly layout
- Real-time Status: Added comprehensive real-time status tracking with visual indicators
- Success Metrics: Integrated success rate calculations and execution time tracking
Binary Trading Interface
- Sidebar UX: Improved Active Positions sidebar with intelligent collapse behavior
- Visual Polish: Enhanced sidebar animations and transitions for smoother user experience
- Space Optimization: Better space utilization when sidebar is collapsed for maximum chart viewing area
Mobile Responsiveness
- Admin Cron Page: Complete mobile optimization with touch-friendly interfaces
- Responsive Typography: Implemented responsive text sizing across all admin components
- Touch Interactions: Enhanced touch targets and mobile navigation patterns
- Tablet Optimization: Improved layouts for tablet devices with balanced column distributions
Wallet Management
- Error Recovery: Enhanced wallet connection error handling with user-friendly messages
- State Management: Improved wallet state synchronization across components
- Connection Reliability: Better handling of wallet initialization and connection failures
Admin User Experience
- Form Validation: Transaction edit forms now show real-time field-specific validation errors
- Error Clarity: Replaced confusing validation JSON with clear, actionable error messages
- Visual Feedback: Added consistent error styling with red borders and error text for failed fields
- Field Labels: Enhanced form labels with proper descriptions and required field indicators
- Help Text: Added contextual help text for complex fields like Reference ID requirements
Error Handling Architecture
- Backend Validation: Improved validation error structure to support field-specific error messages
- Frontend Processing: Enhanced frontend error parsing to handle both legacy and new error formats
- Debug Logging: Added comprehensive debug logging for easier troubleshooting of validation issues
- Error Propagation: Improved error propagation from backend validation to frontend display
Developer Experience
- Schema Documentation: Added detailed field descriptions and constraints to the API documentation
- Error Tracing: Enhanced error logging with detailed context information
- Code Organization: Separated deposit-specific validation into its own place
- Type Safety: Improved type definitions for validation error handling
System Reliability
- Logo Processing: More robust image processing with better error handling and recovery
- File Validation: Enhanced file type and size validation with clear error messages
- Path Resolution: Improved file path resolution with multiple fallback options for production environments
- Debug Information: Added detailed logging for troubleshooting upload and validation issues
Fixed
Deposit Method Image Management
- Upload Directory: Fixed deposit method images being uploaded to incorrect directory (
/uploads/depositCompound/instead of/uploads/depositMethods/) - Directory Mapping: Implemented proper directory name mapping for compound columns to use meaningful folder names
- Image Storage: Created dedicated
depositMethodsdirectory for better organization of deposit method images - Backward Compatibility: Migrated existing images from old directory structure to maintain functionality
- Upload Consistency: Both the table drawer and the manual dialog now upload to the same directory
Affiliate Admin Navigation
- Menu Structure: Fixed missing "Rewards" menu item in affiliate admin layout
- Broken Links: Corrected incorrect paths in dashboard (
/admin/affiliate/conditions→/admin/affiliate/condition) - Menu Items: Added proper menu structure with Dashboard, Referrals, Conditions, Rewards, and Settings
- Path Consistency: Ensured all affiliate admin pages use correct routing paths
- Locale Handling: Verified every affiliate admin page keeps the active language in its links
Trade Page Public Access
- KYC Requirements: Removed unnecessary KYC verification for visitors viewing the trade page
- Public Accessibility: Trade page now allows visitors to view trading interface without login
- User Experience: Visitors can explore charts and market data without authentication barriers
- Selective Verification: KYC checks now only apply to logged-in users attempting to place trades
- Market Transparency: Enhanced platform transparency by making trading data publicly viewable
Binary Trading Guide Icon
- Guide Icon Removal: Temporarily removed the guide icon from binary trading page header as requested
- Clean Interface: Removed the guide dialog for a streamlined trading interface
The wallet tab of the user profile crashed on load
- Wallet Tab Crash: Fixed the wallet tab of the user profile crashing on load
- Initialization: Wallet configuration now falls back to safe values while the connection is still starting up
- Error Handling: Added comprehensive error boundaries and null checking for wallet operations
- Connection Safety: Improved wallet connection handling with proper error states and recovery
Binary Trading Sidebar Responsiveness
- Collapsed State: Fixed left sidebar Active Positions to show only icon when collapsed instead of full title text
- Responsive Width: Sidebar now properly resizes from 320px (expanded) to 64px (collapsed)
- Icon Display: When collapsed, shows a centered chart icon with position count below
- Smooth Transitions: Added 200ms transitions for all sidebar state changes
Admin System Cron Page Responsiveness
- Mobile Layout: Completely redesigned cron management page for mobile and tablet devices
- Responsive Grid: Improved the card grid with better breakpoints
- Timeline Visibility: Hidden timeline component on mobile to reduce clutter while maintaining functionality on desktop
- Header Layout: Changed header from side-by-side to stacked layout on mobile devices
- List View: Added dual-layout system with desktop table and mobile card-style views
- Search Bar: Made search bar full-width on mobile, constrained on desktop
Cron Job Status Management (Critical Fix)
- Idle Status Issue: Fixed critical bug where all cron jobs permanently showed as "idle" despite executing correctly
- Status Synchronization: Job status is now updated at each stage of a run
- Real-time Updates: Live status broadcasts now match the job's actual state
- Execution History: Added execution history tracking with last 10 runs and success rates
- Progress Tracking: Implemented proper progress updates during job execution
- Manual Triggering: Added the ability to run a cron job on demand for testing
Admin Deposit Transaction Validation
- Field-Specific Errors: Replaced generic validation messages with specific field-level error descriptions
- User-Friendly Messages: Transformed technical JSON error responses into readable error text (e.g., "Reference Id must be at least 1 characters long")
- Required Field Indication: Added clear visual indicators (*) for required fields in transaction forms
- Conditional Validation: Reference ID is now required when a transaction's status is set to "COMPLETED"
- Error Display: Added red borders and inline error messages for invalid form fields
- Deposit Validation: Deposit transactions now have their own validation rules
Logo Upload System
- Dark Logo Upload: Fixed Dark Logo (96x96px) upload failures in admin system settings
- PNG Processing: Corrected the PNG compression settings that made these uploads fail
- Error Diagnostics: Enhanced error logging for logo upload failures
- Upload Feedback: Improved error messages to specify which logo type failed during upload
- File Processing: Added comprehensive validation and error handling throughout the logo upload pipeline
Request Validation Framework
- Schema Validation: Request validation now returns user-friendly error messages instead of technical JSON dumps
- Error Parsing: Improved error message parsing to extract meaningful validation details from backend responses
- Field Mapping: Added intelligent field name detection for better error message contextualization
- Custom Validation: Extended the validation framework so forms can highlight the specific field at fault