Skip to content

Commit

Permalink
migration info
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Feb 18, 2025
1 parent d7962e6 commit 80f7c76
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useEffect } from "react";
import SettingsIcon from "@mui/icons-material/Settings";
import {
AppBar,
Button,
IconButton,
Toolbar,
Tooltip,
Expand Down Expand Up @@ -227,6 +228,25 @@ const AppContent = () => {
<SettingsIcon />
</IconButton>
</Tooltip>
<Button
color="inherit"
onClick={() => {
window.open(
"https://github.com/flatironinstitute/neurosift/blob/main/doc/neurosift_v2_migration.md",
"_blank",
);
}}
sx={{
ml: 2,
textTransform: "none",
border: "1px solid rgba(255, 255, 255, 0.3)",
"&:hover": {
border: "1px solid rgba(255, 255, 255, 0.6)",
},
}}
>
Neurosift was updated
</Button>
<Tooltip title="View this in Neurosift v1">
<IconButton
color="inherit"
Expand All @@ -235,7 +255,7 @@ const AppContent = () => {
const path = loc.pathname;
const search = loc.search;

let v1Url = "https://neurosift.app";
let v1Url = "https://v1.neurosift.app";

if (path === "/dandi") {
v1Url += "?p=/dandi";
Expand Down

0 comments on commit 80f7c76

Please sign in to comment.