Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Add/11823 hide filters per collection #12122

Closed
wants to merge 128 commits into from

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    9584744 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    815cbc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe7f5dc View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    8565738 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5a0313 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbeb508 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5decf65 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    104bf1f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8fb526f View commit details
    Browse the repository at this point in the history
  7. Add README.md

    kmanijak committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    b663694 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8fa4dd6 View commit details
    Browse the repository at this point in the history
  9. Improve the README.md

    kmanijak committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    feddf81 View commit details
    Browse the repository at this point in the history
  10. Improve the README.md

    kmanijak committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    2d1b558 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6cec5e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Fix typo and update placeholder instruction in product-collection

    1. Corrected a typographical error in the `README.md` file, changing "registred" to "registered".
    2. Updated the instruction text presented in the `product-collection-placeholder.tsx` file to offer clearer guidance for users.
    imanish003 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    1ac3c57 View commit details
    Browse the repository at this point in the history
  2. Refactor Product Collection block and update New Arrivals collection

    - Updated the New Arrivals collection's default attributes to refine the block's appearance and content structure:
      - Reduced the default number of columns from 5 to 3
      - Set the default number of items per page to 9
      - Adjusted the collection attribute to reference the collection name dynamically
      - Replaced the hardcoded inner blocks template with a more dynamic structure, introducing a welcoming message and centralized product template usage
    - Refactored constants.ts to create distinct inner block templates for product, pagination, and no-results scenarios, enhancing reusability across different collections and improving code readability with descriptive comments
    
    Note:
    The changes aim to streamline the New Arrivals collection setup and facilitate maintainability through a more dynamic and structured approach to inner block templates.
    imanish003 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    76a88a5 View commit details
    Browse the repository at this point in the history
  3. Refactor: Rename QueryEditComponentProps to ProductCollectionEditComp…

    …onentProps and update props usage
    
    - Renamed the `QueryEditComponentProps` type to `ProductCollectionEditComponentProps` to better match the Product Collection block context. Updated all occurrences in various files to maintain consistency.
    - Changed `openPatternSelectionModalOpen` prop to `openPatternSelectionModal` to correct the typo and make the naming more intuitive. Updated its usage in different files accordingly.
    imanish003 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    6ee03ae View commit details
    Browse the repository at this point in the history
  4. Minor improvements

    imanish003 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    815e6e6 View commit details
    Browse the repository at this point in the history
  5. Refactor: Rename QueryPlaceholder component and update imports and co…

    …mments
    
    - Renamed `QueryPlaceholder` component to `ProductCollectionPlaceholder` to better describe the component in the context of the Product Collection block.
    - Adjusted the import statements to group WordPress dependencies together and highlighted a TypeScript expectation error regarding missing Gutenberg types with `@ts-expect-error`.
    imanish003 committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    6ab7b6a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Refactor: Use block.json properties and enhance pattern selection modal

    This commit introduces several improvements and refactors to the `product-collection` block:
    
    - Utilized `block.json` for defining the block name in various files to centralize the block's configuration, making the codebase easier to maintain.
    - Moved and renamed `PatternSelectionModal.tsx` file to streamline the file structure and reflect its usage accurately.
    - Refactored the `PatternSelectionModal.tsx` file to:
       - Enhance type definitions and deal with missing TypeScript definitions using `@ts-expect-error`.
       - Update the import paths due to file relocations.
       - Streamline function names and parameters for better readability and understanding.
       - Change the modal title and category to reflect that users are choosing a "collection" rather than a "pattern".
    - Improved `PatternSelectionModal` to use `block.json` name and category properties, promoting maintainability and adherence to DRY principle.
    - Refactored `PatternSelectionModal` functions to construct the block query and apply it to patterns more robustly.
    - Updated `product-collection-placeholder.tsx` to use block name from `block.json`.
    - In `pattern-chooser-toolbar.tsx`, updated button label to indicate "Choose collection" instead of "Choose pattern" to maintain consistency with other changes.
    - Removed redundant filter addition in `inspector-controls/index.tsx`.
    imanish003 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    9768354 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Resolve conflicts

    imanish003 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    8554ed6 View commit details
    Browse the repository at this point in the history
  2. Resolve conflicts

    imanish003 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1c97714 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef16e22 View commit details
    Browse the repository at this point in the history
  4. Minor improvement

    imanish003 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    49a5a8f View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Update modal title and placeholder button text

    1. Changes the title in the pattern selection modal from 'Choose a pattern' to 'Choose a collection'.
    2. Updates the button text in the product collection placeholder from 'Add default Product Collection' to 'Use default collection'.
    
    These changes aim to provide clearer instruction and terminology to the user.
    imanish003 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    e72a104 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    3df3e3f View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary todo

    kmanijak committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    af4c3fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bce89e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38bdcda View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    174515a View commit details
    Browse the repository at this point in the history
  6. Add the padding top between Product Collection selection modal previe…

    …ws to give it more space
    kmanijak committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    0b57b89 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6aa5175 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1b8bb2f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ddae428 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    2c1a477 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    9d841f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    264e82e View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    a37a9ba View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Rename with containing Pattern Selection Modal as it changes its purp…

    …ose to Collection Selection Moda;l
    kmanijak committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    5d54dcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fc1a97 View commit details
    Browse the repository at this point in the history
  3. Simplify New Arrivals structure to just Product Collection block

    Remove surrounding elements from New Arrivals Collection: heading and paragraph
    kmanijak committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    87b7f14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9b2312 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    18956d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Configuration menu
    Copy the full SHA
    149fee7 View commit details
    Browse the repository at this point in the history
  2. Temporary

    kmanijak committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ef75cc3 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    4e78a83 View commit details
    Browse the repository at this point in the history
  2. Cleanup

    kmanijak committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c112964 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5771518 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    fa46395 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    c98525d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9769b17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e58e9a View commit details
    Browse the repository at this point in the history
  4. Add Best Sellers collection

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    71e185b View commit details
    Browse the repository at this point in the history
  5. Add Featured collection

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    2009efd View commit details
    Browse the repository at this point in the history
  6. Add On Sale collection

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    ad52a49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    10360a1 View commit details
    Browse the repository at this point in the history
  8. Add Top Rated collection

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    f2e27fe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    07f824d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8dee843 View commit details
    Browse the repository at this point in the history
  11. Fix incorrect import

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    b633f96 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3248853 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d37c041 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8d6abb6 View commit details
    Browse the repository at this point in the history
  15. Add styles to Modal buttons

    kmanijak committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    2faeccd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    92bad6f View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    d0346a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b64502f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10c0fe0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc9b4df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bb7d02 View commit details
    Browse the repository at this point in the history
  6. Simplify Default Query case

    kmanijak committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    b26c6d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b8b34b2 View commit details
    Browse the repository at this point in the history
  8. Add headings to collections

    kmanijak committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    25c068e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    590a762 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f6b00a6 View commit details
    Browse the repository at this point in the history
  11. Improve typing

    kmanijak committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    42b56d3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c2f0288 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Add frameLocator to tests

    kmanijak committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    bed592f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3178339 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    badf4aa View commit details
    Browse the repository at this point in the history
  2. Additional fix to tests

    kmanijak committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9837826 View commit details
    Browse the repository at this point in the history
  3. E2E try

    kmanijak committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    36e1f97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7c094c View commit details
    Browse the repository at this point in the history
  5. Adjust test to collection

    kmanijak committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    bba6845 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Add E2E tests to Collections

    kmanijak committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    5c52a3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c855fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9712641 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0804ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff42e8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6cd4496 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4661e48 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    048a45c View commit details
    Browse the repository at this point in the history
  2. Improvements after merge

    kmanijak committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    a2c0cba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    037410f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0503847 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b846a54 View commit details
    Browse the repository at this point in the history
  6. Fix Modal styles on Firefox

    kmanijak committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    bef9462 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    41df492 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Configuration menu
    Copy the full SHA
    838770d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7509e5e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    677d1e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    3fe5e9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9446ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78dacf2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89064e5 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    945924a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d70b1ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    592f5a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cd888ee View commit details
    Browse the repository at this point in the history
  5. Update tests

    kmanijak committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    2c0d51f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be274ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    853065a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    279c20b View commit details
    Browse the repository at this point in the history
  9. Fix README typos

    kmanijak committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    c27d4fc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0a9b043 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    2b482fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e609230 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    8f3fbc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b622b61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aca352b View commit details
    Browse the repository at this point in the history
  4. Revert lines swap

    kmanijak committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1ffe028 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    692e49b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'add/10822-new-flow-for-product-collection' into add/118…

    …23-hide-filters-per-collection
    kmanijak committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    6181180 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bb072f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79936bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab897f1 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'add/10822-new-flow-for-product-collection' into add/118…

    …23-hide-filters-per-collection
    kmanijak committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    ebbe4ff View commit details
    Browse the repository at this point in the history
  7. Fix conflict

    kmanijak committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    bf2251d View commit details
    Browse the repository at this point in the history