14 Commits

Author SHA1 Message Date
tuan.cna
b6be6c9ec7 � Complete Create Project Form with Beautiful UI & Loading Components
 Major Features Added:
- Complete Create New Project form with full validation
- Beautiful LoadingButton component with animations
- Enhanced loading components with multiple styles
- Professional form styling with dark mode support

� Create Project Form Features:
- Project Information: Name, Client, Description (required)
- Project Settings: Category, Priority, Status with color badges
- Timeline & Budget: Date pickers with validation, Budget input
- Team Assignment: Multi-select for managers and team members
- Form validation with real-time error display
- Responsive design for all screen sizes

� Loading Components:
- LoadingButton: Customizable button with loading states
- EnhancedLoader: Multiple loading animation styles
- Smooth transitions and professional animations
- Size variants: small, medium, large
- Color variants: primary, secondary, success, etc.

� UI/UX Improvements:
- UserAvatar component with initials fallback
- Gradient backgrounds for avatars (#ff9f43 to #e8890a)
- Professional form sections with icons
- Consistent 42px height for all form controls
- Beautiful hover effects and transitions
- Optimized button sizes (40px height)

� Dark Mode Support:
- Complete dark theme for all new components
- Form backgrounds: #1d1d42
- Proper contrast ratios for accessibility
- Smooth theme transitions

� Technical Features:
- Route /create-project added to router
- Form state management with React hooks
- Date validation (end date after start date)
- Multi-select with avatar display
- Error handling and user feedback
- Clean component architecture

� Ready for Production:
- All ESLint warnings fixed
- Responsive design tested
- Loading states implemented
- Form validation complete
- Dark mode fully supported
2025-05-29 17:29:00 +07:00
tuan.cna
a28fcc99ae Enhance Project Tracker Date Picker & Dark Mode Support
� Features Added:
- Fixed date picker display issues in project tracker
- Added default date range (last 7 days to today)
- Implemented beautiful CSS styling for light mode
- Added comprehensive dark mode support
- Fixed CSS conflicts with form-control classes

� UI Improvements:
- Modern date picker with orange accent (#ff9f43)
- Smooth hover and focus effects
- Consistent 42px height for all controls
- Better spacing with gap-3 between filters
- Professional box shadows and border radius

� Dark Mode Features:
- Dark background (#1d1d42) for date picker
- Gray borders (#67748E) for better contrast
- White text for better readability
- Dark dropdown menus and calendar
- Automatic theme switching via Theme Customizer

� Technical Fixes:
- Removed CSS conflicts with Bootstrap
- Added proper state management for date range
- Used dayjs for date handling
- Fixed ESLint warnings
- Improved component performance
2025-05-29 16:21:19 +07:00
tuanOts
0b126aab3c Added Project Tracker & Enhanced Todo with Template Integration
� New Features:
-  Project Tracker page with full functionality
-  Professional project management interface
-  Template color integration for consistency
-  Enhanced Todo List with template styling

� Project Tracker Features:
-  8 realistic project entries with diverse data
-  Budget tracking and project categorization
-  Progress bars with color-coded completion levels
-  Manager assignment and priority indicators
-  Advanced filtering: Priority, Manager, Status, Date range
-  Professional project categories: Web Dev, Design, Backend, etc.

� Template Integration:
-  Consistent color scheme across both pages
-  Bootstrap template classes usage
-  Removed custom dark styling for template consistency
-  Professional card layouts and responsive design
-  Theme compatibility with Dark/Light mode switching

� Navigation & Routing:
-  Added Project Tracker to Application menu
-  Proper routing configuration
-  Clean URL structure: /project-tracker
-  Sidebar integration with proper navigation

� Professional Features:
-  Star favorites system
-  Edit/Delete actions with template styling
-  Pagination with template integration
-  Filter dropdowns with form-control classes
-  Progress tracking with visual indicators

Ready for production with unified design!
2025-05-29 01:36:47 +07:00
tuanOts
e5bbecbb22 Enhanced Product List with Advanced Features
� Major Features Added:
-  Advanced search functionality with dropdown filters
-  Brand dropdown search integration with API mapping
-  Theme integration (Dark/Light mode) for pagination
-  Custom pagination with beautiful styling and animations
-  Filter system: Product, Category, Sub Category, Brand, Price Range
-  Real-time search with debouncing
-  Professional UI with hover effects and transitions

� Technical Improvements:
-  Fixed API parameter mapping (Page, PageSize, SearchTerm, Brand)
-  Integrated with Theme Customizer for automatic theme switching
-  Clean code structure with proper state management
-  Responsive design with consistent styling
-  Performance optimized with efficient CSS and React patterns

� UI/UX Enhancements:
-  Beautiful pagination with gradient backgrounds and animations
-  Clean dropdown styling with proper spacing
-  Professional search interface with icons and visual feedback
-  Consistent theme integration across all components
-  Removed unnecessary custom frames for cleaner appearance

� Ready for production with full functionality and beautiful design!
2025-05-29 01:08:07 +07:00
tuanOts
b7031a8722 � Implement fully functional Row Per Page pagination
 Features Added:
- � Functional Row Per Page dropdown (10, 20, 50, 100)
- � Working page navigation with API integration
- � Real-time data fetching on page/size changes
- � Loading states with visual feedback
- � Beautiful circular pagination buttons (orange active state)
- � Hide all Ant Design default pagination elements
- � Dynamic total records display with search filtering
-  Smooth animations and hover effects

� Technical Improvements:
- State management for pageSize and currentPage
- API integration with fetchProducts action
- Loading states for dropdown and buttons
- Search term preservation across pagination
- Comprehensive CSS hiding for Ant pagination
- Custom pagination container protection
- Error handling and user feedback

� UI/UX Enhancements:
- Glass morphism design with shimmer effects
- Responsive layout matching reference image
- Professional dark theme with gradients
- Touch-friendly 32px circular buttons
- Disabled states with gray styling
- Smooth transitions and hover animations

� Perfect match to reference design with full functionality!
2025-05-28 23:37:31 +07:00
tuanOts
f75e524565 Add beautiful single-row pagination with total records
- � Beautiful gradient design with animations
- � Total records display with search filtering
- � Single-row layout with Ant Design pagination classes
- � Responsive compact design for all devices
-  Smooth hover animations and transitions
- � Ultra compact buttons and optimized spacing
- � Real-time search integration with debouncing
- � Glass morphism effects with shimmer animations
2025-05-25 23:58:48 +07:00
tuanOts
9687351177 update 2025-05-25 17:15:22 +07:00
tuanOts
6b6e2bbc8a Fix ESLint no-unused-vars error in index.js
- Remove unused base_path import from environment.jsx
- BrowserRouter already uses process.env.PUBLIC_URL directly
- Clean up unnecessary imports
2025-05-25 02:28:42 +07:00
tuanOts
1e9bab5d07 Fix ESLint configuration and parsing errors
- Fix .eslintrc.json format (remove comments and invalid JSON syntax)
- Simplify environment.jsx to fix parsing error
- Add proper ESLint rules for React project
- Enable react-hooks plugin and configure settings
2025-05-25 02:15:41 +07:00
tuanOts
37f11dc23a Fix asset paths and routing issues
- Fix asset paths from /react/templateassets/ to /react/assets/
- Fix missing slash in asset paths (/reactassets/ to /react/assets/)
- Update environment.jsx to ensure base_path always has trailing slash
- Fix BrowserRouter basename configuration
- Update Header.jsx exclusionArray paths
- Fix themeSettings and rightSidebar asset paths
2025-05-25 02:11:19 +07:00
tuanOts
a32097fb4a Merge remote changes and keep image path fixes
- Resolved conflicts in package.json, environment.jsx, and imagewithbasebath.jsx
- Kept our improved image path configuration (/react/assets/)
- Maintained enhanced ImageWithBasePath component with proper path handling
2025-05-25 01:07:09 +07:00
tuanOts
f851ff0fa5 Fix image paths: Change from /react/templateassets/ to /react/assets/
- Update package.json homepage from /react/template/ to /react/
- Update environment.jsx base_path to /react/ with proper fallback
- Enhance ImageWithBasePath component to handle path concatenation correctly
- Ensure proper slash handling between base_path and image src paths
2025-05-25 01:02:24 +07:00
tuanOts
c21aee3120 Initial commit of Dreams POS React template 2025-05-24 00:29:12 +07:00
tuanOts
3d34f67c3f Initial commit of Dreams POS React template 2025-05-23 23:34:50 +07:00