feat: Complete dashboard system with PostgreSQL migration and enhanced item normalization#29
Closed
rberrelleza wants to merge 2 commits intomainfrom
Closed
feat: Complete dashboard system with PostgreSQL migration and enhanced item normalization#29rberrelleza wants to merge 2 commits intomainfrom
rberrelleza wants to merge 2 commits intomainfrom
Conversation
…d item normalization
- Migrated from AWS RDS to Kubernetes PostgreSQL using Bitnami Helm chart
- Added comprehensive dashboard with Overview, Orders, and Analytics tabs
- Implemented enhanced item normalization handling:
- Leading digit removal (e.g., '1 horchata water' -> 'horchata water')
- Case-insensitive comparison ('TACOS' and 'tacos' are the same)
- Pluralization handling ('burritos' and 'burrito' are grouped together)
- Fixed chart expansion issues with proper CSS constraints
- Added persistent PostgreSQL storage with 8Gi PVC
- Updated infrastructure to remove RDS dependencies
- Added comprehensive test coverage for normalization features
Co-authored-by: Okteto AI Agent Fleets <ai@okteto.com>
|
Your preview environment oktaco-pr-29 has been deployed. Preview environment endpoints are available at:
|
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
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.
🎉 Complete Dashboard System Implementation
This PR implements a comprehensive dashboard system for the Oktaco Shop check service with significant infrastructure improvements and enhanced data processing capabilities.
🚀 Major Features
📊 Complete Dashboard System
🗄️ Database Migration
🧠 Enhanced Item Normalization
'1 horchata water'→'horchata water''TACOS'and'tacos'are treated as the same item'burritos'and'burrito'are grouped together🔧 Technical Improvements
🎨 UI/UX Fixes
🏗️ Infrastructure Updates
postgresqlservice for database connections--waitflag📈 Data Processing
The normalization function handles complex item name variations:
🧪 Testing & Verification
'2 Burritos'+'1 burrito'='burrito': 2🌐 Live Demo
Dashboard available at: https://check-agent-qyd9q60ankgp.rberrelleza.fleets.okteto.ai/
📋 Files Changed
check/main.py: Enhanced normalization logic and database integrationcheck/database.py: New database models and connection handlingcheck/public/: Complete dashboard frontend implementationokteto.yaml: Added PostgreSQL Helm chart deploymentmain.tf: Removed RDS resources, kept S3/SQScheck/chart/: Updated Kubernetes manifests for new database🎯 Impact
This implementation provides:
Co-authored-by: Okteto AI Agent Fleets ai@okteto.com