-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This flattens out the search page.
- Loading branch information
Showing
11 changed files
with
7,037 additions
and
51 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
import Page from "../components/SearchPage" | ||
import { getCytoBands } from "../utils/genome" | ||
export default Page | ||
import React from "react" | ||
import { Layout } from "../components/Layout" | ||
import BiosamplesSearchPanel from "../components/searchForm/BiosamplesSearchPanel" | ||
import parametersConfig from "../config/beaconSearchParameters.yaml" | ||
import beaconQueryTypes from "../config/beaconQueryTypes.yaml" | ||
import requestTypeExamples from "../config/beaconSearchExamples.yaml" | ||
|
||
// This function gets called at build time on server-side. | ||
export const getStaticProps = async () => ({ | ||
props: { | ||
cytoBands: await getCytoBands() | ||
} | ||
}) | ||
export default function Page() { | ||
return ( | ||
<Layout title="Search Samples" headline=""> | ||
<BiosamplesSearchPanel | ||
parametersConfig={parametersConfig} | ||
beaconQueryTypes={beaconQueryTypes} | ||
requestTypeExamples={requestTypeExamples} | ||
collapsed={false} | ||
/> | ||
</Layout> | ||
) | ||
} |
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