Skip to content

Commit

Permalink
update AISearch to include Discovery Page
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrbarnes committed Apr 17, 2024
1 parent ecceb76 commit 6cd0c99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/brh/login.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
],
"image": "images/brh/gene_bgy.png",
"email": "[email protected]",
"showCredentialsLogin" : true
"showCredentialsLogin" : false
}
2 changes: 1 addition & 1 deletion config/brh/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"icon": "gen3:aisearch",
"href": "/AISearch",
"name": "AI Search - beta",
"name": "AI Search - Beta",
"tooltip": "Use AI Based search to find relevant studies using a chat-like interface."
},
{
Expand Down
10 changes: 7 additions & 3 deletions src/pages/AISearch.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import {
AiSearchPage,
AISearchPageGetServerSideProps as getServerSideProps,
DiscoveryPage,
DiscoveryPageGetServerSideProps as getServerSideProps,
} from '@gen3/frontend';
import { registerDiscoveryCustomCellRenderers } from '@/lib/Discovery/CustomCellRenderers';
import { registerDiscoveryStudyPreviewRenderers } from '@/lib/Discovery/CustomRowRenderers';

registerDiscoveryCustomCellRenderers();
registerDiscoveryStudyPreviewRenderers();

export default AiSearchPage;
export default DiscoveryPage;

export { getServerSideProps };

0 comments on commit 6cd0c99

Please sign in to comment.