This repository was archived by the owner on Nov 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
headless-ecom: adds data-component-tags (#302) #304
Open
Paveltarno
wants to merge
472
commits into
master
Choose a base branch
from
main
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
* Fix as child choice and option * Fix as child choice and option * Fix failed tests * bump versions
* Allow separate sorts
Co-authored-by: nitayneeman <[email protected]>
* Move sort * Move filter * Align the docs
* Expose CategoryFilter * Fix mediagallery usage to fit image
* [headless-component]Availability component#pr * version * amit * update availability component * comments * PG * fix review * lint * fix * fix
* [CMS] extend filter to support default filter * change the filter builder to avoid callback hell
* [headless-component] Availability fix#pr * lint * version
* featured only visible fetching * basic example project * Update Tailwind CSS integration and add Featured component - Replaced `@tailwindcss/vite` with `@astrojs/tailwind` for Tailwind CSS support. - Updated Tailwind CSS version to `3.4.0` and added `autoprefixer`. - Introduced a new `Item.Featured` component to display featured status with customizable rendering. - Added `itemFeatured` test ID for the new Featured component. - Created a new `postcss.config.mjs` file for PostCSS configuration. - Updated global CSS to include Tailwind's base, components, and utilities. * Refactor Item component to support intelligent image handling - Renamed `Item.Image` and `Item.AdditionalImages` to `Item.Images` for clarity. - Updated `Item.Images` to handle single and multiple images intelligently, rendering `WixMediaImage` for a single image and `MediaGallery` for multiple images. - Enhanced `Item.Images` with customizable class names for previous, next buttons, and indicators. - Updated test IDs to reflect the new `itemImages` identifier. - Adjusted the `MenusPage` component to utilize the new `Item.Images` structure for improved image display. * Update package version to 0.0.12 in restaurants-menus * disable buttons * Refactor MenusPage layout and improve button visibility - Wrapped Menus.MenuSelector in a div to enable horizontal scrolling. - Added min-width to the MenuSelector for better responsiveness. - Updated opacity handling for previous and next buttons in Item.Images for improved visibility on hover. * Refactor Label and Item components for improved clarity and consistency - Removed unnecessary comments in Label and Icon components for cleaner code. - Standardized formatting in Item component for better readability. - Enhanced fetchAllPaginated function calls in menus-service for improved code structure. * Refactor MenusPage component for improved styling and consistency - Updated import statements to use single quotes for consistency. - Enhanced layout of menu items by adjusting class names for better styling and responsiveness. - Modified Item.Name component to conditionally apply font weight based on featured status. * Update package version to 0.0.13 and enhance Menus component with loading and error handling improvements - Incremented version in package.json to 0.0.13. - Added `loadingText` prop to Menus.Loading for customizable loading messages. - Introduced `errorPrefix` prop to Menus.Error for customizable error message prefixes. - Updated rendering logic in Menus.Loading and Menus.Error to display custom messages based on new props.
* feat(cms-demo): update restaurant menu demo with improved layout and pagination - Update collection schema to use restaurant menu fields (dishName, price, ingredients, dietaryRestrictions, isAvailable) - Add equal-height card layout with flexbox - Improve availability status display with green/red badges - Add pagination with proper total count (limit: 9, returnTotalCount: true) - Update filters for dietary restrictions and availability - Add price-based sorting options - Remove infinite scroll page, keep only Items and Create Item pages - Update navigation to show only 2 pages - Update SUMMARY.md with current implementation details - Add array field handling for dietary restrictions badges * feat(cms-demo): add restaurant menu demo with CMS components - Add restaurant menu collection demo with pagination (9 items per page) - Implement equal-height card layout with flexbox - Add filtering by dietary restrictions (multi-select) and availability - Add sorting by name, price, and date - Add item creation form with validation - Include comprehensive documentation (README, SUMMARY) - Demonstrate CmsCollection and CmsItem components usage - Show array field handling for dietary restrictions badges - Implement status badges (available/unavailable) with proper colors - Clean, minimal setup with only essential files - Two pages: Items list and Create Item form * missing files * docs(cms-demo): update README to reflect current implementation - Update title to reflect restaurant menu use case - Remove references to deleted infinite scroll page - Update collection schema with actual fields (dishName, price, ingredients, etc.) - Update project structure to show current files only - Add documentation for array field handling - Add pagination configuration section - Document equal-height card layout patterns - Update styling section with availability status colors - Add key architecture patterns (AsChild, Render Props, Array Handling) * fix(cms-demo): replace deleted logo icon with inline SVG - Remove dependency on deleted icons/logo.astro file - Add inline SVG logo (layers icon) directly in component - Use Astro's class:list for conditional styling - Update colors to use design system (bg-background, text-foreground) * fixes * rename project * yarn lock * yarn lock * yarn lock * fixing preset * lint --------- Co-authored-by: arielWix <[email protected]>
* featured only visible fetching * basic example project * Update Tailwind CSS integration and add Featured component - Replaced `@tailwindcss/vite` with `@astrojs/tailwind` for Tailwind CSS support. - Updated Tailwind CSS version to `3.4.0` and added `autoprefixer`. - Introduced a new `Item.Featured` component to display featured status with customizable rendering. - Added `itemFeatured` test ID for the new Featured component. - Created a new `postcss.config.mjs` file for PostCSS configuration. - Updated global CSS to include Tailwind's base, components, and utilities. * Refactor Item component to support intelligent image handling - Renamed `Item.Image` and `Item.AdditionalImages` to `Item.Images` for clarity. - Updated `Item.Images` to handle single and multiple images intelligently, rendering `WixMediaImage` for a single image and `MediaGallery` for multiple images. - Enhanced `Item.Images` with customizable class names for previous, next buttons, and indicators. - Updated test IDs to reflect the new `itemImages` identifier. - Adjusted the `MenusPage` component to utilize the new `Item.Images` structure for improved image display. * Update package version to 0.0.12 in restaurants-menus * disable buttons * Refactor MenusPage layout and improve button visibility - Wrapped Menus.MenuSelector in a div to enable horizontal scrolling. - Added min-width to the MenuSelector for better responsiveness. - Updated opacity handling for previous and next buttons in Item.Images for improved visibility on hover. * Refactor Label and Item components for improved clarity and consistency - Removed unnecessary comments in Label and Icon components for cleaner code. - Standardized formatting in Item component for better readability. - Enhanced fetchAllPaginated function calls in menus-service for improved code structure. * Refactor MenusPage component for improved styling and consistency - Updated import statements to use single quotes for consistency. - Enhanced layout of menu items by adjusting class names for better styling and responsiveness. - Modified Item.Name component to conditionally apply font weight based on featured status. * Update package version to 0.0.13 and enhance Menus component with loading and error handling improvements - Incremented version in package.json to 0.0.13. - Added `loadingText` prop to Menus.Loading for customizable loading messages. - Introduced `errorPrefix` prop to Menus.Error for customizable error message prefixes. - Updated rendering logic in Menus.Loading and Menus.Error to display custom messages based on new props. * Update MenusPage styling to use secondary color scheme and increment package version to 0.0.14
* featured only visible fetching * basic example project * Update Tailwind CSS integration and add Featured component - Replaced `@tailwindcss/vite` with `@astrojs/tailwind` for Tailwind CSS support. - Updated Tailwind CSS version to `3.4.0` and added `autoprefixer`. - Introduced a new `Item.Featured` component to display featured status with customizable rendering. - Added `itemFeatured` test ID for the new Featured component. - Created a new `postcss.config.mjs` file for PostCSS configuration. - Updated global CSS to include Tailwind's base, components, and utilities. * Refactor Item component to support intelligent image handling - Renamed `Item.Image` and `Item.AdditionalImages` to `Item.Images` for clarity. - Updated `Item.Images` to handle single and multiple images intelligently, rendering `WixMediaImage` for a single image and `MediaGallery` for multiple images. - Enhanced `Item.Images` with customizable class names for previous, next buttons, and indicators. - Updated test IDs to reflect the new `itemImages` identifier. - Adjusted the `MenusPage` component to utilize the new `Item.Images` structure for improved image display. * Update package version to 0.0.12 in restaurants-menus * disable buttons * Refactor MenusPage layout and improve button visibility - Wrapped Menus.MenuSelector in a div to enable horizontal scrolling. - Added min-width to the MenuSelector for better responsiveness. - Updated opacity handling for previous and next buttons in Item.Images for improved visibility on hover. * Refactor Label and Item components for improved clarity and consistency - Removed unnecessary comments in Label and Icon components for cleaner code. - Standardized formatting in Item component for better readability. - Enhanced fetchAllPaginated function calls in menus-service for improved code structure. * Refactor MenusPage component for improved styling and consistency - Updated import statements to use single quotes for consistency. - Enhanced layout of menu items by adjusting class names for better styling and responsiveness. - Modified Item.Name component to conditionally apply font weight based on featured status. * Update package version to 0.0.13 and enhance Menus component with loading and error handling improvements - Incremented version in package.json to 0.0.13. - Added `loadingText` prop to Menus.Loading for customizable loading messages. - Introduced `errorPrefix` prop to Menus.Error for customizable error message prefixes. - Updated rendering logic in Menus.Loading and Menus.Error to display custom messages based on new props. * Update MenusPage styling to use secondary color scheme and increment package version to 0.0.14 * Enhance Item component to conditionally render price and update MenusPage to display item prices. Increment package version to 0.0.15.
…filtering instead of the boolean string (#448)
* bump package * create field error component * use form errors * refactor contextsa * render props * fix stuff * use error prop * fix comments * update yarn lock * fix * use error message * bump form-public * bump form-public
…ngs (#453) - Introduced comprehensive documentation for the Menus interface, detailing the architecture and components. - Added context warnings in Root components for Item, Label, Menu, Modifier, ModifierGroup, Section, and Variant to prevent misuse within repeaters. - Updated examples and data attributes for clarity and consistency across components.
* bump package * create field error component * use form errors * refactor contextsa * render props * fix stuff * use error prop * rename to phone * phone field & label * required * error * countrycode * refactor * other stuff * props using context * fix stuff * fix required * remove comment * use useFieldProps * fix stuff * fix phone * remove showLabel usage * bump form-public * format
* [cms] refactor headless remove all components except the root components and filters and sort
* refactor the cms example * initial sort
* [CMS] remove filter props from root and rename reference type * lint
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
headless-ecom: adds data-component-tags
bump ecom -> 0.0.31
lint
fixes
lint
#pr