filtering improvements (#692)
+ limit wild west to 3 claims per channel + hide language for now until we can sync homepages + settings
This commit is contained in:
parent
d94f86aec4
commit
e2f414f98c
2 changed files with 7 additions and 8 deletions
|
@ -323,8 +323,8 @@ function ClaimListHeader(props: Props) {
|
|||
</div>
|
||||
)}
|
||||
|
||||
{/* CONTENT_TYPES FIELD */}
|
||||
{!claimType && (
|
||||
{/* CONTENT_TYPES FIELD - display using same logic as showDuration */}
|
||||
{showDuration && (
|
||||
<div
|
||||
className={classnames('claim-search__input-container', {
|
||||
'claim-search__input-container--selected': contentTypeParam,
|
||||
|
@ -368,8 +368,8 @@ function ClaimListHeader(props: Props) {
|
|||
</div>
|
||||
)}
|
||||
|
||||
{/* LANGUAGE FIELD */}
|
||||
{!claimType && (
|
||||
{/* LANGUAGE FIELD - hidden for now */}
|
||||
{false && !claimType && (
|
||||
<div
|
||||
className={classnames('claim-search__input-container', {
|
||||
'claim-search__input-container--selected': shouldHighlight,
|
||||
|
|
|
@ -245,8 +245,8 @@ function DiscoverPage(props: Props) {
|
|||
<ClaimListDiscover
|
||||
prefixUris={useDualList ? undefined : livestreamUris}
|
||||
pins={useDualList ? undefined : getPins(dynamicRouteProps)}
|
||||
hideAdvancedFilter={SIMPLE_SITE}
|
||||
hideFilters={SIMPLE_SITE ? !dynamicRouteProps : undefined}
|
||||
hideAdvancedFilter={SIMPLE_SITE ? tags && dynamicRouteProps : undefined}
|
||||
hideFilters={SIMPLE_SITE ? tags && dynamicRouteProps : undefined}
|
||||
header={useDualList ? <span /> : repostedUri ? <span /> : undefined}
|
||||
tileLayout={repostedUri ? false : tileLayout}
|
||||
defaultOrderBy={SIMPLE_SITE ? (dynamicRouteProps ? undefined : CS.ORDER_BY_TRENDING) : undefined}
|
||||
|
@ -272,8 +272,7 @@ function DiscoverPage(props: Props) {
|
|||
channelIds={channelIds}
|
||||
limitClaimsPerChannel={
|
||||
SIMPLE_SITE
|
||||
? (dynamicRouteProps && dynamicRouteProps.options && dynamicRouteProps.options.limitClaimsPerChannel) ||
|
||||
undefined
|
||||
? (dynamicRouteProps && dynamicRouteProps.options && dynamicRouteProps.options.limitClaimsPerChannel) || 3
|
||||
: 3
|
||||
}
|
||||
meta={!useDualList && getMeta()}
|
||||
|
|
Loading…
Reference in a new issue