Skip to content

Commit 8e740e2

Browse files
author
Gerome El-assaad
committed
feat: enhance UI with semi-rounded buttons and remove workflow/deployment features
### UI/UX Improvements - Add semi-rounded corners to all buttons for modern design - Apply rounded edges to all dialog components - Implement global CSS approach for consistent styling ### Code Cleanup & Optimization - Remove entire workflow and deployment system - Delete unused API routes, components, and library files - Clean up navigation and component imports - Reduce bundle size and codebase complexity ### Technical Improvements - Fix async function calls in models.ts - Centralize styling in globals.css using CSS layers - Verify successful build and linting
1 parent b56865c commit 8e740e2

31 files changed

+77
-8963
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,59 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [v0.0.41] - 2025-08-17
6+
7+
### 🎨 UI/UX Improvements
8+
- **Enhanced Button Design**: Updated all buttons to have semi-rounded corners for improved visual appeal
9+
- Applied `border-radius: 0.5rem` (rounded-lg equivalent) to all button elements globally
10+
- Consistent semi-rounded styling across all button variants and sizes
11+
- Enhanced visual hierarchy and modern design language
12+
13+
- **Rounded Dialog Components**: Modernized dialog and modal interfaces with rounded edges
14+
- Applied `border-radius: 0.75rem` (rounded-xl equivalent) to all dialog components
15+
- Updated regular dialogs, alert dialogs, popovers, and dropdown menus
16+
- Improved visual consistency and contemporary design standards
17+
18+
### 🧹 Code Cleanup & Optimization
19+
- **Workflow & Deployment System Removal**: Eliminated unused workflow and deployment functionality
20+
- Removed entire `lib/deployment/` directory and all deployment-related files
21+
- Deleted workflow library files (`workflow-detector.ts`, `workflow-engine.ts`, `workflow-persistence.ts`)
22+
- Removed workflow and deployment API routes (`/api/chat/workflow/`, `/api/workflows/`, `/api/deployments/`)
23+
- Eliminated workflow and deployment page components and UI directories
24+
- Cleaned up navigation references and component imports
25+
- Reduced codebase complexity and improved maintainability
26+
27+
### 🔧 Technical Improvements
28+
- **CSS Architecture**: Implemented global CSS approach for consistent styling
29+
- Centralized button and dialog styling in `globals.css` using CSS layers
30+
- Removed individual component-level style overrides for better maintainability
31+
- Used CSS `@layer components` for proper style precedence and organization
32+
33+
- **Build Optimization**: Verified successful compilation and linting
34+
- All TypeScript compilation errors resolved
35+
- ESLint checks passing without warnings
36+
- Successful production build verification
37+
38+
### 🛡️ Security Enhancements
39+
- **Provider Validation**: Enhanced AI model provider security
40+
- Fixed async function calls in `models.ts` for proper provider validation
41+
- Maintained secure provider validation through dynamic imports
42+
- Ensured type safety in model client initialization
43+
44+
### 📦 Bundle Size Reduction
45+
- **Codebase Optimization**: Significant reduction in application bundle size
46+
- Removed ~20+ unused files and directories related to workflows and deployments
47+
- Eliminated redundant component files and unused imports
48+
- Streamlined navigation and component architecture
49+
50+
### 🔧 Breaking Changes
51+
- **Feature Removal**: Workflow and deployment functionality no longer available
52+
- Users can no longer access workflow builder or deployment features
53+
- Navigation menu simplified with workflow/deployment options removed
54+
- Focus maintained on core AI-powered code generation and sandbox execution
55+
56+
---
57+
558
## [v0.0.40] - 2025-08-16
659

760
### 🔒 Critical Security Fixes

app/api/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function POST(req: Request) {
6161
console.log('model', model)
6262

6363
const { model: modelNameString, apiKey: modelApiKey, ...modelParams } = config
64-
const modelClient = getModelClient(model, config)
64+
const modelClient = await getModelClient(model, config)
6565

6666
try {
6767
const stream = await streamObject({

app/api/chat/workflow/route.ts

Lines changed: 0 additions & 222 deletions
This file was deleted.

app/api/deployments/[id]/rollback/route.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

app/api/deployments/[id]/route.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)