4 Commits

Author SHA1 Message Date
ferdiansyah783
a40a1994e5 update 3 modules 2025-08-02 02:33:10 +07:00
tuanOts
d9320683dd 🚀 Enhanced Create Project & Removed /react URL Prefix
📊 Create Project Enhancements:
- Added progressPercentage field with validation (0-100 range)
- Updated API data structure to match backend requirements
- Simplified form validation (removed required managers)
- Made team assignment optional with clear UX indicators
- Enhanced form layout with 4-column responsive design

🔧 API Data Structure:
- Streamlined to 10 essential fields: projectName, description, clientName, categoryId, priority, status, startDate, endDate, budget, progressPercentage
- Removed complex fields: managerIds, teamMemberIds, tags, createdDate, isActive
- Proper data type conversion (parseInt, parseFloat)
- Clean JSON structure for backend integration

🌐 URL Structure Improvement:
- Removed /react prefix from URLs by updating package.json homepage
- Clean URLs: localhost:3001/ instead of localhost:3001/react/
- Better SEO and user experience with standard URL patterns
- Professional URL structure following best practices

🎨 UI/UX Improvements:
- Progress percentage field with number input and % suffix
- Beautiful gradient styling for input group elements
- Enhanced form section headers with icons
- Optional field indicators with helpful placeholder text
- Responsive 3-column layout for timeline/budget/progress section

 Form Features:
- Real-time validation with clear error messages
- Loading states for API calls
- Success notifications with auto-redirect
- Fallback data handling for offline scenarios
- Professional form styling with hover effects
2025-06-01 23:30:55 +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
3d34f67c3f Initial commit of Dreams POS React template 2025-05-23 23:34:50 +07:00