Conversation
This commit removes the NavigationClient and its associated page, streamlining the navigation management structure. It also updates the next.config.ts to conditionally set the unoptimized flag based on the environment. Additionally, new content routes are added for better organization, and import paths are adjusted for clarity in the SearchAndFilters component. The NavigationManager title is modified for consistency, and new sidebar navigation items are introduced for content management.
… handling This commit introduces functionality for generating presigned URLs for single and batch image uploads, allowing for more efficient uploads directly to S3. It updates the ImageController to handle new actions for generating presigned URLs and modifies the S3Service to create these URLs. Additionally, the handler now includes improved CORS response handling for OPTIONS requests, ensuring proper headers are returned. Validation utilities are also updated to include checks for presigned URL parameters, enhancing overall robustness.
…ity and efficiency This commit modifies the thresholds for using presigned URLs in the S3 image upload hook. The file size threshold is reduced from 7MB to 5MB, and the count threshold is decreased from 25 to 10 files. These changes aim to improve the handling of larger uploads while ensuring compliance with API Gateway limits.
…nting and code quality This commit refactors the ESLint configuration to utilize the new `defineConfig` method and integrates `eslint-config-prettier` for better compatibility. It also updates the ESLint version to 9.37.0 and modifies the package.json and pnpm-lock.yaml files accordingly. Additionally, various components are optimized with requestAnimationFrame for smoother state updates, enhancing performance across the application.
…electorModal upload progress component This commit updates the `CustomTooltipProps` interface in `TotalSalesChartCard.tsx` to use a more generic type for the `payload` property, enhancing flexibility. Additionally, it removes the `perFilePercent` prop from the `UploadProgress` component in `ImageSelectorModal.tsx`, streamlining the upload progress handling.
…mponent into MenuItemForm This commit adds the @shopify/draggable package to the project for enhanced drag-and-drop functionality. It also integrates the DraggableMenuItems component into the MenuItemForm, allowing for improved item reordering within the navigation management interface. Additionally, minor adjustments are made to the MenuItemForm to accommodate the new component and streamline the editing process.
…handling and refine swap animation settings This commit modifies the `appendTo` property in the `DraggableMenuItems` component to correctly cast the modal container, enhancing functionality. Additionally, it updates the `swapAnimation` configuration to explicitly set the `horizontal` property to false, improving the drag-and-drop experience within the navigation management interface.
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.