This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RangeSlider | |
dataField="stars_num" | |
componentId="stars" | |
title="Repo Stars" | |
:range="{ | |
start: 0, | |
end: 300000 | |
}" | |
:defaultSelected="{ | |
start: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div slot="render" slot-scope="{ loading, error, data }"> | |
<div v-if="loading">Fetching Results.</div> | |
<div v-if="Boolean(error)"> | |
Something went wrong! Error details | |
{{ JSON.stringify(error) }} | |
</div> | |
<div v-bind:key="item._id" v-for="item in data"> | |
<div key="{{item.name}}" class="result-item"> | |
<div class="flex align-center result-card-header"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ReactiveList | |
componentId="results" | |
:includeFields="['*']" | |
dataField="name.keyword" | |
:pagination="true" | |
:from="0" | |
:size="6" | |
:innerClass="{ | |
list: 'result-list-container', | |
pagination: 'result-list-pagination', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SearchBox | |
componentId="search-box" | |
iconPosition="right" | |
:dataField="[ | |
'name', | |
'description', | |
'name.search', | |
'fullname', | |
'owner', | |
'topics', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
componentId="search-box" | |
iconPosition="right" | |
:dataField="[ | |
'original_title', | |
'original_title.search', | |
'authors.search', | |
'authors.raw', | |
'authors.autosuggest', | |
'authors', | |
]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<section class="container"> | |
<ReactiveBase | |
app="gitxplore-app" | |
credentials="0f448043059d:a4264120-cd7a-4574-a449-2c5df0523cb1" | |
url="https://appbase-demo-ansible-abxiydt-arc.searchbase.io" | |
enableAppbase | |
> | |
</ReactiveBase> | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ReactiveList | |
defaultQuery={() => ({ track_total_hits: true })} | |
componentId="results" | |
dataField={[ | |
{ field: "original_title", weight: 3 }, | |
{ field: "original_title.search", weight: 2 }, | |
]} | |
react={{ | |
and: [ | |
"mainSearch", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MultiDataList | |
componentId="language-list" | |
dataField="original_language.keyword" | |
className="language-filter" | |
size={100} | |
sortBy="asc" | |
queryFormat="or" | |
selectAllLabel="All Languages" | |
showCheckbox={true} | |
showSearch={true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RangeSlider | |
componentId="RangeSlider" | |
dataField="vote_average" | |
className="review-filter" | |
tooltipTrigger="hover" | |
range={{ | |
start: 0, | |
end: 10, | |
}} | |
rangeLabels={{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MultiList | |
componentId="genres-list" | |
dataField="genres.keyword" | |
className="genres-filter" | |
size={20} | |
sortBy="asc" | |
queryFormat="or" | |
selectAllLabel="All Genres" | |
showCheckbox={true} | |
showCount={true} |
NewerOlder