Skip to content
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

Product Collection #42389

Closed
kmanijak opened this issue Apr 27, 2023 · 1 comment
Closed

Product Collection #42389

kmanijak opened this issue Apr 27, 2023 · 1 comment
Assignees
Labels
block: product collection Issues related to the Product Collection block team: Kirigami & Origami type: epic Container issue with high-level description of work that will be done in sprint.

Comments

@kmanijak
Copy link
Contributor

kmanijak commented Apr 27, 2023

Description

This epic covers a work to create a Product Collection block with the functionality of Products (Beta) block but built as a standalone/forked block, not as a variation of Query Loop. That includes foundation work to cover the current Products block functionalities, improvements around Inspector Controls compared to the current Products block, and a set of basic patterns for a new block.

Designs: AtfOeZIFizx7ASmoSUbNjD-fi-55-9579&t=rnEPoeIr070VybIn-0

Technical guidelines/requirements

  • General:
    • Product Collection is a standalone block and NOT a variation
    • Product Collection implementation can be based on Query Loop and Post Template blocks implementation
    • Product Collection should reuse as much of the existing code and must use Product Elements
  • Frontend:
    • Frontend has to be as performant as Products block is (that requires PHP SSR on the frontend)
    • Consider using Interactivity API (TBD)
  • Editor:
    • Inspector Controls should be built with the new structure in mind from the very beginning
    • There still should be an option to inherit the global query

Section added 17 Jul 2023:

Here are the remaining issues split into must-do before release and post-release (not all of issues are mentioned here, only the high priority ones).

BEFORE releasing first version (SP: 20 + PHP Unit Testing):

ROLLOUT:

AFTER releasing first version (SP: 17):


Phases

Here are the next phases of the work with the milestone that describes the end goal of each phase. Phases don't have to be addressed one after another but can overlap with each other. In parallel to the following phases, there will be additional work that still contributes to the Products and Product Collection blocks like bug fixes or Product Element improvements.

1. Exploratory

Foundation work with POC of the block. that includes preparing a base for a block by forking the Query Loop and Post Template and adjusting the logic of the block to be product-centric (e.g. no data over-fetching in Editor etc.)

Milestone: Recognize the technical capabilities, limitations, and potential risks, and provide a block foundation.

Issues:

2. MVP/Beta

Cover the current Products functionality, especially assuring the compatibility of existing settings (like filters in both editor and frontend) or the ability to inherit the global query.

Milestone: Make the Product Collection as usable as Products block.

Issues:

3. Editor: Inspector Controls improvements

Add additional sorting and filtering option.

Milestone: Make Product Collection fully configurable on the Editor side and make Inspector Controls more user-friendly.

Issues:

4. Patterns

Implement a set of basic patterns for Product Collection.

Milestone: User can choose one of the patterns for most common use cases with the preset configuration.

Issues:

5. Remaining work from Products block

There's work that contributes to the both: Products block and Product Collection. This work is a parallel to all to other phases.

Issues:

6. Misc

7. Extras

Additional work extending the basic scope, feature requests etc.

Issues:

8. Bugs

Tasks

No tasks being tracked yet.
@kmanijak kmanijak added type: epic Container issue with high-level description of work that will be done in sprint. block: product collection Issues related to the Product Collection block labels Apr 27, 2023
@ObliviousHarmony ObliviousHarmony transferred this issue from woocommerce/woocommerce-blocks Dec 11, 2023
@kmanijak
Copy link
Contributor Author

Closing in favor of other epics (#42161). This one is not used anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block: product collection Issues related to the Product Collection block team: Kirigami & Origami type: epic Container issue with high-level description of work that will be done in sprint.
Projects
None yet
Development

No branches or pull requests

3 participants