Add ability to search public sets! Also bump version

Public sets are now paginated and searchable, on a separate search page
This commit is contained in:
2021-11-25 22:04:50 +00:00
parent c0483ea701
commit 866503abf5
5 changed files with 406 additions and 60 deletions

View File

@@ -19,6 +19,7 @@ import MistakesHistory from "./MistakesHistory";
import TermsOfService from "./TermsOfService";
import PrivacyPolicy from "./PrivacyPolicy";
import Button from "./Button";
import SearchSets from './SearchSets';
import { CheckRounded as CheckRoundedIcon } from "@material-ui/icons";
import Loader from "./puff-loader.svg";
@@ -294,6 +295,9 @@ class App extends React.Component {
<Route path="/sets/:setId" exact>
<SetPage db={db} functions={functions} user={this.state.user} logEvent={analytics.logEvent} page={this.page} />
</Route>
<Route path="/search" exact>
<SearchSets db={db} functions={functions} user={this.state.user} logEvent={analytics.logEvent} page={this.page} />
</Route>
<Route path="/groups" exact>
<UserGroups db={db} functions={functions} user={this.state.user} logEvent={analytics.logEvent} page={this.page} />
</Route>