Do not include current extension in 'Other popular extensions' #22946
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: mozilla/addons#1569
Description
Filters out the current extension from 'other popular extensions' when using the fallback extensions.
![image](https://private-user-images.githubusercontent.com/44586776/395615473-a53e3b71-d60e-4cd3-85c0-ae700400c623.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjE3MDIsIm5iZiI6MTczODk2MTQwMiwicGF0aCI6Ii80NDU4Njc3Ni8zOTU2MTU0NzMtYTUzZTNiNzEtZDYwZS00Y2QzLTg1YzAtYWU3MDA0MDBjNjIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIwNTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0ZDEwZTU5NGQwYzYyNjhiZGIzZDhhMjUxNzY5MjAzNDMxYjI5OTVkNjYzZWJlZTVlYjM1NDMzN2E5NzRiZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8un23g8FgJd3X5t6AGU8IqGBfGHeBTVP02K7paIBfBA)
![image](https://private-user-images.githubusercontent.com/44586776/395615497-bc426421-9ad4-4217-b646-0e76bc36cc12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjE3MDIsIm5iZiI6MTczODk2MTQwMiwicGF0aCI6Ii80NDU4Njc3Ni8zOTU2MTU0OTctYmM0MjY0MjEtOWFkNC00MjE3LWI2NDYtMGU3NmJjMzZjYzEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIwNTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU5MmZhYTYzYTEzYzVkZjc3OWM5NmY2MmVmM2NlMjBiNzhmMTYxNmZjMTUyOWI2MDk3MWQ0MTJhMmZlMTQ1ZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2vsVQtC1JbiT7MocYloYSK1htx-feCezcxsHyaQLuMw)
Testing
TAAR_LITE_FALLBACKS
uses GUIDs from production, so I'm actually unsure what the proper way of testing this should be. You can mimick the behaviour locally by replacing the GUIDs inTAAR_LITE_FALLBACKS
with local ones (similar to the screenshot)Checklist
#ISSUENUM
at the top of your PR to an existing open issue in the mozilla/addons repository.