Commit 780ae3a 1 parent bfa65ed commit 780ae3a Copy full SHA for 780ae3a
File tree 4 files changed +0
-31
lines changed
4 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import {
23
23
SEARCH_SORT_TOP_RATED ,
24
24
SEARCH_SORT_TRENDING ,
25
25
VIEW_CONTEXT_HOME ,
26
- VERIFIED_FILTER ,
27
26
} from 'amo/constants' ;
28
27
import { withFixedErrorHandler } from 'amo/errorHandler' ;
29
28
import translate from 'amo/i18n/translate' ;
@@ -172,17 +171,6 @@ export class SearchBase extends React.Component<InternalProps> {
172
171
default :
173
172
title = i18n . gettext ( 'Reviewed add-ons' ) ;
174
173
}
175
- } else if ( filters . promoted === VERIFIED_FILTER ) {
176
- switch ( filters . addonType ) {
177
- case ADDON_TYPE_EXTENSION :
178
- title = i18n . gettext ( 'Verified extensions' ) ;
179
- break ;
180
- case ADDON_TYPE_STATIC_THEME :
181
- title = i18n . gettext ( 'Verified themes' ) ;
182
- break ;
183
- default :
184
- title = i18n . gettext ( 'Verified add-ons' ) ;
185
- }
186
174
}
187
175
} else if ( filters && filters . sort ) {
188
176
switch ( filters . sort ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import {
19
19
SEARCH_SORT_TOP_RATED ,
20
20
SEARCH_SORT_TRENDING ,
21
21
SEARCH_SORT_UPDATED ,
22
- VERIFIED_FILTER ,
23
22
} from 'amo/constants' ;
24
23
import { withErrorHandler } from 'amo/errorHandler' ;
25
24
import log from 'amo/logger' ;
@@ -182,10 +181,6 @@ export class SearchFiltersBase extends React.Component<InternalProps> {
182
181
children : i18n . gettext ( 'By Firefox' ) ,
183
182
value : LINE ,
184
183
} ,
185
- {
186
- children : i18n . gettext ( 'Verified' ) ,
187
- value : VERIFIED_FILTER ,
188
- } ,
189
184
{
190
185
children : i18n . gettext ( 'All Reviewed' ) ,
191
186
value : REVIEWED_FILTER ,
Original file line number Diff line number Diff line change @@ -346,7 +346,6 @@ export const EXCLUDE_WARNING_CATEGORIES = [
346
346
VERIFIED ,
347
347
] ;
348
348
export const REVIEWED_FILTER = 'badged' ;
349
- export const VERIFIED_FILTER = `${ SPONSORED } ,${ VERIFIED } ` ;
350
349
351
350
export type PromotedCategoryType =
352
351
| typeof LINE
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import {
24
24
SEARCH_SORT_TOP_RATED ,
25
25
SEARCH_SORT_POPULAR ,
26
26
SET_VIEW_CONTEXT ,
27
- VERIFIED_FILTER ,
28
27
VIEW_CONTEXT_HOME ,
29
28
} from 'amo/constants' ;
30
29
import { fetchCategories , loadCategories } from 'amo/reducers/categories' ;
@@ -535,18 +534,6 @@ describe(__filename, () => {
535
534
{ type : ADDON_TYPE_LANG , promoted : REVIEWED_FILTER } ,
536
535
'Reviewed add-ons' ,
537
536
] ,
538
- [
539
- { type : ADDON_TYPE_EXTENSION , promoted : VERIFIED_FILTER } ,
540
- 'Verified extensions' ,
541
- ] ,
542
- [
543
- { type : ADDON_TYPE_STATIC_THEME , promoted : VERIFIED_FILTER } ,
544
- 'Verified themes' ,
545
- ] ,
546
- [
547
- { type : ADDON_TYPE_LANG , promoted : VERIFIED_FILTER } ,
548
- 'Verified add-ons' ,
549
- ] ,
550
537
[
551
538
{ type : ADDON_TYPE_EXTENSION , sort : SEARCH_SORT_TRENDING } ,
552
539
'Trending extensions' ,
You can’t perform that action at this time.
0 commit comments