woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.39k stars 10.76k forks source link

[Enhancement]: Rename and sort filter options in "Add a filter" in Analytics #46801

Closed ecgan closed 5 months ago

ecgan commented 6 months ago

Describe the solution you'd like

Currently, when we go to Orders Analytics and "Show: Advanced filters", we would see the following "Add a filter" menu options:

image

In this issue, we want to rename the filter menu items and sort them in alphabetical order.

Here's an example:

image

Note that to make this consistent, we should also apply these to Analytics reports with advanced filters, i.e.:

Describe alternatives you've considered

No response

Additional context

Internal P2 discussion: pffQ75-fd-p2#comment-114

ecgan commented 6 months ago

Hi @jonathansadowski , I just noticed that you added team: Kirigami & Origami label to this issue. Note that this issue is part of a discussion in Ventures team, related to epic issue https://github.com/woocommerce/woocommerce/issues/46054. I shall pick up and work on this issue, and I hope that is alright with you. Let me know your thoughts on it. 🙂 🙏