Frontend Changes:
- Enhanced mobile responsiveness:
* Reduced top spacing on mobile screens
* Made the gate control button larger and full-width on mobile
* Improved text sizing and padding for better readability
- Improved visual design:
* Enhanced macOS-style glass effect with deeper shadows
* Added subtle gradient background with brand colors
* Made backgrounds more translucent with white overlays
* Added consistent border styling with white/50 opacity
* Enhanced hover states with smoother transitions
* Added shadow to the status indicator dot
* Made the settings modal more translucent
* Improved button styling consistency
Backend Changes:
- Updated static files path to use relative path ("../public")
- Removed HTTPS/SSL:
* Changed API endpoint in frontend from HTTPS to HTTP
* Removed redirect.py as it's no longer needed for HTTPS redirection
* Simplified deployment by removing SSL-related configurations
Deployment Improvements:
- Fixed deployment script issues:
* Preserved proper backend directory structure
* Added proper directory handling for tar files
* Fixed tar file naming consistency
* Removed chmod for non-existent redirect.py
* Added cd command to ensure correct working directory
* Updated file paths to use absolute paths where needed
Testing:
- Verified mobile UI improvements
- Confirmed HTTP endpoints are working
- Tested gate control functionality
- Validated settings modal operation
|
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||