-
Notifications
You must be signed in to change notification settings - Fork 3
This pull request introduces several improvements and fixes across both the backend and frontend, with a focus on deployment status handling, webhook event support, and developer experience #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
secus217
wants to merge
14
commits into
AI-Decenter:main
Choose a base branch
from
secus217:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… handling to include scaling, start, stop.- Add support for scaled, start failed, and stop failed events
✨ New Features: - Complete DocumentationPage redesign with modern, professional interface - Comprehensive README with step-by-step setup instructions - Full mobile-first responsive design for all device sizes - Enhanced navigation with sticky header and mobile menu - Custom xs breakpoint support for extra small screens 🎨 UI/UX Improvements: - Modern gradient backgrounds and backdrop blur effects - Card-based layouts with shadows and smooth hover animations - Mobile-optimized typography and component sizing - Professional multi-column footer with gradient accents - Touch-friendly interactive elements and navigation 🧹 Code Cleanup & Optimization: - Removed all unnecessary debug logs from Rust backend - Eliminated console.log statements from frontend codebase - Optimized imports and removed unused dependencies - Improved code structure and maintainability - Enhanced error handling and validation 📱 Mobile Responsiveness: - Horizontal scrolling navigation for mobile devices - Responsive grid systems with mobile-first approach - Adaptive component sizing and spacing - Optimized touch targets and user interactions - Comprehensive breakpoint management (xs, sm, md, lg, xl) 📚 Documentation: - Complete setup guide with prerequisites and troubleshooting - Command reference table for development workflow - Project structure overview and organization - Step-by-step installation instructions 🔧 Technical Enhancements: - Improved webhook event handling system - Enhanced deployment worker with better error handling - Optimized database queries and API responses - Better authentication and middleware systems - Streamlined notification management
- Frontend improvements: * Implement elegant 'coming soon' UI for domain management with feature preview * Add production-ready API configuration with dynamic base URL detection * Enhanced deployment detail page with comprehensive domain management interface * Remove network error alerts for better UX * Add domain management components with DNS setup instructions - Backend enhancements: * Implement complete domain validator service with DNS validation * Add SSL certificate manager with Let's Encrypt integration (mock for development) * Create comprehensive domain management endpoints (add/list/remove domains) * Add dynamic frontend URL generation for password reset emails * Implement Kubernetes custom domain ingress and SSL certificate management * Add database migrations for SSL certificate and DNS record management - Infrastructure improvements: * Add SSL/TLS dependencies for certificate management (rustls, acme-lib, trust-dns-resolver) * Remove test email services and diagnostic endpoints * Add crypto provider initialization for SSL operations * Create comprehensive domain validation and SSL provisioning workflow - Database schema: * Add SSL certificate management tables (ssl_certificates, dns_records, domain_validations) * Extend domains table with SSL status and validation tracking * Add proper indexes and constraints for domain management - Email system: * Configure dynamic URL generation for production deployments * Support environment-aware frontend URL detection * Remove temporary test endpoints after functionality verification This commit establishes a complete foundation for custom domain management with automated SSL certificate provisioning, ready for production deployment at decenter.run.
- Add ResetPasswordPage component with proper validation and UI - Simplify get_frontend_url() to always return production domain https://decenter.run - Add /reset-password route to App.tsx for handling password reset links from email - Remove complex environment detection logic for consistent production URLs
- Update SQLx query cache with missing deployment queries - Fix unused imports in deployment handlers and kubernetes service - Add .dockerignore to reduce build context size - Remove unused variables and clean up code warnings - Ensure Docker build works with offline SQLx mode - Add comprehensive API documentation with interactive examples
- Fixed env_vars field name in frontend (envVars -> env_vars) - Fixed API base URL to use localhost for development - Updated documentation page structure and content - Improved Kubernetes service logging and error handling - Fixed deployment handler to pass correct env_vars format - Added migration file for desired_replicas column - Cleaned up verbose Kubernetes logging output - Fixed update_deployment_env_vars to properly update existing deployments
- Add comprehensive container error handling for ContainerCreating, waiting to start, and BadRequest errors - Create errorHandlers utility for consistent error analysis across components - Improve LogsPage with better retry logic and user-friendly messages (15 retries, 4-6s intervals) - Enhanced DeploymentDetailPage error handling for all operations (env vars, scaling, restart, delete) - Add container status warning banner for pending/updating deployments - Redesign environment variables UI to handle long values properly: - Use textarea for editing long values with Ctrl+Enter to save - Add responsive layout with proper text wrapping and scrolling - Show character count and tooltips for long values - Improve add/edit forms with better validation and UX - Replace scary error messages with educational, user-friendly notifications - All container startup errors now show helpful context instead of raw API errors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and fixes across both the backend and frontend, with a focus on deployment status handling, webhook event support, and developer experience. The main changes include new SQL queries for more granular deployment failure states, expanded webhook event types, a comprehensive quick start guide in the
README.md, and frontend updates to support new webhook events and responsive design. Additionally, some debug logging has been cleaned up in authentication middleware.Deployment Status and Database Query Updates:
Failed to queue start/stop/scale operation) and scaling status, improving error reporting and operational tracking. (.sqlx/query-3984b7ad9086f0a2c197ffcb9bebaaa9b173b1d79686df22b11a59882753b186.json,.sqlx/query-7f4c8eac5661403cd50781fcf994a86928bbff0f879fa67d4f097ada95e0488d.json,.sqlx/query-baf2e9ba29ddba5d24827efbeacdaaf44a176487cd4ee6cd084b03a8005b4ffa.json,.sqlx/query-aa373dd91f3436b167a44c4e5cd47648634532582f2c2084d52e42925128b531.json,.sqlx/query-c7fb0022cb8510299939f563b58774879acb4a744567ec840b76e84941277999.json,.sqlx/query-fce71b9417a4b55e2300fbe6f47db55d9d32db25df83457d6e8aa60743d4042a.json, [1] [2] [3] [4] [5] [6] [7]Frontend Webhook Event Support and UI Improvements:
xsbreakpoint for extra small screens inindex.css.Documentation and Developer Experience:
README.md, providing step-by-step instructions for setting up the development environment, troubleshooting, and understanding the project structure.Backend Logging and Authentication:
Internal Refactoring:
JobTypein deployment handlers, ensuring correct job type handling.