diff --git a/.clinerules b/.clinerules index 57cb066e..6066820d 100644 --- a/.clinerules +++ b/.clinerules @@ -59,3 +59,5 @@ When asked to do something, first take a look around the project by reading as m When asked to make a python script to explore something, make a .py file with a notebook style using "# %%" markers. Make some meaningful cells to be executed. Be sure to include a "# %%" on the first line before the imports. This repo is at https://github.com/flatironinstitute/neurosift + +After completing any task, ask the user if they want you to update the changelog, and if so, edit CHANGELOG.md accordingly. diff --git a/CHANGELOG.md b/CHANGELOG.md index ccfeba8e..2cd2e6b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## February 18, 2025 - Added support for hide=1 query parameter - Migration to v2 deployed +- Added external website links to DANDI and OpenNeuro browser pages ## February 17, 2025 - Added SNIRF file support with HDF5 viewer integration diff --git a/README.md b/README.md index 494c4bad..e00b9fd3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # neurosift (v2) -Neurosift is a browser-based tool designed for the visualization of neuroscience data with a focus on NWB (Neurodata Without Borders) filesy, and enables interactive exploration of the [DANDI Archive](https://dandiarchive.org/) and [OpenNeuro](https://openneuro.org/) online repositories. +Neurosift is a browser-based tool designed for the visualization of neuroscience data with a focus on NWB (Neurodata Without Borders) files, and enables interactive exploration of the [DANDI Archive](https://dandiarchive.org/) and [OpenNeuro](https://openneuro.org/) online repositories. This branch contains the new (v2) version of neurosift. The previous (v1) version is available on the [main branch](https://github.com/flatironinstitute/neurosift/tree/main). diff --git a/src/pages/DandiPage/DandiPage.tsx b/src/pages/DandiPage/DandiPage.tsx index a487c516..bec08701 100644 --- a/src/pages/DandiPage/DandiPage.tsx +++ b/src/pages/DandiPage/DandiPage.tsx @@ -8,7 +8,9 @@ import { Stack, FormControlLabel, Switch, + Link, } from "@mui/material"; +import LaunchIcon from "@mui/icons-material/Launch"; import SearchIcon from "@mui/icons-material/Search"; import HistoryIcon from "@mui/icons-material/History"; import DandisetSearchResult from "./DandisetSearchResult"; @@ -117,10 +119,14 @@ const DandiPage: FunctionComponent = ({ width, height }) => { DANDI Archive Browser - - Browse and visualize datasets from the DANDI neuroscience data - archive. - + + + Visit DANDI Archive website + + {recentDandisets.length > 0 && ( diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx index 9e11fe68..de67cfaa 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/pages/HomePage/HomePage.tsx @@ -17,13 +17,13 @@ const HomePage: FunctionComponent = ({ width, height }) => { - Welcome to Neurosift (v2) + Welcome to Neurosift - Neurosift is a browser-based tool designed for the visualization and - processing of NWB (Neurodata Without Borders) files, whether stored - locally or hosted remotely, and enables interactive exploration and - analysis of the online repositories such as DANDI Archive. + Neurosift is a browser-based tool designed for the visualization of + neuroscience data with a focus on NWB (Neurodata Without Borders) + files, and enables interactive exploration of the DANDI Archive and + OpenNeuro online repositories. diff --git a/src/pages/OpenNeuroPage/OpenNeuroPage.tsx b/src/pages/OpenNeuroPage/OpenNeuroPage.tsx index d7b8849f..e32e36e1 100644 --- a/src/pages/OpenNeuroPage/OpenNeuroPage.tsx +++ b/src/pages/OpenNeuroPage/OpenNeuroPage.tsx @@ -6,7 +6,9 @@ import { Button, Chip, Stack, + Link, } from "@mui/material"; +import LaunchIcon from "@mui/icons-material/Launch"; import SearchIcon from "@mui/icons-material/Search"; import HistoryIcon from "@mui/icons-material/History"; import { FunctionComponent, useCallback, useEffect, useState } from "react"; @@ -196,10 +198,14 @@ const OpenNeuroPage: FunctionComponent = ({ OpenNeuro Browser - - Browse and visualize datasets from OpenNeuro, an open platform for - sharing neuroimaging data. - + + + Visit OpenNeuro website + + {recentDatasets.length > 0 && (