Skip to content

Filtration on All Products page | Synced and Not Synced#2999

Closed
SayanPandey wants to merge 2 commits intofacebook:mainfrom
SayanPandey:SimplifyingFilters
Closed

Filtration on All Products page | Synced and Not Synced#2999
SayanPandey wants to merge 2 commits intofacebook:mainfrom
SayanPandey:SimplifyingFilters

Conversation

@SayanPandey
Copy link
Copy Markdown
Contributor

Filtration on All Products page | Synced and Not Synced

Description

This PR includes the changes of the filtration logic at All Products page

  1. We will simplify it by providing 2 options
  2. Synced will show which facebook items are synced -> both Sync and show and Sync and hide
  3. Not Synced will show which are the products that are previously Do not sync.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I followed general Pull Request best practices. Meta employees to follow this wiki
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests and all the new and existing unit tests pass locally with my changes
  • I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Test Plan

Follow the steps to test:

  1. Make few products
  2. Mark some of them Sync and hide or Sync and show
  3. Mark some as Do not sync
  4. Go to all products page
  5. Look for the filter says Filter by synced to meta
  6. Use it :)

Screenshots

Before

image

After

image

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@SayanPandey has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@SayanPandey has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@SayanPandey has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@SayanPandey merged this pull request in 509fd01.

SayanPandey added a commit to SayanPandey/facebook-for-woocommerce that referenced this pull request Apr 8, 2025
Summary:
# Filtration on All Products page | Synced and Not Synced

## Description

This PR includes the changes of the filtration logic at All Products page
1.  We will simplify it by providing 2 options
2. `Synced` will show which facebook items are synced -> both `Sync and show` and `Sync and hide`
3. `Not Synced` will show which are the products that are previously `Do not sync`.

### Type of change
- [x] New feature (non-breaking change which adds functionality)

## Checklist

- [x] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [x] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Pull Request resolved: facebook#2999

Test Plan:
Follow the steps to test:
1. Make few products
2. Mark some of them `Sync and hide` or `Sync and show`
3. Mark some as `Do not sync`
4. Go to all products page
5. Look for the filter says `Filter by synced to meta`
6. Use it :)

## Screenshots

### Before
![image](https://github.com/user-attachments/assets/4f0dcbc0-b474-46ae-92a8-59f8f052eb0a)

### After
![image](https://github.com/user-attachments/assets/2e859529-6569-49ae-a6dd-4c978dd7e512)

Reviewed By: vinkmeta

Differential Revision: D72311890

Pulled By: SayanPandey

fbshipit-source-id: d9b41f5df799d3ae9b32e9f9532920660baa2da0
vinkmeta pushed a commit that referenced this pull request Apr 13, 2025
Summary:
# Filtration on All Products page | Synced and Not Synced

## Description

This PR includes the changes of the filtration logic at All Products page
1.  We will simplify it by providing 2 options
2. `Synced` will show which facebook items are synced -> both `Sync and show` and `Sync and hide`
3. `Not Synced` will show which are the products that are previously `Do not sync`.

### Type of change
- [x] New feature (non-breaking change which adds functionality)

## Checklist

- [x] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [x] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Pull Request resolved: #2999

Test Plan:
Follow the steps to test:
1. Make few products
2. Mark some of them `Sync and hide` or `Sync and show`
3. Mark some as `Do not sync`
4. Go to all products page
5. Look for the filter says `Filter by synced to meta`
6. Use it :)

## Screenshots

### Before
![image](https://github.com/user-attachments/assets/4f0dcbc0-b474-46ae-92a8-59f8f052eb0a)

### After
![image](https://github.com/user-attachments/assets/2e859529-6569-49ae-a6dd-4c978dd7e512)

Reviewed By: vinkmeta

Differential Revision: D72311890

Pulled By: SayanPandey

fbshipit-source-id: d9b41f5df799d3ae9b32e9f9532920660baa2da0
vahidkay-meta pushed a commit that referenced this pull request Apr 14, 2025
Summary:

This PR includes the changes of the filtration logic at All Products page
1.  We will simplify it by providing 2 options
2. `Synced` will show which facebook items are synced -> both `Sync and show` and `Sync and hide`
3. `Not Synced` will show which are the products that are previously `Do not sync`.

- [x] New feature (non-breaking change which adds functionality)

- [x] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [x] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Pull Request resolved: #2999

Test Plan:
Follow the steps to test:
1. Make few products
2. Mark some of them `Sync and hide` or `Sync and show`
3. Mark some as `Do not sync`
4. Go to all products page
5. Look for the filter says `Filter by synced to meta`
6. Use it :)

![image](https://github.com/user-attachments/assets/4f0dcbc0-b474-46ae-92a8-59f8f052eb0a)

![image](https://github.com/user-attachments/assets/2e859529-6569-49ae-a6dd-4c978dd7e512)

Reviewed By: vinkmeta

Differential Revision: D72311890

Pulled By: SayanPandey

fbshipit-source-id: d9b41f5df799d3ae9b32e9f9532920660baa2da0
mradmeta pushed a commit that referenced this pull request Apr 14, 2025
Summary:
# Filtration on All Products page | Synced and Not Synced

## Description

This PR includes the changes of the filtration logic at All Products page
1.  We will simplify it by providing 2 options
2. `Synced` will show which facebook items are synced -> both `Sync and show` and `Sync and hide`
3. `Not Synced` will show which are the products that are previously `Do not sync`.

### Type of change
- [x] New feature (non-breaking change which adds functionality)

## Checklist

- [x] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [x] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Pull Request resolved: #2999

Test Plan:
Follow the steps to test:
1. Make few products
2. Mark some of them `Sync and hide` or `Sync and show`
3. Mark some as `Do not sync`
4. Go to all products page
5. Look for the filter says `Filter by synced to meta`
6. Use it :)

## Screenshots

### Before
![image](https://github.com/user-attachments/assets/4f0dcbc0-b474-46ae-92a8-59f8f052eb0a)

### After
![image](https://github.com/user-attachments/assets/2e859529-6569-49ae-a6dd-4c978dd7e512)

Reviewed By: vinkmeta

Differential Revision: D72311890

Pulled By: SayanPandey

fbshipit-source-id: d9b41f5df799d3ae9b32e9f9532920660baa2da0
rubycalling pushed a commit that referenced this pull request Apr 16, 2025
Summary:
# Filtration on All Products page | Synced and Not Synced

## Description

This PR includes the changes of the filtration logic at All Products page
1.  We will simplify it by providing 2 options
2. `Synced` will show which facebook items are synced -> both `Sync and show` and `Sync and hide`
3. `Not Synced` will show which are the products that are previously `Do not sync`.

### Type of change
- [x] New feature (non-breaking change which adds functionality)

## Checklist

- [x] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [x] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Pull Request resolved: #2999

Test Plan:
Follow the steps to test:
1. Make few products
2. Mark some of them `Sync and hide` or `Sync and show`
3. Mark some as `Do not sync`
4. Go to all products page
5. Look for the filter says `Filter by synced to meta`
6. Use it :)

## Screenshots

### Before
![image](https://github.com/user-attachments/assets/4f0dcbc0-b474-46ae-92a8-59f8f052eb0a)

### After
![image](https://github.com/user-attachments/assets/2e859529-6569-49ae-a6dd-4c978dd7e512)

Reviewed By: vinkmeta

Differential Revision: D72311890

Pulled By: SayanPandey

fbshipit-source-id: d9b41f5df799d3ae9b32e9f9532920660baa2da0
@tzahgr tzahgr mentioned this pull request Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants