Skip to content

Conversation

@Gerome-Elassaad
Copy link
Member

New Features

  • Cloudflare Pages deployment integration
  • Settings dropdown functionality in PreviewHeader
  • New Control panel for settings

UI/UX Improvements

  • Updated colors and dark mode error fixes
  • Preview header updates with standardized button sizing
  • Unified button styling (w-8 h-8) across components
  • Updated deployment icons to use local SVG assets
  • CodeModeHeader layout improvements (removed terminal button)

Bug Fixes

  • 429 Rate Limiting: Fixed API route and client-side handling of 429 status codes
  • ESLint linting error fixes
  • IconButton border centering issues

Technical Details

  • Enhanced error handling for GitHub API rate limiting
  • Improved JSON response parsing in update checks
  • Standardized component layouts and styling

Implement comprehensive Cloudflare Pages deployment functionality including connection management, deployment hooks, UI components, and API endpoints to provide users with another hosting option alongside existing Netlify and Vercel integrations.
Replace external CDN icon references with local SVG files for better performance and reliability. Use vercel-icon-light.svg with dark:invert class for theme support and netlify.svg for consistent branding.
Replace external CDN reference with local cloudflare.svg for consistent branding and improved performance.
Convert deployment buttons to use IconButton components and inline SVG icons instead of img tags for better performance and reliability. Remove complex button styling and use consistent icon button pattern.
Convert toggle buttons (Preview, Code, Database, Settings) to use IconButton components, removing theme-incompatible styling and ensuring consistent behavior across light and dark modes.
Update IconButton to conditionally apply padding only when no explicit width/height is set, ensuring proper centering of hover effects. Complete the CodeModeHeader button conversions and remove unused showTerminal variable.
Update DeployDialog icons and CodeModeHeader settings button to use consistent w-8 h-8 sizing, matching all other header buttons for uniform appearance across the application.
Replace IconButton with regular button element for dropdown trigger to ensure proper Radix UI asChild prop compatibility and dropdown menu functionality.
Implement dropdown menu for the settings button in preview mode with options for Reload Preview, Deploy Options, and Push to GitHub, providing quick access to common preview-related actions.
Convert More Deploy and Publish buttons to icon buttons with w-8 h-8 sizing to match deployment icon buttons. Replace text labels with appropriate icons (plus and upload) and add tooltips for better UX.
Consolidate all left-side buttons (Preview, Code, Database, Settings) into a single container with consistent gap-1 spacing, ensuring uniform size and spacing for all toggle buttons.
Update settings button to use the exact same CSS classes as IconButton components, including focus states and disabled styling, for perfect visual consistency.
Eliminated the terminal toggle button from the code view header to simplify the interface and remove unused functionality.
Handle both 403 and 429 HTTP status codes as rate limiting in the update API route
Add missing blank line before error handling code to satisfy ESLint rules
- Parse API response JSON before checking HTTP status codes
- Handle 429 status as rate limiting in fallback GitHub API calls
- Update error type detection to recognize 429 as rate limiting
@Gerome-Elassaad Gerome-Elassaad self-assigned this Nov 18, 2025
@Gerome-Elassaad Gerome-Elassaad added bug Something isn't working enhancement New feature or request labels Nov 18, 2025
@Gerome-Elassaad Gerome-Elassaad linked an issue Nov 18, 2025 that may be closed by this pull request
@Gerome-Elassaad Gerome-Elassaad merged commit 0efb04d into codinit-dev:main Nov 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant