File tree Expand file tree Collapse file tree 3 files changed +46
-9
lines changed
Entity/components/AnalysisMethodsTitle
site-config/brc-analytics/local/entity/genome Expand file tree Collapse file tree 3 files changed +46
-9
lines changed Original file line number Diff line number Diff line change
1
+ import { TEXT_HEADING } from "@databiosphere/findable-ui/lib/theme/common/typography" ;
2
+ import { Typography } from "@mui/material" ;
3
+
4
+ interface AnalysisMethodsTitleProps {
5
+ title : React . ReactNode ;
6
+ }
7
+
8
+ export const AnalysisMethodsTitle = ( {
9
+ title,
10
+ } : AnalysisMethodsTitleProps ) : JSX . Element => {
11
+ return (
12
+ < Typography color = "ink.main" component = "h2" variant = { TEXT_HEADING } >
13
+ { title }
14
+ </ Typography >
15
+ ) ;
16
+ } ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export { Link } from "@databiosphere/findable-ui/lib/components/Links/components
23
23
export { BasicCell } from "@databiosphere/findable-ui/lib/components/Table/components/TableCell/components/BasicCell/basicCell" ;
24
24
export { CopyText } from "./common/CopyText/copyText" ;
25
25
export { AnalysisMethod } from "./Entity/components/AnalysisMethod/analysisMethod" ;
26
+ export { AnalysisMethodsTitle } from "./Entity/components/AnalysisMethodsTitle/analysisMethodsTitle" ;
26
27
export { AnalysisPortals } from "./Entity/components/AnalysisPortals/analysisPortals" ;
27
28
export { DetailViewHero } from "./Layout/components/Detail/components/DetailViewHero/detailViewHero" ;
28
29
export { GridPaperSection } from "./Layout/components/Detail/components/Section/section.styles" ;
Original file line number Diff line number Diff line change @@ -7,6 +7,35 @@ import * as V from "../../../../../app/viewModelBuilders/catalog/brc-analytics-c
7
7
export const mainColumn : ComponentsConfig = [
8
8
{
9
9
children : [
10
+ {
11
+ component : C . AnalysisMethodsTitle ,
12
+ props : {
13
+ title : "Preview" ,
14
+ } ,
15
+ } ,
16
+ {
17
+ component : C . FluidAlert ,
18
+ props : {
19
+ severity : "warning" ,
20
+ title : "Preview." ,
21
+ variant : "banner" ,
22
+ } ,
23
+ } ,
24
+ {
25
+ component : C . AnalysisMethod ,
26
+ viewBuilder : ( r ) =>
27
+ V . buildGenomeAnalysisMethod ( r , {
28
+ analysisMethod : ANALYSIS_METHOD . REGULATION ,
29
+ text : MDX . Regulation ( { } ) ,
30
+ title : "Regulation" ,
31
+ } ) ,
32
+ } ,
33
+ {
34
+ component : C . AnalysisMethodsTitle ,
35
+ props : {
36
+ title : "Coming Soon" ,
37
+ } ,
38
+ } ,
10
39
{
11
40
component : C . FluidAlert ,
12
41
props : {
@@ -34,15 +63,6 @@ export const mainColumn: ComponentsConfig = [
34
63
title : "Transcriptomics" ,
35
64
} ) ,
36
65
} ,
37
- {
38
- component : C . AnalysisMethod ,
39
- viewBuilder : ( r ) =>
40
- V . buildGenomeAnalysisMethod ( r , {
41
- analysisMethod : ANALYSIS_METHOD . REGULATION ,
42
- text : MDX . Regulation ( { } ) ,
43
- title : "Regulation" ,
44
- } ) ,
45
- } ,
46
66
{
47
67
component : C . AnalysisMethod ,
48
68
viewBuilder : ( r ) =>
You can’t perform that action at this time.
0 commit comments