-
Notifications
You must be signed in to change notification settings - Fork 0
feat: restructure landing page with new layout, tabs, and dynamic product listing and convert bun to pnpm #363
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
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…duct listing (#361) * feat: implement api for product list and replace json * feat: add landing page components and layout structure - Introduced new layout components for the landing page, including BackgroundLanding and LandingPage. - Created a new home layout with text generation effect and integrated it into the main structure. - Updated Navbar and LandingTabs --------- Co-authored-by: p.damavandi <[email protected]>
…mprove clipboard OTP UX (#362) * chore: migrate project to pnpm and update dependencies - Updated package manager from Yarn to pnpm in package.json and Dockerfile. - Adjusted dependency specifications to use workspace:* for local packages. - Removed yarn.lock and added pnpm-lock.yaml for dependency management. - Updated Dockerfile to install pnpm globally and configure it for better network settings. - Refactored middleware and cookie imports to align with new structure. - Cleaned up unused code and comments in various components. * refactor: update docker-compose configuration for core-client service - Renamed core service to core-client for clarity. - Added environment variables for base URL configurations. - Removed commented-out network definitions to clean up the file. * feat: add docker-compose configuration for core-client service - Introduced a new docker-compose file for the core-client service. - Configured build context and Dockerfile path. - Set environment variables for base URL configurations. * feat: add environment variables to Dockerfile for base URL configurations - Introduced environment variables NEXT_PUBLIC_BASE_URL and NEXT_PUBLIC_BASE_URL_ATTACHMENT in the Dockerfile. - Enhanced configuration for better integration with the core-client service. * fix: update base URL in coreApi and guestApi to a hardcoded value - Changed the base URL in coreApi and guestApi from the environment variable to a hardcoded URL for immediate testing. - Added TODO comments to remind future updates to revert to using the environment variable. * feat: enhance authentication components with clipboard OTP functionality - Added a reusable `useClipboardOtp` hook for extracting OTP from the clipboard. - Introduced `PasteOtpButton` component to facilitate pasting OTP directly into forms. - Updated `SetPasswordPage`, `SignupOtpForm`, and other components to utilize the new clipboard functionality. - Enhanced user experience by allowing OTP pasting and auto-submission. - Refactored `PasswordInput` component for better integration with the new features. * feat: add clipboard permission request functionality to useClipboardOtp hook - Introduced a new `requestPermission` method to explicitly request clipboard access. - Added `isRequestingPermission` state to track the permission request status. - Updated `checkClipboard` method to utilize the new permission request logic. - Enhanced the overall clipboard OTP functionality for better user experience. * feat: implement clipboard permission listener in useClipboardOtp hook - Added a useEffect to listen for changes in clipboard permission status. - Automatically checks the clipboard when permission is granted. * feat: add deploy action * feat: add production docker-compose configuration for core-client service - Introduced a new docker-compose.prod.yml file for deploying the core-client service. - Configured service settings including build context, Dockerfile path, and environment variables for base URL configurations. * refactor: update docker-compose configuration for client service - Renamed core-client service to client for clarity. - Updated image reference to use the latest version of the pixel-client. - Adjusted service settings in docker-compose.prod.yml for improved deployment. * chore: enhance Docker Hub deployment process in workflow - Added a step to log in to Docker Hub before building and pushing the Docker image. - Cleaned up the push command by removing redundant login steps from the push action. - Improved overall clarity and efficiency of the deployment workflow. * chore: clean up Docker deployment workflow - Removed unnecessary blank lines in the deploy.yml file for improved readability. - Ensured consistency in the Docker push command formatting. * fix: update Docker deployment workflow to pull client service - Changed the deployment command to pull the client service instead of the web service in the Docker Compose workflow. - Ensured the deployment process aligns with the recent renaming of the core-client service. * chore: remove commented-out Docker build and push steps from deployment workflow - Eliminated unnecessary commented-out lines in the deploy.yml file to enhance clarity and maintainability of the workflow. - Streamlined the deployment process by focusing on active commands. * chore: add concurrency configuration to deployment workflow - Introduced a concurrency group in the deploy.yml file to manage simultaneous workflow runs. - Set the concurrency group to use the branch name, enhancing control over deployment processes. * chore: update deployment workflow to use self-hosted runners - Changed the runner configuration in deploy.yml to use self-hosted runners instead of the default group. - Aimed to optimize deployment performance and resource management. * chore: expose port for core service in production Docker Compose - Added port mapping for the core service to expose port 3000 in docker-compose.prod.yml. - This change allows external access to the service, facilitating communication with other services or clients. * fix: update API base URLs from HTTPS to HTTP - Changed the base URL for both coreApi and guestApi from "https://api.pixelgenius.ir" to "http://api.pixelgenius.ir". - This adjustment ensures consistency in API endpoint usage across the application. * refactor: simplify post-login schema transformation and update docker-compose configuration - Modified the post-login schema transformation to return the original data without modifications. - Updated the docker-compose.yml to rename the core-client service to client and changed the image reference to the latest version, enhancing clarity and consistency. * feat: add development and preview Docker Compose configurations - Introduced docker-compose.dev.yml for development environment with client-dev service. - Added docker-compose.preview.yml for PR previews, allowing dynamic port assignment and image tagging. - Updated deploy.yml to handle deployments for development and PR previews, enhancing CI/CD workflow. * refactor: update PR comment actions in deployment workflow - Replaced the GitHub script action with a sticky pull request comment action for posting deployment and cleanup messages. - Enhanced the preview deployment comment to include a structured message with the preview URL and container details. - Improved the cleanup confirmation comment to provide a clear summary of the resources removed after the PR is closed. * chore: update permissions in deployment workflow - Added permissions for reading contents and writing to pull requests and issues in deploy.yml. - This change enhances the workflow's ability to interact with GitHub resources during deployment processes.
@coderabbitai
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
|
Skipped: Cannot respond to another bot. |
1 similar comment
|
Skipped: Cannot respond to another bot. |
🚀 Preview Deployed Successfully!Your pull request preview is now available:
This preview will be automatically cleaned up when the PR is closed. |
🧹 Preview Cleanup CompleteAll preview deployment resources for this pull request have been successfully removed:
The cleanup process has finished for PR #363. |
Description
Changes
Checks