- The NWB GUIDE walks users step-by-step through all the requirements for converting their data to the
- NWB format and uploading datasets to the DANDI Archive. Each stage is designed to conveniently guide
- users through the conversion process and include all necessary information such that no prior
- knowledge of the NWB data standard is required.
-
this.to(1)}">
+
+
+
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js b/src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
index ddbd278eb..ae5b9034b 100644
--- a/src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion",
+ activePage: "//",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedStart.stories.js b/src/renderer/src/stories/pages/guided-mode/GuidedStart.stories.js
index 0453a2854..1a812dcb2 100644
--- a/src/renderer/src/stories/pages/guided-mode/GuidedStart.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/GuidedStart.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/start",
+ activePage: "//start",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Locate.stories.js b/src/renderer/src/stories/pages/guided-mode/Locate.stories.js
index af533c5ec..1cd557b56 100644
--- a/src/renderer/src/stories/pages/guided-mode/Locate.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Locate.stories.js
@@ -9,7 +9,7 @@ export default {
export const Invalid = PageTemplate.bind({});
Invalid.args = {
- activePage: "conversion/locate",
+ activePage: "//locate",
globalState,
};
@@ -24,6 +24,6 @@ validGlobalState.structure.results = {
};
Valid.args = {
- activePage: "conversion/locate",
+ activePage: "//locate",
globalState: validGlobalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Metadata.stories.js b/src/renderer/src/stories/pages/guided-mode/Metadata.stories.js
index 54f0cafba..5682128d1 100644
--- a/src/renderer/src/stories/pages/guided-mode/Metadata.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Metadata.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/metadata",
+ activePage: "//metadata",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js b/src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
index dcbc8cda7..22a645274 100644
--- a/src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/details",
+ activePage: "//details",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Preview.stories.js b/src/renderer/src/stories/pages/guided-mode/Preview.stories.js
index e04431df1..0cb3fdfc6 100644
--- a/src/renderer/src/stories/pages/guided-mode/Preview.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Preview.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/preview",
+ activePage: "//preview",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Review.stories.js b/src/renderer/src/stories/pages/guided-mode/Review.stories.js
index 28ec3a26d..c21f5a3de 100644
--- a/src/renderer/src/stories/pages/guided-mode/Review.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Review.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/review",
+ activePage: "//review",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js b/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js
index ece96d0fb..076277682 100644
--- a/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js
@@ -48,7 +48,7 @@ export default {
},
};
-const activePage = "conversion/sourcedata";
+const activePage = "//sourcedata";
const globalStateCopy = JSON.parse(JSON.stringify(globalState));
globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface =
diff --git a/src/renderer/src/stories/pages/guided-mode/Structure.stories.js b/src/renderer/src/stories/pages/guided-mode/Structure.stories.js
index f7426c335..342b83ecc 100644
--- a/src/renderer/src/stories/pages/guided-mode/Structure.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Structure.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/structure",
+ activePage: "//structure",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Subjects.stories.js b/src/renderer/src/stories/pages/guided-mode/Subjects.stories.js
index a14a1f199..ffdbf3161 100644
--- a/src/renderer/src/stories/pages/guided-mode/Subjects.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Subjects.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/subjects",
+ activePage: "//subjects",
globalState,
};
diff --git a/src/renderer/src/stories/pages/guided-mode/Upload.stories.js b/src/renderer/src/stories/pages/guided-mode/Upload.stories.js
index 3c4e40377..e6733eb46 100644
--- a/src/renderer/src/stories/pages/guided-mode/Upload.stories.js
+++ b/src/renderer/src/stories/pages/guided-mode/Upload.stories.js
@@ -9,6 +9,6 @@ export default {
export const Default = PageTemplate.bind({});
Default.args = {
- activePage: "conversion/upload",
+ activePage: "//upload",
globalState,
};
diff --git a/src/renderer/src/stories/pages/inspect/InspectPage.js b/src/renderer/src/stories/pages/inspect/InspectPage.js
index 2af384687..06cbc9570 100644
--- a/src/renderer/src/stories/pages/inspect/InspectPage.js
+++ b/src/renderer/src/stories/pages/inspect/InspectPage.js
@@ -15,8 +15,8 @@ export class InspectPage extends Page {
}
header = {
- title: "NWB Inspector Report",
- subtitle: "This page allows you to inspect NWB files using the NWB Inspector.",
+ title: "NWB File Validation",
+ subtitle: "Inspect NWB files using the NWB Inspector.",
};
showReport = async (value) => {
diff --git a/src/renderer/src/stories/pages/preview/PreviewPage.js b/src/renderer/src/stories/pages/preview/PreviewPage.js
index be1f00070..d82612ee8 100644
--- a/src/renderer/src/stories/pages/preview/PreviewPage.js
+++ b/src/renderer/src/stories/pages/preview/PreviewPage.js
@@ -7,8 +7,8 @@ import { baseUrl } from "../../../server/globals";
export class PreviewPage extends Page {
header = {
- title: "Neurosift File Visualization",
- subtitle: "Explore your NWB file using Neurosift.",
+ title: "NWB File Exploration",
+ subtitle: "Visualize your NWB file using Neurosift.",
};
constructor(...args) {
diff --git a/src/renderer/src/stories/pages/uploads/UploadsPage.js b/src/renderer/src/stories/pages/uploads/UploadsPage.js
index e71e785b1..abde40625 100644
--- a/src/renderer/src/stories/pages/uploads/UploadsPage.js
+++ b/src/renderer/src/stories/pages/uploads/UploadsPage.js
@@ -264,8 +264,8 @@ export async function uploadToDandi(info, type = "project" in info ? "project" :
export class UploadsPage extends Page {
header = {
- title: "DANDI Uploads",
- subtitle: "This page allows you to upload folders with NWB files to the DANDI Archive.",
+ title: "NWB File Uploads",
+ subtitle: "Upload folders and individual NWB files to the DANDI Archive.",
controls: [
new Button({
icon: keyIcon,
diff --git a/src/renderer/src/stories/sidebar.js b/src/renderer/src/stories/sidebar.js
index aae92d3be..8d3cd6303 100644
--- a/src/renderer/src/stories/sidebar.js
+++ b/src/renderer/src/stories/sidebar.js
@@ -176,6 +176,8 @@ export class Sidebar extends LitElement {
const label = info.label ?? id;
const icon = info.icon ?? "";
+ if (info.hidden) return;
+
const a = document.createElement("a");
a.setAttribute("data-id", id);
a.href = "#";