Closed
Conversation
…r signed-in users.
…used authentication buttons. Adjusted layout for session ID indicator.
…ton for signed-in users.
…to improve error handling and ensure application functionality even when database is unavailable.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for zapdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Owner
Author
|
Only cloudflare failed |
Jackson57279
added a commit
that referenced
this pull request
Jun 17, 2025
* Refactor ChatSessionPage and AnimatedAIChat components for improved layout and user experience. Update header to use sticky positioning, enhance main content area for better responsiveness, and optimize background gradient rendering. Introduce file input for attachments and streamline message input area with improved styling and functionality. * Update AnimatedAIChat component to conditionally display command suggestion buttons only when there are no messages, enhancing user experience and interface clarity. * Enhance Next.js configuration and layout components for improved performance and user experience. Update next.config.mjs with caching headers, image formats, and experimental features. Refactor layout.tsx to include viewport settings, enhanced metadata, and preconnect links. Optimize ChatSessionPage by memoizing components and improving button functionality for better responsiveness. * Refactor Home component to improve performance and SEO. Introduce dynamic imports with server-side rendering for various sections, and add SchemaMarkup for enhanced search engine optimization. Update layout to include new components: DetailedFeatures, HowItWorks, UseCases, FaqSection, and BlogTeaser. * removing shit that broke the site * fixing errors * commmit * Update dependencies in package.json and bun.lock to include @vercel/kv and stripe. Add dynamic import for Pricing component in Home page and implement a Subscribe button for Stripe checkout. * Refactor Stripe integration to use Convex for managing customer data. Remove @vercel/kv dependency and update related API calls in success and checkout routes. Enhance schema to include Stripe fields and adjust data synchronization methods accordingly. * Refactor Stripe client initialization to a lazy-loading approach in the Stripe integration. Update API calls in the generate-stripe-checkout route to handle missing customer IDs with appropriate error responses. * Add environment variable checks for Stripe and Convex initialization Ensure that the NEXT_PUBLIC_APP_URL, NEXT_PUBLIC_CONVEX_URL, and STRIPE_SECRET_KEY environment variables are set before proceeding with the Stripe client and Convex initialization. Return appropriate error responses for missing variables in the generate-stripe-checkout route. * Enhance Home and Success pages with new subscription features - Implement floating CTA for subscription on the Home page that appears after scrolling down. - Update buttons to navigate to the Pricing page and adjust button labels for clarity. - Revamp the Success page to include a loading state and improved user feedback upon successful subscription. - Add dynamic pricing plans with detailed descriptions and features in the Pricing component, including user authentication checks for subscription actions. - Ensure smooth transitions and animations for better user experience. * Making sure my .env dont get commited * Update dependencies and enhance Clerk and Stripe integration - Added @clerk/clerk-sdk-node to package.json and bun.lock for improved user management. - Updated svix dependency to version 1.67.0 for enhanced webhook handling. - Implemented secure webhook handling for Clerk events, including user creation, updates, and deletions. - Enhanced user synchronization with Clerk and Stripe, ensuring proper handling of user data and subscription updates. - Added new queries and mutations for user data retrieval and management, enforcing security checks for user access. - Improved database schema with additional indexes for better performance in user and subscription queries. * Refactor user creation and update logic in Convex - Updated the createOrUpdateUser mutation to use the authenticated user's Clerk ID directly from the session token, enhancing security and simplifying the code. - Modified the return value of getMyStripeCustomerId to indicate whether a Stripe customer exists, improving clarity in user data retrieval. * Enhance API and component functionality - Updated the chat API to utilize the new OpenRouter response streaming method, improving message handling and error reporting. - Added model selection and thinking toggle features in the animated AI chat component for enhanced user interaction. - Refined user management logic in Clerk webhooks, ensuring proper handling of user creation, updates, and deletions. - Improved error handling in the Stripe checkout route to provide more detailed feedback on failures. - Updated .gitignore to include cursor-related files for better project cleanliness. * Refactor API error handling and improve user feedback - Enhanced error handling in the chat API to provide clearer feedback on message processing issues. - Updated user management logic in Clerk webhooks to ensure accurate user state reporting. - Improved error responses in the Stripe checkout route for better user experience during payment failures. * commir * Refactor OpenRouter integration and improve message handling - Updated the OpenRouter initialization to a lazy-loading approach for better performance. - Enhanced message preparation logic to ensure proper handling of user and assistant roles. - Introduced a function to retrieve the model ID from parameters or defaults. - Improved API key retrieval from environment variables for better security practices. * Update dependencies and refactor chat API for improved functionality - Upgraded @monaco-editor/react to version 4.7.0 for enhanced features. - Refactored chat API to utilize sequential thinking for message processing, improving response generation. - Simplified message handling in the animated AI chat component, removing unnecessary parameters and stream mode. - Enhanced error handling in the chat API for better user feedback on processing issues. * Refactor OpenRouter provider to enhance chat functionality - Updated the OpenRouter provider to encapsulate chat functionality, allowing for a cleaner interface when interacting with the chat model. - Improved the structure of the chat API for better maintainability and usability. * Remove model selection and thinking toggle from AnimatedAIChat component for a cleaner interface * Refactor chat API to implement streaming response and enhance sequential thinking process - Updated the chat API to utilize streaming responses for improved message handling. - Refactored the sequential thinking logic to include detailed stages and error handling. - Enhanced the AnimatedAIChat component to display current processing stages and generated code dynamically. - Improved state management for generated code and current stage in the chat interface. * alert user if using old verison of application * Made vercel.json * Enhance next.config.mjs to import package.json dynamically - Added functionality to read and parse package.json using file system and path modules. - Improved configuration management by dynamically accessing package information. * Add @radix-ui/react-icons dependency * buttons are back * Enhance Content Security Policy in next.config.mjs - Added a comprehensive Content Security Policy (CSP) to improve security by restricting resource loading. - Configured headers for various content types, including scripts, images, and fonts, to ensure safer application behavior. * fixing errors * trying to fix the ai implmentation * trying to fix the ai implmentation * fixing ai string * fix
Jackson57279
added a commit
that referenced
this pull request
Jun 17, 2025
* Refactor ChatSessionPage and AnimatedAIChat components for improved layout and user experience. Update header to use sticky positioning, enhance main content area for better responsiveness, and optimize background gradient rendering. Introduce file input for attachments and streamline message input area with improved styling and functionality. * Update AnimatedAIChat component to conditionally display command suggestion buttons only when there are no messages, enhancing user experience and interface clarity. * Enhance Next.js configuration and layout components for improved performance and user experience. Update next.config.mjs with caching headers, image formats, and experimental features. Refactor layout.tsx to include viewport settings, enhanced metadata, and preconnect links. Optimize ChatSessionPage by memoizing components and improving button functionality for better responsiveness. * Refactor Home component to improve performance and SEO. Introduce dynamic imports with server-side rendering for various sections, and add SchemaMarkup for enhanced search engine optimization. Update layout to include new components: DetailedFeatures, HowItWorks, UseCases, FaqSection, and BlogTeaser. * removing shit that broke the site * fixing errors * commmit * Update dependencies in package.json and bun.lock to include @vercel/kv and stripe. Add dynamic import for Pricing component in Home page and implement a Subscribe button for Stripe checkout. * Refactor Stripe integration to use Convex for managing customer data. Remove @vercel/kv dependency and update related API calls in success and checkout routes. Enhance schema to include Stripe fields and adjust data synchronization methods accordingly. * Refactor Stripe client initialization to a lazy-loading approach in the Stripe integration. Update API calls in the generate-stripe-checkout route to handle missing customer IDs with appropriate error responses. * Add environment variable checks for Stripe and Convex initialization Ensure that the NEXT_PUBLIC_APP_URL, NEXT_PUBLIC_CONVEX_URL, and STRIPE_SECRET_KEY environment variables are set before proceeding with the Stripe client and Convex initialization. Return appropriate error responses for missing variables in the generate-stripe-checkout route. * Enhance Home and Success pages with new subscription features - Implement floating CTA for subscription on the Home page that appears after scrolling down. - Update buttons to navigate to the Pricing page and adjust button labels for clarity. - Revamp the Success page to include a loading state and improved user feedback upon successful subscription. - Add dynamic pricing plans with detailed descriptions and features in the Pricing component, including user authentication checks for subscription actions. - Ensure smooth transitions and animations for better user experience. * Making sure my .env dont get commited * Update dependencies and enhance Clerk and Stripe integration - Added @clerk/clerk-sdk-node to package.json and bun.lock for improved user management. - Updated svix dependency to version 1.67.0 for enhanced webhook handling. - Implemented secure webhook handling for Clerk events, including user creation, updates, and deletions. - Enhanced user synchronization with Clerk and Stripe, ensuring proper handling of user data and subscription updates. - Added new queries and mutations for user data retrieval and management, enforcing security checks for user access. - Improved database schema with additional indexes for better performance in user and subscription queries. * Refactor user creation and update logic in Convex - Updated the createOrUpdateUser mutation to use the authenticated user's Clerk ID directly from the session token, enhancing security and simplifying the code. - Modified the return value of getMyStripeCustomerId to indicate whether a Stripe customer exists, improving clarity in user data retrieval. * Enhance API and component functionality - Updated the chat API to utilize the new OpenRouter response streaming method, improving message handling and error reporting. - Added model selection and thinking toggle features in the animated AI chat component for enhanced user interaction. - Refined user management logic in Clerk webhooks, ensuring proper handling of user creation, updates, and deletions. - Improved error handling in the Stripe checkout route to provide more detailed feedback on failures. - Updated .gitignore to include cursor-related files for better project cleanliness. * Refactor API error handling and improve user feedback - Enhanced error handling in the chat API to provide clearer feedback on message processing issues. - Updated user management logic in Clerk webhooks to ensure accurate user state reporting. - Improved error responses in the Stripe checkout route for better user experience during payment failures. * commir * Refactor OpenRouter integration and improve message handling - Updated the OpenRouter initialization to a lazy-loading approach for better performance. - Enhanced message preparation logic to ensure proper handling of user and assistant roles. - Introduced a function to retrieve the model ID from parameters or defaults. - Improved API key retrieval from environment variables for better security practices. * Update dependencies and refactor chat API for improved functionality - Upgraded @monaco-editor/react to version 4.7.0 for enhanced features. - Refactored chat API to utilize sequential thinking for message processing, improving response generation. - Simplified message handling in the animated AI chat component, removing unnecessary parameters and stream mode. - Enhanced error handling in the chat API for better user feedback on processing issues. * Refactor OpenRouter provider to enhance chat functionality - Updated the OpenRouter provider to encapsulate chat functionality, allowing for a cleaner interface when interacting with the chat model. - Improved the structure of the chat API for better maintainability and usability. * Remove model selection and thinking toggle from AnimatedAIChat component for a cleaner interface * Refactor chat API to implement streaming response and enhance sequential thinking process - Updated the chat API to utilize streaming responses for improved message handling. - Refactored the sequential thinking logic to include detailed stages and error handling. - Enhanced the AnimatedAIChat component to display current processing stages and generated code dynamically. - Improved state management for generated code and current stage in the chat interface. * alert user if using old verison of application * Made vercel.json * Enhance next.config.mjs to import package.json dynamically - Added functionality to read and parse package.json using file system and path modules. - Improved configuration management by dynamically accessing package information. * Add @radix-ui/react-icons dependency * buttons are back * Enhance Content Security Policy in next.config.mjs - Added a comprehensive Content Security Policy (CSP) to improve security by restricting resource loading. - Configured headers for various content types, including scripts, images, and fonts, to ensure safer application behavior. * fixing errors * trying to fix the ai implmentation * trying to fix the ai implmentation * fixing ai string * fix
Merged
Closed
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.
No description provided.