Skip to content

Commit 760e0b0

Browse files
committed
more examples
1 parent 351df12 commit 760e0b0

56 files changed

Lines changed: 66 additions & 65 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lasso/src/pages/hub.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const HubPage = () => {
2121
setShowLslEditor(true)
2222
setShowSrmAnalysis(false)
2323

24-
if(editorRef.current) {
24+
if (editorRef.current) {
2525
editorRef.current.getModel().setValue(HubExamples.MAP[exampleId].lsl);
2626
}
2727

28-
window.scrollTo({ top: 0, left: 0})
28+
window.scrollTo({ top: 0, left: 0 })
2929
};
3030

3131
const handleSRMClick = (exampleId: string) => {
@@ -34,11 +34,11 @@ const HubPage = () => {
3434
setShowLslEditor(false)
3535
setShowSrmAnalysis(true)
3636

37-
if(editorRef.current) {
37+
if (editorRef.current) {
3838
editorRef.current.getModel().setValue(HubExamples.MAP[exampleId].lsl);
3939
}
4040

41-
window.scrollTo({ top: 0, left: 0})
41+
window.scrollTo({ top: 0, left: 0 })
4242
};
4343

4444
const editorRef = useRef<any>(null);
@@ -58,13 +58,13 @@ const HubPage = () => {
5858
<meta name="description" content="A hub for TDSEs" />
5959
</Head>
6060

61-
<Typography sx={{margin: 2}} variant="h5" component="div">TDSEHub<Typography variant="h6" component="div">Explore LSL Pipelines and their SRMs</Typography></Typography>
62-
61+
<Typography sx={{ margin: 2 }} variant="h5" component="div">TDSEHub<Typography variant="h6" component="div">Explore LSL Pipelines and their SRMs</Typography></Typography>
62+
6363

6464
<Grid container spacing={2}>
6565

6666
<Grid size={3}>
67-
{/* <Box style={{maxHeight: '100vh', overflow: 'auto'}}> */}
67+
{/* <Box style={{maxHeight: '100vh', overflow: 'auto'}}> */}
6868
{Object.keys(HubExamples.MAP).map((key) => (
6969
<><Card sx={{ minWidth: 275, margin: 2 }}>
7070
<CardContent>
@@ -86,13 +86,14 @@ const HubPage = () => {
8686
{/* </Box> */}
8787
</Grid>
8888
<Grid size={9}>
89-
{ currentExampleId ? <Typography sx={{margin: 2}} variant="h5" component="div"><Typography variant="h6" component="div">Study '{HubExamples.MAP[currentExampleId].label}'</Typography></Typography> : null }
89+
{currentExampleId ? <Typography sx={{ margin: 2 }} variant="h5" component="div"><Typography variant="h6" component="div">Study '{HubExamples.MAP[currentExampleId].label}'</Typography></Typography> : null}
9090

9191
{showLslEditor ?
9292
<><CardContent>
93-
<Typography sx={{margin: 2}} variant="h5" component="div">LSL Pipeline Viewer<Typography variant="h6" component="div">Explore the study and actions</Typography></Typography>
94-
93+
<Typography sx={{ margin: 2 }} variant="h5" component="div">LSL Pipeline Viewer<Typography variant="h6" component="div">Explore the study and actions</Typography></Typography>
94+
<Typography sx={{ color: 'text.secondary', mb: 1.5 }}>{HubExamples.MAP[currentExampleId].description}</Typography>
9595
<Typography variant="h5" component="div">
96+
<Button sx={{ float: "right" }} disabled>Try (coming soon)</Button>
9697
<Editor
9798
height="500px"
9899
defaultLanguage="java"

web/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="generator" content="Docusaurus v3.4.0">
66
<title data-rh="true">Page Not Found | LASSO</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://softwareobservatorium.github.io/web/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://softwareobservatorium.github.io/web/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://softwareobservatorium.github.io/web/404.html"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Page Not Found | LASSO"><link data-rh="true" rel="icon" href="/web/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://softwareobservatorium.github.io/web/404.html"><link data-rh="true" rel="alternate" href="https://softwareobservatorium.github.io/web/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://softwareobservatorium.github.io/web/404.html" hreflang="x-default"><link rel="alternate" type="application/rss+xml" href="/web/blog/rss.xml" title="LASSO RSS Feed">
77
<link rel="alternate" type="application/atom+xml" href="/web/blog/atom.xml" title="LASSO Atom Feed"><link rel="stylesheet" href="/web/assets/css/styles.0cf5414e.css">
8-
<script src="/web/assets/js/runtime~main.95f7aeb1.js" defer="defer"></script>
8+
<script src="/web/assets/js/runtime~main.373f8e8d.js" defer="defer"></script>
99
<script src="/web/assets/js/main.5510cc49.js" defer="defer"></script>
1010
</head>
1111
<body class="navigation-with-keyboard">

web/about/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="generator" content="Docusaurus v3.4.0">
66
<title data-rh="true">About LASSO | LASSO</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://softwareobservatorium.github.io/web/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://softwareobservatorium.github.io/web/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://softwareobservatorium.github.io/web/about"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="About LASSO | LASSO"><meta data-rh="true" name="description" content="Team / Authors"><meta data-rh="true" property="og:description" content="Team / Authors"><link data-rh="true" rel="icon" href="/web/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://softwareobservatorium.github.io/web/about"><link data-rh="true" rel="alternate" href="https://softwareobservatorium.github.io/web/about" hreflang="en"><link data-rh="true" rel="alternate" href="https://softwareobservatorium.github.io/web/about" hreflang="x-default"><link rel="alternate" type="application/rss+xml" href="/web/blog/rss.xml" title="LASSO RSS Feed">
77
<link rel="alternate" type="application/atom+xml" href="/web/blog/atom.xml" title="LASSO Atom Feed"><link rel="stylesheet" href="/web/assets/css/styles.0cf5414e.css">
8-
<script src="/web/assets/js/runtime~main.95f7aeb1.js" defer="defer"></script>
8+
<script src="/web/assets/js/runtime~main.373f8e8d.js" defer="defer"></script>
99
<script src="/web/assets/js/main.5510cc49.js" defer="defer"></script>
1010
</head>
1111
<body class="navigation-with-keyboard">
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)