Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.98k forks source link

Marketplace: Add a Paid/Free filter #60619

Open Robertght opened 2 years ago

Robertght commented 2 years ago

What

I noticed we have Free and Paid/Premium plugins, therefore it would be a really nice addition to be able to filter the plugins based on the Free/Paid(Premium) state.

Why

This could help users find the needed functionality and quickly gain access to Premium plugins features.

How

Rought example:

image

allilevine commented 2 years ago

This seems like it would be low impact after https://github.com/Automattic/wp-calypso/pull/61102 and https://github.com/Automattic/wp-calypso/pull/61098 make it easier to access the free plugin list.

gcsecsey commented 2 years ago

@SaxonF do you think we should still pursue this? If so, could you help with the filter desings?

SaxonF commented 2 years ago

We've been looking at filtering patterns as part of the theme showcase work which would also be appropriate here pdh6GB-Jz-p2. Work on plugin category filter has already started so when the time is right we can also introduce a price filter if it makes sense.

cpapazoglou commented 2 years ago

@SaxonF can adjust this to the current Plugins page? Will we minimise the categories width so that we can accommodate the filters?

CleanShot 2022-09-15 at 16 27 44@2x

cpapazoglou commented 2 years ago

Or we can add the filter only in search results

CleanShot 2022-09-15 at 16 28 47@2x

epeicher commented 2 years ago

Backlog grooming discussion: We can approach this task filtering in the front end based on the endpoint used. This will also add the UI component. Once we've got free and paid results served from Elasticsearch we can create another task and switch to filter in the backend