diff --git a/.gitignore b/.gitignore index a4eeb5ccd..f830102b2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ coverage # Ignore node_modules folder node_modules build/api -pyflask/ds +src/pyflask/ds src/Users semantic semantic.json diff --git a/README.md b/README.md index c0eaf5f4e..bf95742c4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- +
diff --git a/demos/sse/test_sse_display_of_tqdm.py b/demos/sse/test_sse_display_of_tqdm.py
index b32452bd6..9292dfcc0 100644
--- a/demos/sse/test_sse_display_of_tqdm.py
+++ b/demos/sse/test_sse_display_of_tqdm.py
@@ -8,7 +8,7 @@
from flask import Flask, Response, render_template
from tqdm import tqdm as base_tqdm
-SCRIPT_DIR = os.path.dirname(os.path.abspath(os.path.join(__file__, "..", "..", "pyflask")))
+SCRIPT_DIR = os.path.dirname(os.path.abspath(os.path.join(__file__, "..", "..", "src", "pyflask")))
sys.path.append(os.path.dirname(SCRIPT_DIR))
from pyflask.manageNeuroconv.info.sse import MessageAnnouncer
diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst
index 32e99f6fb..c003e3328 100644
--- a/docs/developer_guide.rst
+++ b/docs/developer_guide.rst
@@ -83,12 +83,12 @@ You can now run the following command to start the application using Electron.
Repo Structure
--------------
-1. **src/renderer/src** - Contains all the source code for the frontend
+1. **src/electron/renderer/src** - Contains all the source code for the frontend
- `index.js` - The entry point for the application
- `pages.js` - The main code that controls which pages are rendered and how they are linked together
- `stories` - Contains all the Web Components and related Storybook stories
- `electron` - Contains all the Electron-related code to enable conditional inclusion for development mode
-2. **src/renderer/assets** - Contains all the frontend-facing assets (e.g. images, css, etc.)
+2. **src/electron/renderer/assets** - Contains all the frontend-facing assets (e.g. images, css, etc.)
3. **pyflask** - Contains all the source code for the backend
diff --git a/docs/index.rst b/docs/index.rst
index a4333737f..2fb04c252 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -2,7 +2,7 @@ NWB GUIDE documentation
=======================
|
-.. image:: ../src/renderer/assets/img/logo-guide-draft-transparent-tight.png
+.. image:: ../src/electron/renderer/assets/img/logo-guide-draft-transparent-tight.png
:scale: 50 %
:align: center
:alt: NWB GUIDE logo
diff --git a/electron.vite.config.js b/electron.vite.config.js
index b2a3ce048..db4f2cfad 100644
--- a/electron.vite.config.js
+++ b/electron.vite.config.js
@@ -2,11 +2,36 @@ import { defineConfig } from "electron-vite";
import ViteYaml from "@modyfi/vite-plugin-yaml";
-// electron.vite.config.js
+import { resolve } from 'path'
+
export default defineConfig({
- main: {},
- preload: {},
- renderer: {
- plugins: [ViteYaml()],
- },
-});
+ main: {
+ build: {
+ rollupOptions: {
+ input: {
+ index: resolve(__dirname, 'src/electron/main/main.ts')
+ }
+ }
+ }
+ },
+ preload: {
+ build: {
+ rollupOptions: {
+ input: {
+ index: resolve(__dirname, 'src/electron/preload/preload.js')
+ }
+ }
+ }
+ },
+ renderer: {
+ root: './src/electron/renderer',
+ plugins: [ViteYaml()],
+ build: {
+ rollupOptions: {
+ input: {
+ index: resolve(__dirname, 'index.html')
+ }
+ }
+ }
+ }
+})
\ No newline at end of file
diff --git a/generateInterfaceSchema.py b/generateInterfaceSchema.py
index f63eb41f4..279c450b7 100644
--- a/generateInterfaceSchema.py
+++ b/generateInterfaceSchema.py
@@ -3,16 +3,16 @@
from neuroconv import NWBConverter, converters, datainterfaces
-filepath = Path("guideGlobalMetadata.json")
+filepath = Path("src") / "supported_interfaces.json"
generatedJSONSchemaPath = Path("schemas", "json", "generated")
generatedJSONSchemaPath.mkdir(exist_ok=True, parents=True)
f = filepath.open()
-data = json.load(f)
+supported_interfaces = json.load(f)
# Create JSON for the Schema
paths = {}
-for interface in data["supported_interfaces"]:
+for interface in supported_interfaces:
interface_class_dict = {interface: interface}
class CustomNWBConverter(NWBConverter):
@@ -29,7 +29,7 @@ class CustomNWBConverter(NWBConverter):
outfile.write(json.dumps(schema, indent=4))
-sourceDataStoryPath = Path("src/renderer/src/stories/pages/guided-mode/SourceData.stories.js")
+sourceDataStoryPath = Path("src/electron/renderer/src/stories/pages/guided-mode/SourceData.stories.js")
importCode = "\n".join(map(lambda arr: f"import {arr[0]}Schema from '../../../../../../{arr[1]}'", paths.items()))
storyCode = "\n".join(
diff --git a/guideGlobalMetadata.json b/guideGlobalMetadata.json
deleted file mode 100644
index 35d366f0e..000000000
--- a/guideGlobalMetadata.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "supported_interfaces": [
- "SpikeGLXRecordingInterface",
- "SpikeGLXNIDQInterface",
- "PhySortingInterface",
- "NeuroScopeRecordingInterface",
- "NeuroScopeLFPInterface",
- "NeuroScopeSortingInterface",
- "BiocamRecordingInterface",
- "IntanRecordingInterface",
- "OpenEphysRecordingInterface",
- "BlackrockRecordingInterface",
- "BlackrockSortingInterface",
- "CellExplorerSortingInterface",
- "KiloSortSortingInterface",
- "TdtRecordingInterface",
- "Spike2RecordingInterface",
- "BrukerTiffSinglePlaneImagingInterface",
- "ExtractSegmentationInterface",
- "CnmfeSegmentationInterface",
- "BrukerTiffMultiPlaneImagingInterface",
- "MicroManagerTiffImagingInterface",
- "ScanImageImagingInterface",
- "TiffImagingInterface",
- "MiniscopeImagingInterface",
- "SbxImagingInterface",
- "CaimanSegmentationInterface",
- "MCSRawRecordingInterface",
- "MEArecRecordingInterface",
- "PlexonRecordingInterface",
- "PlexonSortingInterface",
- "AxonaRecordingInterface",
- "VideoInterface",
- "NeuralynxRecordingInterface",
- "Suite2pSegmentationInterface",
- "AlphaOmegaRecordingInterface",
- "AlphaOmegaRecordingInterface",
- "DeepLabCutInterface",
- "SLEAPInterface",
- "FicTracDataInterface",
- "AudioInterface",
- "MiniscopeBehaviorInterface",
- "EDFRecordingInterface",
- "SpikeGLXConverterPipe",
- "BrukerTiffSinglePlaneConverter",
- "BrukerTiffMultiPlaneConverter",
- "MiniscopeConverter",
- "CellExplorerRecordingInterface"
- ]
-}
diff --git a/guide_testing_suite.yml b/guide_testing_suite.yml
deleted file mode 100644
index cec3c8a39..000000000
--- a/guide_testing_suite.yml
+++ /dev/null
@@ -1,168 +0,0 @@
-# Follows pattern
-# pipelines:
-# pipeline_name:
-# test: Optional[bool]
-# metadata:
-# key:
-# name: value
-# array:
-# - First value
-# - Second value
-# interfaces:
-# DataInterfaceName:
-# file_or_folder_path:
diff --git a/src/preload/preload.js b/src/electron/preload/preload.js
similarity index 100%
rename from src/preload/preload.js
rename to src/electron/preload/preload.js
diff --git a/src/renderer/assets/app-icon/logo-guide-draft.ico b/src/electron/renderer/assets/app-icon/logo-guide-draft.ico
similarity index 100%
rename from src/renderer/assets/app-icon/logo-guide-draft.ico
rename to src/electron/renderer/assets/app-icon/logo-guide-draft.ico
diff --git a/src/renderer/assets/css/demo.css b/src/electron/renderer/assets/css/demo.css
similarity index 100%
rename from src/renderer/assets/css/demo.css
rename to src/electron/renderer/assets/css/demo.css
diff --git a/src/renderer/assets/css/fontawesome.css b/src/electron/renderer/assets/css/fontawesome.css
similarity index 100%
rename from src/renderer/assets/css/fontawesome.css
rename to src/electron/renderer/assets/css/fontawesome.css
diff --git a/src/renderer/assets/css/global.css b/src/electron/renderer/assets/css/global.css
similarity index 100%
rename from src/renderer/assets/css/global.css
rename to src/electron/renderer/assets/css/global.css
diff --git a/src/renderer/assets/css/guided.css b/src/electron/renderer/assets/css/guided.css
similarity index 100%
rename from src/renderer/assets/css/guided.css
rename to src/electron/renderer/assets/css/guided.css
diff --git a/src/renderer/assets/css/individualtab.css b/src/electron/renderer/assets/css/individualtab.css
similarity index 100%
rename from src/renderer/assets/css/individualtab.css
rename to src/electron/renderer/assets/css/individualtab.css
diff --git a/src/renderer/assets/css/main.css b/src/electron/renderer/assets/css/main.css
similarity index 100%
rename from src/renderer/assets/css/main.css
rename to src/electron/renderer/assets/css/main.css
diff --git a/src/renderer/assets/css/main_tabs.css b/src/electron/renderer/assets/css/main_tabs.css
similarity index 100%
rename from src/renderer/assets/css/main_tabs.css
rename to src/electron/renderer/assets/css/main_tabs.css
diff --git a/src/renderer/assets/css/nativize.css b/src/electron/renderer/assets/css/nativize.css
similarity index 100%
rename from src/renderer/assets/css/nativize.css
rename to src/electron/renderer/assets/css/nativize.css
diff --git a/src/renderer/assets/css/nav.css b/src/electron/renderer/assets/css/nav.css
similarity index 100%
rename from src/renderer/assets/css/nav.css
rename to src/electron/renderer/assets/css/nav.css
diff --git a/src/renderer/assets/css/print.css b/src/electron/renderer/assets/css/print.css
similarity index 100%
rename from src/renderer/assets/css/print.css
rename to src/electron/renderer/assets/css/print.css
diff --git a/src/renderer/assets/css/section.css b/src/electron/renderer/assets/css/section.css
similarity index 100%
rename from src/renderer/assets/css/section.css
rename to src/electron/renderer/assets/css/section.css
diff --git a/src/renderer/assets/css/spur.css b/src/electron/renderer/assets/css/spur.css
similarity index 100%
rename from src/renderer/assets/css/spur.css
rename to src/electron/renderer/assets/css/spur.css
diff --git a/src/renderer/assets/css/tablepath.css b/src/electron/renderer/assets/css/tablepath.css
similarity index 100%
rename from src/renderer/assets/css/tablepath.css
rename to src/electron/renderer/assets/css/tablepath.css
diff --git a/src/renderer/assets/css/variables.css b/src/electron/renderer/assets/css/variables.css
similarity index 100%
rename from src/renderer/assets/css/variables.css
rename to src/electron/renderer/assets/css/variables.css
diff --git a/src/renderer/assets/img/logo-catalystneuro.png b/src/electron/renderer/assets/img/logo-catalystneuro.png
similarity index 100%
rename from src/renderer/assets/img/logo-catalystneuro.png
rename to src/electron/renderer/assets/img/logo-catalystneuro.png
diff --git a/src/renderer/assets/img/logo-guide-draft-transparent-tight.png b/src/electron/renderer/assets/img/logo-guide-draft-transparent-tight.png
similarity index 100%
rename from src/renderer/assets/img/logo-guide-draft-transparent-tight.png
rename to src/electron/renderer/assets/img/logo-guide-draft-transparent-tight.png
diff --git a/src/renderer/assets/img/logo-guide-draft-transparent.png b/src/electron/renderer/assets/img/logo-guide-draft-transparent.png
similarity index 100%
rename from src/renderer/assets/img/logo-guide-draft-transparent.png
rename to src/electron/renderer/assets/img/logo-guide-draft-transparent.png
diff --git a/src/renderer/assets/img/logo-guide-draft.png b/src/electron/renderer/assets/img/logo-guide-draft.png
similarity index 100%
rename from src/renderer/assets/img/logo-guide-draft.png
rename to src/electron/renderer/assets/img/logo-guide-draft.png
diff --git a/src/renderer/assets/img/logo-neuroconv.png b/src/electron/renderer/assets/img/logo-neuroconv.png
similarity index 100%
rename from src/renderer/assets/img/logo-neuroconv.png
rename to src/electron/renderer/assets/img/logo-neuroconv.png
diff --git a/src/renderer/assets/lotties/contact-us-lotties.js b/src/electron/renderer/assets/lotties/contact-us-lotties.js
similarity index 100%
rename from src/renderer/assets/lotties/contact-us-lotties.js
rename to src/electron/renderer/assets/lotties/contact-us-lotties.js
diff --git a/src/renderer/assets/lotties/documentation-lotties.js b/src/electron/renderer/assets/lotties/documentation-lotties.js
similarity index 100%
rename from src/renderer/assets/lotties/documentation-lotties.js
rename to src/electron/renderer/assets/lotties/documentation-lotties.js
diff --git a/src/renderer/assets/lotties/index.js b/src/electron/renderer/assets/lotties/index.js
similarity index 100%
rename from src/renderer/assets/lotties/index.js
rename to src/electron/renderer/assets/lotties/index.js
diff --git a/src/renderer/assets/lotties/overview-lotties.js b/src/electron/renderer/assets/lotties/overview-lotties.js
similarity index 100%
rename from src/renderer/assets/lotties/overview-lotties.js
rename to src/electron/renderer/assets/lotties/overview-lotties.js
diff --git a/src/renderer/index.html b/src/electron/renderer/index.html
similarity index 100%
rename from src/renderer/index.html
rename to src/electron/renderer/index.html
diff --git a/src/renderer/src/dependencies/globals.js b/src/electron/renderer/src/dependencies/globals.js
similarity index 100%
rename from src/renderer/src/dependencies/globals.js
rename to src/electron/renderer/src/dependencies/globals.js
diff --git a/src/renderer/src/dependencies/simple.js b/src/electron/renderer/src/dependencies/simple.js
similarity index 97%
rename from src/renderer/src/dependencies/simple.js
rename to src/electron/renderer/src/dependencies/simple.js
index 69c9bff9f..f29801362 100644
--- a/src/renderer/src/dependencies/simple.js
+++ b/src/electron/renderer/src/dependencies/simple.js
@@ -1,6 +1,6 @@
import { app, crypto, isElectron } from "../electron/index.js";
import paths from "../../../../paths.config.json" assert { type: "json" };
-import { joinPath } from "../globals.js";
+import { joinPath } from "../globals";
export const reloadPageToHome = () => {
if (isStorybook) return;
diff --git a/src/renderer/src/electron/check.js b/src/electron/renderer/src/electron/check.js
similarity index 100%
rename from src/renderer/src/electron/check.js
rename to src/electron/renderer/src/electron/check.js
diff --git a/src/renderer/src/electron/index.js b/src/electron/renderer/src/electron/index.js
similarity index 100%
rename from src/renderer/src/electron/index.js
rename to src/electron/renderer/src/electron/index.js
diff --git a/src/renderer/src/errors.ts b/src/electron/renderer/src/errors.ts
similarity index 100%
rename from src/renderer/src/errors.ts
rename to src/electron/renderer/src/errors.ts
diff --git a/src/renderer/src/globals.js b/src/electron/renderer/src/globals.js
similarity index 62%
rename from src/renderer/src/globals.js
rename to src/electron/renderer/src/globals.js
index e9d98b013..a6f113805 100644
--- a/src/renderer/src/globals.js
+++ b/src/electron/renderer/src/globals.js
@@ -1,6 +1,6 @@
import { path } from "./electron/index.js";
-import guideGlobalMetadata from "../../../guideGlobalMetadata.json" assert { type: "json" };
+import supportedInterfaces from "../../../supported_interfaces.json" assert { type: "json" };
export const joinPath = (...args) => (path ? path.join(...args) : args.filter((str) => str).join("/"));
@@ -9,4 +9,6 @@ export let runOnLoad = (fn) => {
else window.addEventListener("load", fn);
};
-export const supportedInterfaces = guideGlobalMetadata.supported_interfaces;
+export {
+ supportedInterfaces
+}
diff --git a/src/renderer/src/index.ts b/src/electron/renderer/src/index.ts
similarity index 97%
rename from src/renderer/src/index.ts
rename to src/electron/renderer/src/index.ts
index 3e25bd909..b3493aa94 100644
--- a/src/renderer/src/index.ts
+++ b/src/electron/renderer/src/index.ts
@@ -7,12 +7,12 @@ import { Dashboard } from './stories/Dashboard.js'
import {
notyf,
notify
-} from './dependencies/globals.js'
+} from './dependencies/globals'
import Swal from 'sweetalert2'
import { loadServerEvents, pythonServerOpened } from "./server/index.js";
-import { statusBar } from "./server/globals.js";
+import { statusBar } from "./server/globals";
// Set the sidebar subtitle to the current app version
const dashboard = document.querySelector('nwb-dashboard') as Dashboard
diff --git a/src/renderer/src/pages.js b/src/electron/renderer/src/pages.js
similarity index 100%
rename from src/renderer/src/pages.js
rename to src/electron/renderer/src/pages.js
diff --git a/src/renderer/src/progress/index.js b/src/electron/renderer/src/progress/index.js
similarity index 98%
rename from src/renderer/src/progress/index.js
rename to src/electron/renderer/src/progress/index.js
index 84fc87553..edea2076b 100644
--- a/src/renderer/src/progress/index.js
+++ b/src/electron/renderer/src/progress/index.js
@@ -10,14 +10,14 @@ import {
} from "../dependencies/simple.js";
import { fs, crypto } from "../electron/index.js";
-import { joinPath, runOnLoad } from "../globals.js";
+import { joinPath, runOnLoad } from "../globals";
import { merge } from "../stories/pages/utils.js";
import { updateAppProgress, updateFile } from "./update.js";
import { updateURLParams } from "../../utils/url.js";
-import * as operations from "./operations";
+import * as operations from "./operations.js";
-export * from "./update";
+export * from "./update.js";
const CRYPTO_VERSION = "0.0.1"; // NOTE: Update to wipe values created using an outdated encryption algorithm
const CRYPTO_ALGORITHM = "aes-256-cbc";
diff --git a/src/renderer/src/progress/operations.js b/src/electron/renderer/src/progress/operations.js
similarity index 100%
rename from src/renderer/src/progress/operations.js
rename to src/electron/renderer/src/progress/operations.js
diff --git a/src/renderer/src/progress/update.js b/src/electron/renderer/src/progress/update.js
similarity index 98%
rename from src/renderer/src/progress/update.js
rename to src/electron/renderer/src/progress/update.js
index f0302a0c4..573c95833 100644
--- a/src/renderer/src/progress/update.js
+++ b/src/electron/renderer/src/progress/update.js
@@ -1,7 +1,7 @@
import { updateURLParams } from "../../utils/url.js";
import { guidedProgressFilePath } from "../dependencies/simple.js";
import { fs } from "../electron/index.js";
-import { joinPath } from "../globals.js";
+import { joinPath } from "../globals";
import { get, hasEntry } from "./index.js";
export const rename = (newDatasetName, previousDatasetName) => {
diff --git a/src/renderer/src/promises.ts b/src/electron/renderer/src/promises.ts
similarity index 100%
rename from src/renderer/src/promises.ts
rename to src/electron/renderer/src/promises.ts
diff --git a/src/renderer/src/server/globals.ts b/src/electron/renderer/src/server/globals.ts
similarity index 100%
rename from src/renderer/src/server/globals.ts
rename to src/electron/renderer/src/server/globals.ts
diff --git a/src/renderer/src/server/index.ts b/src/electron/renderer/src/server/index.ts
similarity index 96%
rename from src/renderer/src/server/index.ts
rename to src/electron/renderer/src/server/index.ts
index c6363216d..62dba82f2 100644
--- a/src/renderer/src/server/index.ts
+++ b/src/electron/renderer/src/server/index.ts
@@ -3,11 +3,11 @@ const { ipcRenderer } = electron;
import {
notyf,
-} from '../dependencies/globals.js'
+} from '../dependencies/globals'
import Swal from 'sweetalert2'
-import { activateServer, baseUrl, statusBar } from './globals.js';
+import { activateServer, baseUrl, statusBar } from './globals';
// Check if the Flask server is live
const serverIsLiveStartup = async () => {
diff --git a/src/renderer/src/stories/Accordion.js b/src/electron/renderer/src/stories/Accordion.js
similarity index 100%
rename from src/renderer/src/stories/Accordion.js
rename to src/electron/renderer/src/stories/Accordion.js
diff --git a/src/renderer/src/stories/Accordion.stories.js b/src/electron/renderer/src/stories/Accordion.stories.js
similarity index 100%
rename from src/renderer/src/stories/Accordion.stories.js
rename to src/electron/renderer/src/stories/Accordion.stories.js
diff --git a/src/renderer/src/stories/BasicTable.js b/src/electron/renderer/src/stories/BasicTable.js
similarity index 100%
rename from src/renderer/src/stories/BasicTable.js
rename to src/electron/renderer/src/stories/BasicTable.js
diff --git a/src/renderer/src/stories/Button.js b/src/electron/renderer/src/stories/Button.js
similarity index 100%
rename from src/renderer/src/stories/Button.js
rename to src/electron/renderer/src/stories/Button.js
diff --git a/src/renderer/src/stories/Button.stories.js b/src/electron/renderer/src/stories/Button.stories.js
similarity index 100%
rename from src/renderer/src/stories/Button.stories.js
rename to src/electron/renderer/src/stories/Button.stories.js
diff --git a/src/renderer/src/stories/Chevron.js b/src/electron/renderer/src/stories/Chevron.js
similarity index 100%
rename from src/renderer/src/stories/Chevron.js
rename to src/electron/renderer/src/stories/Chevron.js
diff --git a/src/renderer/src/stories/CodeBlock.js b/src/electron/renderer/src/stories/CodeBlock.js
similarity index 100%
rename from src/renderer/src/stories/CodeBlock.js
rename to src/electron/renderer/src/stories/CodeBlock.js
diff --git a/src/renderer/src/stories/DandiResults.js b/src/electron/renderer/src/stories/DandiResults.js
similarity index 100%
rename from src/renderer/src/stories/DandiResults.js
rename to src/electron/renderer/src/stories/DandiResults.js
diff --git a/src/renderer/src/stories/Dashboard.js b/src/electron/renderer/src/stories/Dashboard.js
similarity index 97%
rename from src/renderer/src/stories/Dashboard.js
rename to src/electron/renderer/src/stories/Dashboard.js
index e56b50273..3ba92c90f 100644
--- a/src/renderer/src/stories/Dashboard.js
+++ b/src/electron/renderer/src/stories/Dashboard.js
@@ -15,22 +15,22 @@ import "../../assets/css/demo.css";
import "../../assets/css/individualtab.css";
import "../../assets/css/main_tabs.css";
// import "../../node_modules/cropperjs/dist/cropper.css"
-import "../../../../node_modules/notyf/notyf.min.css";
+import "../../../../../node_modules/notyf/notyf.min.css";
import "../../assets/css/spur.css";
import "../../assets/css/main.css";
// import "https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
-import "../../../../node_modules/@fortawesome/fontawesome-free/css/all.css";
+import "../../../../../node_modules/@fortawesome/fontawesome-free/css/all.css";
// import "../../node_modules/select2/dist/css/select2.min.css"
// import "../../node_modules/@toast-ui/editor/dist/toastui-editor.css"
// import "../../node_modules/codemirror/lib/codemirror.css"
// import "../../node_modules/@yaireo/tagify/dist/tagify.css"
-import "../../../../node_modules/fomantic-ui/dist/semantic.min.css";
-import "../../../../node_modules/fomantic-ui/dist/components/accordion.min.css";
-import "../../../../node_modules/@sweetalert2/theme-bulma/bulma.css";
+import "../../../../../node_modules/fomantic-ui/dist/semantic.min.css";
+import "../../../../../node_modules/fomantic-ui/dist/components/accordion.min.css";
+import "../../../../../node_modules/@sweetalert2/theme-bulma/bulma.css";
// import "../../node_modules/intro.js/minified/introjs.min.css"
import "../../assets/css/guided.css";
import isElectron from "../electron/check.js";
-import { isStorybook, reloadPageToHome } from "../dependencies/globals.js";
+import { isStorybook, reloadPageToHome } from "../dependencies/globals";
import { getCurrentProjectName, updateAppProgress } from "../progress/index.js";
// import "https://jsuites.net/v4/jsuites.js"
diff --git a/src/renderer/src/stories/DateTimeSelector.js b/src/electron/renderer/src/stories/DateTimeSelector.js
similarity index 100%
rename from src/renderer/src/stories/DateTimeSelector.js
rename to src/electron/renderer/src/stories/DateTimeSelector.js
diff --git a/src/renderer/src/stories/FileSystemSelector.js b/src/electron/renderer/src/stories/FileSystemSelector.js
similarity index 99%
rename from src/renderer/src/stories/FileSystemSelector.js
rename to src/electron/renderer/src/stories/FileSystemSelector.js
index 5e33c5be8..8fa45febf 100644
--- a/src/renderer/src/stories/FileSystemSelector.js
+++ b/src/electron/renderer/src/stories/FileSystemSelector.js
@@ -4,7 +4,7 @@ import { fs, remote } from "../electron/index";
import { List } from "./List";
const { dialog } = remote;
-import restartSVG from "../stories/assets/restart.svg?raw";
+import restartSVG from "./assets/restart.svg?raw";
import { unsafeSVG } from "lit/directives/unsafe-svg.js";
function getObjectTypeReferenceString(type, multiple, { nested, native } = {}) {
diff --git a/src/renderer/src/stories/FileSystemSelector.stories.js b/src/electron/renderer/src/stories/FileSystemSelector.stories.js
similarity index 100%
rename from src/renderer/src/stories/FileSystemSelector.stories.js
rename to src/electron/renderer/src/stories/FileSystemSelector.stories.js
diff --git a/src/renderer/src/stories/Footer.js b/src/electron/renderer/src/stories/Footer.js
similarity index 100%
rename from src/renderer/src/stories/Footer.js
rename to src/electron/renderer/src/stories/Footer.js
diff --git a/src/renderer/src/stories/FullScreenToggle.ts b/src/electron/renderer/src/stories/FullScreenToggle.ts
similarity index 100%
rename from src/renderer/src/stories/FullScreenToggle.ts
rename to src/electron/renderer/src/stories/FullScreenToggle.ts
diff --git a/src/renderer/src/stories/InfoBox.js b/src/electron/renderer/src/stories/InfoBox.js
similarity index 100%
rename from src/renderer/src/stories/InfoBox.js
rename to src/electron/renderer/src/stories/InfoBox.js
diff --git a/src/renderer/src/stories/InstanceManager.js b/src/electron/renderer/src/stories/InstanceManager.js
similarity index 100%
rename from src/renderer/src/stories/InstanceManager.js
rename to src/electron/renderer/src/stories/InstanceManager.js
diff --git a/src/renderer/src/stories/InstanceManager.stories.js b/src/electron/renderer/src/stories/InstanceManager.stories.js
similarity index 100%
rename from src/renderer/src/stories/InstanceManager.stories.js
rename to src/electron/renderer/src/stories/InstanceManager.stories.js
diff --git a/src/renderer/src/stories/Introduction.mdx b/src/electron/renderer/src/stories/Introduction.mdx
similarity index 100%
rename from src/renderer/src/stories/Introduction.mdx
rename to src/electron/renderer/src/stories/Introduction.mdx
diff --git a/src/renderer/src/stories/JSONSchemaForm.js b/src/electron/renderer/src/stories/JSONSchemaForm.js
similarity index 100%
rename from src/renderer/src/stories/JSONSchemaForm.js
rename to src/electron/renderer/src/stories/JSONSchemaForm.js
diff --git a/src/renderer/src/stories/JSONSchemaForm.stories.js b/src/electron/renderer/src/stories/JSONSchemaForm.stories.js
similarity index 100%
rename from src/renderer/src/stories/JSONSchemaForm.stories.js
rename to src/electron/renderer/src/stories/JSONSchemaForm.stories.js
diff --git a/src/renderer/src/stories/JSONSchemaInput.js b/src/electron/renderer/src/stories/JSONSchemaInput.js
similarity index 100%
rename from src/renderer/src/stories/JSONSchemaInput.js
rename to src/electron/renderer/src/stories/JSONSchemaInput.js
diff --git a/src/renderer/src/stories/List.stories.js b/src/electron/renderer/src/stories/List.stories.js
similarity index 100%
rename from src/renderer/src/stories/List.stories.js
rename to src/electron/renderer/src/stories/List.stories.js
diff --git a/src/renderer/src/stories/List.ts b/src/electron/renderer/src/stories/List.ts
similarity index 100%
rename from src/renderer/src/stories/List.ts
rename to src/electron/renderer/src/stories/List.ts
diff --git a/src/renderer/src/stories/Loader.ts b/src/electron/renderer/src/stories/Loader.ts
similarity index 100%
rename from src/renderer/src/stories/Loader.ts
rename to src/electron/renderer/src/stories/Loader.ts
diff --git a/src/renderer/src/stories/Main.js b/src/electron/renderer/src/stories/Main.js
similarity index 99%
rename from src/renderer/src/stories/Main.js
rename to src/electron/renderer/src/stories/Main.js
index 9a68987cd..616bfd449 100644
--- a/src/renderer/src/stories/Main.js
+++ b/src/electron/renderer/src/stories/Main.js
@@ -1,6 +1,6 @@
import { LitElement, html } from "lit";
import useGlobalStyles from "./utils/useGlobalStyles.js";
-import { GuidedFooter } from "./pages/guided-mode/GuidedFooter";
+import { GuidedFooter } from "./pages/guided-mode/GuidedFooter.js";
import { GuidedHeader } from "./pages/guided-mode/GuidedHeader.js";
import { unsafeHTML } from "lit/directives/unsafe-html.js";
diff --git a/src/renderer/src/stories/Modal.ts b/src/electron/renderer/src/stories/Modal.ts
similarity index 100%
rename from src/renderer/src/stories/Modal.ts
rename to src/electron/renderer/src/stories/Modal.ts
diff --git a/src/renderer/src/stories/NavigationSidebar.js b/src/electron/renderer/src/stories/NavigationSidebar.js
similarity index 100%
rename from src/renderer/src/stories/NavigationSidebar.js
rename to src/electron/renderer/src/stories/NavigationSidebar.js
diff --git a/src/renderer/src/stories/OptionalSection.js b/src/electron/renderer/src/stories/OptionalSection.js
similarity index 100%
rename from src/renderer/src/stories/OptionalSection.js
rename to src/electron/renderer/src/stories/OptionalSection.js
diff --git a/src/renderer/src/stories/OptionalSection.stories.js b/src/electron/renderer/src/stories/OptionalSection.stories.js
similarity index 100%
rename from src/renderer/src/stories/OptionalSection.stories.js
rename to src/electron/renderer/src/stories/OptionalSection.stories.js
diff --git a/src/renderer/src/stories/Overlay.ts b/src/electron/renderer/src/stories/Overlay.ts
similarity index 100%
rename from src/renderer/src/stories/Overlay.ts
rename to src/electron/renderer/src/stories/Overlay.ts
diff --git a/src/renderer/src/stories/ProgressBar.stories.js b/src/electron/renderer/src/stories/ProgressBar.stories.js
similarity index 100%
rename from src/renderer/src/stories/ProgressBar.stories.js
rename to src/electron/renderer/src/stories/ProgressBar.stories.js
diff --git a/src/renderer/src/stories/ProgressBar.ts b/src/electron/renderer/src/stories/ProgressBar.ts
similarity index 100%
rename from src/renderer/src/stories/ProgressBar.ts
rename to src/electron/renderer/src/stories/ProgressBar.ts
diff --git a/src/renderer/src/stories/Search.js b/src/electron/renderer/src/stories/Search.js
similarity index 100%
rename from src/renderer/src/stories/Search.js
rename to src/electron/renderer/src/stories/Search.js
diff --git a/src/renderer/src/stories/Search.stories.js b/src/electron/renderer/src/stories/Search.stories.js
similarity index 100%
rename from src/renderer/src/stories/Search.stories.js
rename to src/electron/renderer/src/stories/Search.stories.js
diff --git a/src/renderer/src/stories/SimpleTable.js b/src/electron/renderer/src/stories/SimpleTable.js
similarity index 100%
rename from src/renderer/src/stories/SimpleTable.js
rename to src/electron/renderer/src/stories/SimpleTable.js
diff --git a/src/renderer/src/stories/Table.js b/src/electron/renderer/src/stories/Table.js
similarity index 100%
rename from src/renderer/src/stories/Table.js
rename to src/electron/renderer/src/stories/Table.js
diff --git a/src/renderer/src/stories/Table.stories.js b/src/electron/renderer/src/stories/Table.stories.js
similarity index 100%
rename from src/renderer/src/stories/Table.stories.js
rename to src/electron/renderer/src/stories/Table.stories.js
diff --git a/src/renderer/src/stories/assets/code-brackets.svg b/src/electron/renderer/src/stories/assets/code-brackets.svg
similarity index 100%
rename from src/renderer/src/stories/assets/code-brackets.svg
rename to src/electron/renderer/src/stories/assets/code-brackets.svg
diff --git a/src/renderer/src/stories/assets/colors.svg b/src/electron/renderer/src/stories/assets/colors.svg
similarity index 100%
rename from src/renderer/src/stories/assets/colors.svg
rename to src/electron/renderer/src/stories/assets/colors.svg
diff --git a/src/renderer/src/stories/assets/comments.svg b/src/electron/renderer/src/stories/assets/comments.svg
similarity index 100%
rename from src/renderer/src/stories/assets/comments.svg
rename to src/electron/renderer/src/stories/assets/comments.svg
diff --git a/src/renderer/src/stories/assets/dandi.svg b/src/electron/renderer/src/stories/assets/dandi.svg
similarity index 100%
rename from src/renderer/src/stories/assets/dandi.svg
rename to src/electron/renderer/src/stories/assets/dandi.svg
diff --git a/src/renderer/src/stories/assets/delete.svg b/src/electron/renderer/src/stories/assets/delete.svg
similarity index 100%
rename from src/renderer/src/stories/assets/delete.svg
rename to src/electron/renderer/src/stories/assets/delete.svg
diff --git a/src/renderer/src/stories/assets/direction.svg b/src/electron/renderer/src/stories/assets/direction.svg
similarity index 100%
rename from src/renderer/src/stories/assets/direction.svg
rename to src/electron/renderer/src/stories/assets/direction.svg
diff --git a/src/renderer/src/stories/assets/exploration.svg b/src/electron/renderer/src/stories/assets/exploration.svg
similarity index 100%
rename from src/renderer/src/stories/assets/exploration.svg
rename to src/electron/renderer/src/stories/assets/exploration.svg
diff --git a/src/renderer/src/stories/assets/flow.svg b/src/electron/renderer/src/stories/assets/flow.svg
similarity index 100%
rename from src/renderer/src/stories/assets/flow.svg
rename to src/electron/renderer/src/stories/assets/flow.svg
diff --git a/src/renderer/src/stories/assets/folder_open.svg b/src/electron/renderer/src/stories/assets/folder_open.svg
similarity index 100%
rename from src/renderer/src/stories/assets/folder_open.svg
rename to src/electron/renderer/src/stories/assets/folder_open.svg
diff --git a/src/renderer/src/stories/assets/fullscreen.svg b/src/electron/renderer/src/stories/assets/fullscreen.svg
similarity index 100%
rename from src/renderer/src/stories/assets/fullscreen.svg
rename to src/electron/renderer/src/stories/assets/fullscreen.svg
diff --git a/src/renderer/src/stories/assets/fullscreen_exit.svg b/src/electron/renderer/src/stories/assets/fullscreen_exit.svg
similarity index 100%
rename from src/renderer/src/stories/assets/fullscreen_exit.svg
rename to src/electron/renderer/src/stories/assets/fullscreen_exit.svg
diff --git a/src/renderer/src/stories/assets/global.svg b/src/electron/renderer/src/stories/assets/global.svg
similarity index 100%
rename from src/renderer/src/stories/assets/global.svg
rename to src/electron/renderer/src/stories/assets/global.svg
diff --git a/src/renderer/src/stories/assets/inspect.svg b/src/electron/renderer/src/stories/assets/inspect.svg
similarity index 100%
rename from src/renderer/src/stories/assets/inspect.svg
rename to src/electron/renderer/src/stories/assets/inspect.svg
diff --git a/src/renderer/src/stories/assets/key.svg b/src/electron/renderer/src/stories/assets/key.svg
similarity index 100%
rename from src/renderer/src/stories/assets/key.svg
rename to src/electron/renderer/src/stories/assets/key.svg
diff --git a/src/renderer/src/stories/assets/neurosift-logo.svg b/src/electron/renderer/src/stories/assets/neurosift-logo.svg
similarity index 100%
rename from src/renderer/src/stories/assets/neurosift-logo.svg
rename to src/electron/renderer/src/stories/assets/neurosift-logo.svg
diff --git a/src/renderer/src/stories/assets/plugin.svg b/src/electron/renderer/src/stories/assets/plugin.svg
similarity index 100%
rename from src/renderer/src/stories/assets/plugin.svg
rename to src/electron/renderer/src/stories/assets/plugin.svg
diff --git a/src/renderer/src/stories/assets/preview.svg b/src/electron/renderer/src/stories/assets/preview.svg
similarity index 100%
rename from src/renderer/src/stories/assets/preview.svg
rename to src/electron/renderer/src/stories/assets/preview.svg
diff --git a/src/renderer/src/stories/assets/python.svg b/src/electron/renderer/src/stories/assets/python.svg
similarity index 100%
rename from src/renderer/src/stories/assets/python.svg
rename to src/electron/renderer/src/stories/assets/python.svg
diff --git a/src/renderer/src/stories/assets/repo.svg b/src/electron/renderer/src/stories/assets/repo.svg
similarity index 100%
rename from src/renderer/src/stories/assets/repo.svg
rename to src/electron/renderer/src/stories/assets/repo.svg
diff --git a/src/renderer/src/stories/assets/restart.svg b/src/electron/renderer/src/stories/assets/restart.svg
similarity index 100%
rename from src/renderer/src/stories/assets/restart.svg
rename to src/electron/renderer/src/stories/assets/restart.svg
diff --git a/src/renderer/src/stories/assets/save.svg b/src/electron/renderer/src/stories/assets/save.svg
similarity index 100%
rename from src/renderer/src/stories/assets/save.svg
rename to src/electron/renderer/src/stories/assets/save.svg
diff --git a/src/renderer/src/stories/assets/search.svg b/src/electron/renderer/src/stories/assets/search.svg
similarity index 100%
rename from src/renderer/src/stories/assets/search.svg
rename to src/electron/renderer/src/stories/assets/search.svg
diff --git a/src/renderer/src/stories/assets/server.svg b/src/electron/renderer/src/stories/assets/server.svg
similarity index 100%
rename from src/renderer/src/stories/assets/server.svg
rename to src/electron/renderer/src/stories/assets/server.svg
diff --git a/src/renderer/src/stories/assets/settings.svg b/src/electron/renderer/src/stories/assets/settings.svg
similarity index 100%
rename from src/renderer/src/stories/assets/settings.svg
rename to src/electron/renderer/src/stories/assets/settings.svg
diff --git a/src/renderer/src/stories/assets/stackalt.svg b/src/electron/renderer/src/stories/assets/stackalt.svg
similarity index 100%
rename from src/renderer/src/stories/assets/stackalt.svg
rename to src/electron/renderer/src/stories/assets/stackalt.svg
diff --git a/src/renderer/src/stories/assets/web_asset.svg b/src/electron/renderer/src/stories/assets/web_asset.svg
similarity index 100%
rename from src/renderer/src/stories/assets/web_asset.svg
rename to src/electron/renderer/src/stories/assets/web_asset.svg
diff --git a/src/renderer/src/stories/assets/wifi.svg b/src/electron/renderer/src/stories/assets/wifi.svg
similarity index 100%
rename from src/renderer/src/stories/assets/wifi.svg
rename to src/electron/renderer/src/stories/assets/wifi.svg
diff --git a/src/renderer/src/stories/forms/GlobalFormModal.ts b/src/electron/renderer/src/stories/forms/GlobalFormModal.ts
similarity index 97%
rename from src/renderer/src/stories/forms/GlobalFormModal.ts
rename to src/electron/renderer/src/stories/forms/GlobalFormModal.ts
index ccfbf55e5..866a63974 100644
--- a/src/renderer/src/stories/forms/GlobalFormModal.ts
+++ b/src/electron/renderer/src/stories/forms/GlobalFormModal.ts
@@ -1,7 +1,7 @@
import { Modal } from "../Modal"
import { Page } from "../pages/Page.js"
-import { Button } from "../Button"
-import { JSONSchemaForm } from "../JSONSchemaForm"
+import { Button } from "../Button.js"
+import { JSONSchemaForm } from "../JSONSchemaForm.js"
import { onThrow } from "../../errors";
import { merge } from "../pages/utils.js";
diff --git a/src/renderer/src/stories/forms/utils.ts b/src/electron/renderer/src/stories/forms/utils.ts
similarity index 100%
rename from src/renderer/src/stories/forms/utils.ts
rename to src/electron/renderer/src/stories/forms/utils.ts
diff --git a/src/renderer/src/stories/globals.js b/src/electron/renderer/src/stories/globals.js
similarity index 100%
rename from src/renderer/src/stories/globals.js
rename to src/electron/renderer/src/stories/globals.js
diff --git a/src/renderer/src/stories/hot.js b/src/electron/renderer/src/stories/hot.js
similarity index 100%
rename from src/renderer/src/stories/hot.js
rename to src/electron/renderer/src/stories/hot.js
diff --git a/src/renderer/src/stories/instances/item.ts b/src/electron/renderer/src/stories/instances/item.ts
similarity index 100%
rename from src/renderer/src/stories/instances/item.ts
rename to src/electron/renderer/src/stories/instances/item.ts
diff --git a/src/renderer/src/stories/multiselect/MultiSelectForm.js b/src/electron/renderer/src/stories/multiselect/MultiSelectForm.js
similarity index 100%
rename from src/renderer/src/stories/multiselect/MultiSelectForm.js
rename to src/electron/renderer/src/stories/multiselect/MultiSelectForm.js
diff --git a/src/renderer/src/stories/multiselect/Multiselect.stories.js b/src/electron/renderer/src/stories/multiselect/Multiselect.stories.js
similarity index 100%
rename from src/renderer/src/stories/multiselect/Multiselect.stories.js
rename to src/electron/renderer/src/stories/multiselect/Multiselect.stories.js
diff --git a/src/renderer/src/stories/pages/FormPage.js b/src/electron/renderer/src/stories/pages/FormPage.js
similarity index 98%
rename from src/renderer/src/stories/pages/FormPage.js
rename to src/electron/renderer/src/stories/pages/FormPage.js
index 8930e8d17..7791c46ec 100644
--- a/src/renderer/src/stories/pages/FormPage.js
+++ b/src/electron/renderer/src/stories/pages/FormPage.js
@@ -3,7 +3,7 @@ import { JSONSchemaForm } from "../JSONSchemaForm.js";
import { Page } from "./Page.js";
import { validateOnChange } from "../../validation/index.js";
import { onThrow } from "../../errors";
-import { merge } from "./utils.js";
+import { merge } from "./utils";
export function schemaToPages(schema, globalStatePath, options, transformationCallback = (info) => info) {
return Object.entries(schema.properties)
diff --git a/src/renderer/src/stories/pages/Page.js b/src/electron/renderer/src/stories/pages/Page.js
similarity index 99%
rename from src/renderer/src/stories/pages/Page.js
rename to src/electron/renderer/src/stories/pages/Page.js
index 0674806bd..a4613c31c 100644
--- a/src/renderer/src/stories/pages/Page.js
+++ b/src/electron/renderer/src/stories/pages/Page.js
@@ -1,8 +1,8 @@
import { LitElement, html } from "lit";
import { runConversion } from "./guided-mode/options/utils.js";
import { get, save } from "../../progress/index.js";
-import { dismissNotification, isStorybook, notify } from "../../dependencies/globals.js";
-import { randomizeElements, mapSessions, merge } from "./utils.js";
+import { dismissNotification, isStorybook, notify } from "../../dependencies/globals";
+import { randomizeElements, mapSessions, merge } from "./utils";
import { resolveMetadata } from "./guided-mode/data/utils.js";
import Swal from "sweetalert2";
diff --git a/src/renderer/src/stories/pages/Pages.stories.js b/src/electron/renderer/src/stories/pages/Pages.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/Pages.stories.js
rename to src/electron/renderer/src/stories/pages/Pages.stories.js
diff --git a/src/renderer/src/stories/pages/Unsafe.js b/src/electron/renderer/src/stories/pages/Unsafe.js
similarity index 100%
rename from src/renderer/src/stories/pages/Unsafe.js
rename to src/electron/renderer/src/stories/pages/Unsafe.js
diff --git a/src/renderer/src/stories/pages/contact-us/Contact.js b/src/electron/renderer/src/stories/pages/contact-us/Contact.js
similarity index 96%
rename from src/renderer/src/stories/pages/contact-us/Contact.js
rename to src/electron/renderer/src/stories/pages/contact-us/Contact.js
index 19764056a..7d4ca7c9b 100644
--- a/src/renderer/src/stories/pages/contact-us/Contact.js
+++ b/src/electron/renderer/src/stories/pages/contact-us/Contact.js
@@ -2,7 +2,7 @@ import { html } from "lit";
import { contact_lottie } from "../../../../assets/lotties/contact-us-lotties.js";
import { Page } from "../Page.js";
-import { startLottie } from "../../../dependencies/globals.js";
+import { startLottie } from "../../../dependencies/globals";
export class ContactPage extends Page {
header = {
diff --git a/src/renderer/src/stories/pages/documentation/Documentation.js b/src/electron/renderer/src/stories/pages/documentation/Documentation.js
similarity index 98%
rename from src/renderer/src/stories/pages/documentation/Documentation.js
rename to src/electron/renderer/src/stories/pages/documentation/Documentation.js
index cb271ab8e..78d8713d9 100644
--- a/src/renderer/src/stories/pages/documentation/Documentation.js
+++ b/src/electron/renderer/src/stories/pages/documentation/Documentation.js
@@ -2,7 +2,7 @@ import { html } from "lit";
import { docu_lottie } from "../../../../assets/lotties/documentation-lotties.js";
import { Page } from "../Page.js";
-import { startLottie } from "../../../dependencies/globals.js";
+import { startLottie } from "../../../dependencies/globals";
import { Button } from "../../Button.js";
diff --git a/src/renderer/src/stories/pages/getting-started/GettingStarted.js b/src/electron/renderer/src/stories/pages/getting-started/GettingStarted.js
similarity index 98%
rename from src/renderer/src/stories/pages/getting-started/GettingStarted.js
rename to src/electron/renderer/src/stories/pages/getting-started/GettingStarted.js
index 075f27dc1..ae930edd9 100644
--- a/src/renderer/src/stories/pages/getting-started/GettingStarted.js
+++ b/src/electron/renderer/src/stories/pages/getting-started/GettingStarted.js
@@ -2,7 +2,7 @@ import { html } from "lit";
import { column1Lottie, column2Lottie, column3Lottie } from "../../../../assets/lotties/overview-lotties.js";
import { Page } from "../Page.js";
-import { startLottie } from "../../../dependencies/globals.js";
+import { startLottie } from "../../../dependencies/globals";
export class GettingStartedPage extends Page {
constructor(...args) {
diff --git a/src/renderer/src/stories/pages/globals.js b/src/electron/renderer/src/stories/pages/globals.js
similarity index 100%
rename from src/renderer/src/stories/pages/globals.js
rename to src/electron/renderer/src/stories/pages/globals.js
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedFooter.js b/src/electron/renderer/src/stories/pages/guided-mode/GuidedFooter.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/GuidedFooter.js
rename to src/electron/renderer/src/stories/pages/guided-mode/GuidedFooter.js
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedHeader.js b/src/electron/renderer/src/stories/pages/guided-mode/GuidedHeader.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/GuidedHeader.js
rename to src/electron/renderer/src/stories/pages/guided-mode/GuidedHeader.js
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedHome.js b/src/electron/renderer/src/stories/pages/guided-mode/GuidedHome.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/GuidedHome.js
rename to src/electron/renderer/src/stories/pages/guided-mode/GuidedHome.js
index 1c1b6c5ec..9c3ed487a 100644
--- a/src/renderer/src/stories/pages/guided-mode/GuidedHome.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/GuidedHome.js
@@ -2,7 +2,7 @@ import { html } from "lit";
import { Page } from "../Page.js";
import { ProgressCard } from "./ProgressCard.js";
-import { startLottie } from "../../../dependencies/globals.js";
+import { startLottie } from "../../../dependencies/globals";
import * as progress from "../../../progress/index.js";
import { newDataset } from "../../../../assets/lotties/index.js";
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/GuidedHome.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/GuidedStart.js b/src/electron/renderer/src/stories/pages/guided-mode/GuidedStart.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/GuidedStart.js
rename to src/electron/renderer/src/stories/pages/guided-mode/GuidedStart.js
index 43cb4f2cc..bfe38401b 100644
--- a/src/renderer/src/stories/pages/guided-mode/GuidedStart.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/GuidedStart.js
@@ -3,7 +3,7 @@ import { Page } from "../Page.js";
import "./GuidedFooter";
import { InfoBox } from "../../InfoBox.js";
import { InspectorListItem } from "../../preview/inspector/InspectorList.js";
-import { sections } from "../globals.js";
+import { sections } from "../globals";
export class GuidedStartPage extends Page {
constructor(...args) {
diff --git a/src/renderer/src/stories/pages/guided-mode/Locate.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Locate.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Locate.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Locate.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Metadata.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Metadata.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Metadata.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Metadata.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/NewDataset.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Preview.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Preview.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Preview.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Preview.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/ProgressCard.js b/src/electron/renderer/src/stories/pages/guided-mode/ProgressCard.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/ProgressCard.js
rename to src/electron/renderer/src/stories/pages/guided-mode/ProgressCard.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Review.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Review.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Review.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Review.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/SourceData.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/SourceData.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/SourceData.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Structure.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Structure.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Structure.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Structure.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Subjects.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Subjects.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Subjects.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Subjects.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/Upload.stories.js b/src/electron/renderer/src/stories/pages/guided-mode/Upload.stories.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/Upload.stories.js
rename to src/electron/renderer/src/stories/pages/guided-mode/Upload.stories.js
diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js
index 3a29b406b..ee1e60e15 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js
@@ -11,12 +11,12 @@ import {
getInfoFromId,
drillSchemaProperties,
resolveFromPath,
-} from "./utils.js";
+} from "./utils";
import Swal from "sweetalert2";
-import { SimpleTable } from "../../../SimpleTable";
+import { SimpleTable } from "../../../SimpleTable.js";
import { onThrow } from "../../../../errors";
-import { merge } from "../../utils.js";
+import { merge } from "../../utils";
import { NWBFilePreview } from "../../../preview/NWBFilePreview.js";
import { header, tempPropertyKey } from "../../../forms/utils";
diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js
index 01e180939..922331770 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedPathExpansion.js
@@ -7,7 +7,7 @@ import { run } from "../options/utils.js";
import { onThrow } from "../../../../errors";
import pathExpansionSchema from "../../../../../../../schemas/json/path-expansion.schema.json" assert { type: "json" };
-import { merge } from "../../utils.js";
+import { merge } from "../../utils";
import { List } from "../../../List";
import { fs } from "../../../../electron/index.js";
import { Button } from "../../../Button.js";
diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
similarity index 98%
rename from src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
index d9166968e..9fca8680c 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
@@ -1,10 +1,10 @@
import Swal from "sweetalert2";
-import { isStorybook } from "../../../../dependencies/globals.js";
+import { isStorybook } from "../../../../dependencies/globals";
import { JSONSchemaForm } from "../../../JSONSchemaForm.js";
import { InstanceManager } from "../../../InstanceManager.js";
import { ManagedPage } from "./ManagedPage.js";
import { onThrow } from "../../../../errors";
-import { merge, sanitize } from "../../utils.js";
+import { merge, sanitize } from "../../utils";
import preprocessSourceDataSchema from "../../../../../../../schemas/source-data.schema";
import { createGlobalFormModal } from "../../../forms/GlobalFormModal";
@@ -16,7 +16,7 @@ import globalIcon from "../../../assets/global.svg?raw";
import { baseUrl } from "../../../../server/globals";
import { run } from "../options/utils.js";
-import { getInfoFromId } from "./utils.js";
+import { getInfoFromId } from "./utils";
import { Modal } from "../../../Modal";
const propsToIgnore = {
diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js
similarity index 98%
rename from src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js
index 8ce3d10fb..0cfa26dec 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js
@@ -3,7 +3,7 @@ import { Page } from "../../Page.js";
// For Multi-Select Form
import { Button } from "../../../Button.js";
-import { supportedInterfaces } from "../../../../globals.js";
+import { supportedInterfaces } from "../../../../globals";
import { Search } from "../../../Search.js";
import { Modal } from "../../../Modal";
import { List } from "../../../List";
diff --git a/src/renderer/src/stories/pages/guided-mode/data/ManagedPage.js b/src/electron/renderer/src/stories/pages/guided-mode/data/ManagedPage.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/data/ManagedPage.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/ManagedPage.js
diff --git a/src/renderer/src/stories/pages/guided-mode/data/utils.js b/src/electron/renderer/src/stories/pages/guided-mode/data/utils.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/data/utils.js
rename to src/electron/renderer/src/stories/pages/guided-mode/data/utils.js
index a2c00b03c..45fc8355b 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/utils.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/data/utils.js
@@ -1,5 +1,5 @@
import { getEditableItems } from "../../../JSONSchemaInput.js";
-import { merge } from "../../utils.js";
+import { merge } from "../../utils";
// Merge project-wide data into metadata
export function populateWithProjectMetadata(info, globalState) {
diff --git a/src/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js b/src/electron/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js
rename to src/electron/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js
index 65ca62ccf..73e9b12cf 100644
--- a/src/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/options/GuidedInspectorPage.js
@@ -8,13 +8,13 @@ import { electron } from "../../../../electron/index.js";
import { getSharedPath, removeFilePaths, truncateFilePaths } from "../../../preview/NWBFilePreview.js";
const { ipcRenderer } = electron;
import { until } from "lit/directives/until.js";
-import { run } from "./utils.js";
+import { run } from "./utils";
import { InspectorList, InspectorLegend } from "../../../preview/inspector/InspectorList.js";
import { getStubArray } from "./GuidedStubPreview.js";
import { InstanceManager } from "../../../InstanceManager.js";
import { getMessageType } from "../../../../validation/index.js";
-import { Button } from "../../../Button";
+import { Button } from "../../../Button.js";
import { download } from "../../inspect/utils.js";
import { createProgressPopup } from "../../../utils/progress.js";
diff --git a/src/renderer/src/stories/pages/guided-mode/options/GuidedStubPreview.js b/src/electron/renderer/src/stories/pages/guided-mode/options/GuidedStubPreview.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/options/GuidedStubPreview.js
rename to src/electron/renderer/src/stories/pages/guided-mode/options/GuidedStubPreview.js
diff --git a/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js b/src/electron/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js
rename to src/electron/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js
index 16d325c8d..ad3d54216 100644
--- a/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js
@@ -2,7 +2,7 @@ import { html } from "lit";
import { JSONSchemaForm } from "../../../JSONSchemaForm.js";
import { Page } from "../../Page.js";
import { onThrow } from "../../../../errors";
-import { merge } from "../../utils.js";
+import { merge } from "../../utils";
import Swal from "sweetalert2";
import dandiUploadSchema, { ready, regenerateDandisets } from "../../../../../../../schemas/dandi-upload.schema";
import { createDandiset, uploadToDandi } from "../../uploads/UploadsPage.js";
diff --git a/src/renderer/src/stories/pages/guided-mode/options/utils.js b/src/electron/renderer/src/stories/pages/guided-mode/options/utils.js
similarity index 98%
rename from src/renderer/src/stories/pages/guided-mode/options/utils.js
rename to src/electron/renderer/src/stories/pages/guided-mode/options/utils.js
index b038913d5..664d5b815 100644
--- a/src/renderer/src/stories/pages/guided-mode/options/utils.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/options/utils.js
@@ -1,5 +1,5 @@
import Swal from "sweetalert2";
-import { sanitize } from "../../utils.js";
+import { sanitize } from "../../utils";
import { baseUrl } from "../../../../server/globals";
export const openProgressSwal = (options, callback) => {
diff --git a/src/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js b/src/electron/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js
similarity index 95%
rename from src/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js
rename to src/electron/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js
index 26e3c3209..bd41505cb 100644
--- a/src/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/results/GuidedDandiResults.js
@@ -1,7 +1,7 @@
import { html } from "lit";
import { Page } from "../../Page.js";
-import { DandiResults } from "../../../DandiResults";
+import { DandiResults } from "../../../DandiResults.js";
export class GuidedDandiResultsPage extends Page {
constructor(...args) {
diff --git a/src/renderer/src/stories/pages/guided-mode/results/GuidedResults.js b/src/electron/renderer/src/stories/pages/guided-mode/results/GuidedResults.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/results/GuidedResults.js
rename to src/electron/renderer/src/stories/pages/guided-mode/results/GuidedResults.js
diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js b/src/electron/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js
rename to src/electron/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js
index 71c060fa7..619c33b25 100644
--- a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js
+++ b/src/electron/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js
@@ -6,7 +6,7 @@ import { validateOnChange } from "../../../../validation/index.js";
import projectGeneralSchema from "../../../../../../../schemas/json/project/general.json" assert { type: "json" };
import projectGlobalSchema from "../../../../../../../schemas/json/project/globals.json" assert { type: "json" };
-import { merge } from "../../utils.js";
+import { merge } from "../../utils";
import { onThrow } from "../../../../errors";
import { header } from "../../../forms/utils";
diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js b/src/electron/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js
rename to src/electron/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js
diff --git a/src/renderer/src/stories/pages/guided-mode/setup/Preform.js b/src/electron/renderer/src/stories/pages/guided-mode/setup/Preform.js
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/setup/Preform.js
rename to src/electron/renderer/src/stories/pages/guided-mode/setup/Preform.js
diff --git a/src/renderer/src/stories/pages/guided-mode/setup/utils.ts b/src/electron/renderer/src/stories/pages/guided-mode/setup/utils.ts
similarity index 100%
rename from src/renderer/src/stories/pages/guided-mode/setup/utils.ts
rename to src/electron/renderer/src/stories/pages/guided-mode/setup/utils.ts
diff --git a/src/renderer/src/stories/pages/guided-mode/storyStates.ts b/src/electron/renderer/src/stories/pages/guided-mode/storyStates.ts
similarity index 99%
rename from src/renderer/src/stories/pages/guided-mode/storyStates.ts
rename to src/electron/renderer/src/stories/pages/guided-mode/storyStates.ts
index 211ee2c5c..b8cd76034 100644
--- a/src/renderer/src/stories/pages/guided-mode/storyStates.ts
+++ b/src/electron/renderer/src/stories/pages/guided-mode/storyStates.ts
@@ -1,4 +1,4 @@
-import nwbBaseSchema from "../../../../../../schemas/base-metadata.schema";
+import nwbBaseSchema from "../../../../../../schemas/base-metadata.schema.js";
// import exephysExampleSchema from "../../../../../../schemas/json/ecephys_metadata_schema_example.json";
import { dashboard } from "../../../pages.js";
diff --git a/src/renderer/src/stories/pages/inspect/InspectPage.js b/src/electron/renderer/src/stories/pages/inspect/InspectPage.js
similarity index 99%
rename from src/renderer/src/stories/pages/inspect/InspectPage.js
rename to src/electron/renderer/src/stories/pages/inspect/InspectPage.js
index 577d7fbde..1db95cf12 100644
--- a/src/renderer/src/stories/pages/inspect/InspectPage.js
+++ b/src/electron/renderer/src/stories/pages/inspect/InspectPage.js
@@ -8,7 +8,7 @@ import { JSONSchemaInput } from "../../JSONSchemaInput.js";
import { Modal } from "../../Modal";
import { getSharedPath, truncateFilePaths } from "../../preview/NWBFilePreview.js";
import { InspectorList, InspectorLegend } from "../../preview/inspector/InspectorList.js";
-import { download } from "./utils.js";
+import { download } from "./utils";
import { createProgressPopup } from "../../utils/progress.js";
import { ready } from "../../../../../../schemas/dandi-upload.schema";
diff --git a/src/renderer/src/stories/pages/inspect/utils.js b/src/electron/renderer/src/stories/pages/inspect/utils.js
similarity index 100%
rename from src/renderer/src/stories/pages/inspect/utils.js
rename to src/electron/renderer/src/stories/pages/inspect/utils.js
diff --git a/src/renderer/src/stories/pages/preview/PreviewPage.js b/src/electron/renderer/src/stories/pages/preview/PreviewPage.js
similarity index 100%
rename from src/renderer/src/stories/pages/preview/PreviewPage.js
rename to src/electron/renderer/src/stories/pages/preview/PreviewPage.js
diff --git a/src/renderer/src/stories/pages/settings/SettingsPage.js b/src/electron/renderer/src/stories/pages/settings/SettingsPage.js
similarity index 96%
rename from src/renderer/src/stories/pages/settings/SettingsPage.js
rename to src/electron/renderer/src/stories/pages/settings/SettingsPage.js
index 7c40baedf..136a197a3 100644
--- a/src/renderer/src/stories/pages/settings/SettingsPage.js
+++ b/src/electron/renderer/src/stories/pages/settings/SettingsPage.js
@@ -10,9 +10,9 @@ import { validateDANDIApiKey } from "../../../validation/dandi";
import { Button } from "../../Button.js";
import { global, remove, save } from "../../../progress/index.js";
-import { merge, setUndefinedIfNotDeclared } from "../utils.js";
+import { merge, setUndefinedIfNotDeclared } from "../utils";
-import { homeDirectory, notyf, testDataFolderPath } from "../../../dependencies/globals.js";
+import { homeDirectory, notyf, testDataFolderPath } from "../../../dependencies/globals";
import { SERVER_FILE_PATH, electron, path, port, fs } from "../../../electron/index.js";
import saveSVG from "../../assets/save.svg?raw";
@@ -22,9 +22,9 @@ import generateSVG from "../../assets/restart.svg?raw";
import { header } from "../../forms/utils";
-import testingSuiteYaml from "../../../../../../guide_testing_suite.yml";
+import examplePipelines from "../../../../../../example_pipelines.yml";
import { run } from "../guided-mode/options/utils.js";
-import { joinPath } from "../../../globals.js";
+import { joinPath } from "../../../globals";
const DATA_OUTPUT_PATH = joinPath(testDataFolderPath, "single_session_data");
const DATASET_OUTPUT_PATH = joinPath(testDataFolderPath, "multi_session_dataset");
@@ -235,7 +235,7 @@ export class SettingsPage extends Page {
});
const generatePipelineButton = new Button({
- label: "Generate Test Pipelines",
+ label: "Generate Example Pipelines",
onClick: async () => {
const { testing_data_folder } = this.form.results.developer ?? {};
@@ -245,13 +245,11 @@ export class SettingsPage extends Page {
"error"
);
- const { pipelines = {} } = testingSuiteYaml;
-
- const pipelineNames = Object.keys(pipelines);
+ const pipelineNames = Object.keys(examplePipelines);
const resolved = pipelineNames.reverse().map((name) => {
try {
- saveNewPipelineFromYaml(name, pipelines[name], testing_data_folder);
+ saveNewPipelineFromYaml(name, examplePipelines[name], testing_data_folder);
return true;
} catch (e) {
console.error(e);
diff --git a/src/renderer/src/stories/pages/uploads/UploadsPage.js b/src/electron/renderer/src/stories/pages/uploads/UploadsPage.js
similarity index 99%
rename from src/renderer/src/stories/pages/uploads/UploadsPage.js
rename to src/electron/renderer/src/stories/pages/uploads/UploadsPage.js
index 3f5b09954..07aea9858 100644
--- a/src/renderer/src/stories/pages/uploads/UploadsPage.js
+++ b/src/electron/renderer/src/stories/pages/uploads/UploadsPage.js
@@ -18,7 +18,7 @@ import dandiCreateSchema from "../../../../../../schemas/dandi-create.schema";
import { Button } from "../../Button.js";
import { global } from "../../../progress/index.js";
-import { merge } from "../utils.js";
+import { merge } from "../utils";
import { run } from "../guided-mode/options/utils.js";
import { Modal } from "../../Modal";
diff --git a/src/renderer/src/stories/pages/uploads/utils.ts b/src/electron/renderer/src/stories/pages/uploads/utils.ts
similarity index 100%
rename from src/renderer/src/stories/pages/uploads/utils.ts
rename to src/electron/renderer/src/stories/pages/uploads/utils.ts
diff --git a/src/renderer/src/stories/pages/utils.js b/src/electron/renderer/src/stories/pages/utils.js
similarity index 100%
rename from src/renderer/src/stories/pages/utils.js
rename to src/electron/renderer/src/stories/pages/utils.js
diff --git a/src/renderer/src/stories/preview/NWBFilePreview.js b/src/electron/renderer/src/stories/preview/NWBFilePreview.js
similarity index 100%
rename from src/renderer/src/stories/preview/NWBFilePreview.js
rename to src/electron/renderer/src/stories/preview/NWBFilePreview.js
diff --git a/src/renderer/src/stories/preview/Neurosift.js b/src/electron/renderer/src/stories/preview/Neurosift.js
similarity index 100%
rename from src/renderer/src/stories/preview/Neurosift.js
rename to src/electron/renderer/src/stories/preview/Neurosift.js
diff --git a/src/renderer/src/stories/preview/inspector/InspectorList.js b/src/electron/renderer/src/stories/preview/inspector/InspectorList.js
similarity index 100%
rename from src/renderer/src/stories/preview/inspector/InspectorList.js
rename to src/electron/renderer/src/stories/preview/inspector/InspectorList.js
diff --git a/src/renderer/src/stories/preview/inspector/InspectorList.stories.js b/src/electron/renderer/src/stories/preview/inspector/InspectorList.stories.js
similarity index 100%
rename from src/renderer/src/stories/preview/inspector/InspectorList.stories.js
rename to src/electron/renderer/src/stories/preview/inspector/InspectorList.stories.js
diff --git a/src/renderer/src/stories/preview/inspector/test.json b/src/electron/renderer/src/stories/preview/inspector/test.json
similarity index 100%
rename from src/renderer/src/stories/preview/inspector/test.json
rename to src/electron/renderer/src/stories/preview/inspector/test.json
diff --git a/src/renderer/src/stories/sidebar.js b/src/electron/renderer/src/stories/sidebar.js
similarity index 100%
rename from src/renderer/src/stories/sidebar.js
rename to src/electron/renderer/src/stories/sidebar.js
diff --git a/src/renderer/src/stories/status/StatusBar.stories.js b/src/electron/renderer/src/stories/status/StatusBar.stories.js
similarity index 100%
rename from src/renderer/src/stories/status/StatusBar.stories.js
rename to src/electron/renderer/src/stories/status/StatusBar.stories.js
diff --git a/src/renderer/src/stories/status/StatusBar.ts b/src/electron/renderer/src/stories/status/StatusBar.ts
similarity index 100%
rename from src/renderer/src/stories/status/StatusBar.ts
rename to src/electron/renderer/src/stories/status/StatusBar.ts
diff --git a/src/renderer/src/stories/status/StatusIndicator.ts b/src/electron/renderer/src/stories/status/StatusIndicator.ts
similarity index 100%
rename from src/renderer/src/stories/status/StatusIndicator.ts
rename to src/electron/renderer/src/stories/status/StatusIndicator.ts
diff --git a/src/renderer/src/stories/table/Cell.ts b/src/electron/renderer/src/stories/table/Cell.ts
similarity index 100%
rename from src/renderer/src/stories/table/Cell.ts
rename to src/electron/renderer/src/stories/table/Cell.ts
diff --git a/src/renderer/src/stories/table/ContextMenu.ts b/src/electron/renderer/src/stories/table/ContextMenu.ts
similarity index 100%
rename from src/renderer/src/stories/table/ContextMenu.ts
rename to src/electron/renderer/src/stories/table/ContextMenu.ts
diff --git a/src/renderer/src/stories/table/cells/array.ts b/src/electron/renderer/src/stories/table/cells/array.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/array.ts
rename to src/electron/renderer/src/stories/table/cells/array.ts
diff --git a/src/renderer/src/stories/table/cells/base.ts b/src/electron/renderer/src/stories/table/cells/base.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/base.ts
rename to src/electron/renderer/src/stories/table/cells/base.ts
diff --git a/src/renderer/src/stories/table/cells/date-time.ts b/src/electron/renderer/src/stories/table/cells/date-time.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/date-time.ts
rename to src/electron/renderer/src/stories/table/cells/date-time.ts
diff --git a/src/renderer/src/stories/table/cells/dropdown.ts b/src/electron/renderer/src/stories/table/cells/dropdown.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/dropdown.ts
rename to src/electron/renderer/src/stories/table/cells/dropdown.ts
diff --git a/src/renderer/src/stories/table/cells/editors/base.ts b/src/electron/renderer/src/stories/table/cells/editors/base.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/editors/base.ts
rename to src/electron/renderer/src/stories/table/cells/editors/base.ts
diff --git a/src/renderer/src/stories/table/cells/input.ts b/src/electron/renderer/src/stories/table/cells/input.ts
similarity index 95%
rename from src/renderer/src/stories/table/cells/input.ts
rename to src/electron/renderer/src/stories/table/cells/input.ts
index 51472ce58..5c090813a 100644
--- a/src/renderer/src/stories/table/cells/input.ts
+++ b/src/electron/renderer/src/stories/table/cells/input.ts
@@ -1,10 +1,10 @@
import { LitElement, css, html } from "lit";
-import { TableCellBase } from "./base";
-import { BaseRenderer } from "./renderers/base";
+import { TableCellBase } from "./base.js";
+import { BaseRenderer } from "./renderers/base.js";
import { Modal } from "../../Modal";
import { SimpleTable } from "../../SimpleTable.js";
-import { JSONSchemaInput } from "../../JSONSchemaInput";
+import { JSONSchemaInput } from "../../JSONSchemaInput.js";
import { header } from "../../forms/utils";
diff --git a/src/renderer/src/stories/table/cells/renderers/base.ts b/src/electron/renderer/src/stories/table/cells/renderers/base.ts
similarity index 100%
rename from src/renderer/src/stories/table/cells/renderers/base.ts
rename to src/electron/renderer/src/stories/table/cells/renderers/base.ts
diff --git a/src/renderer/src/stories/table/convert.ts b/src/electron/renderer/src/stories/table/convert.ts
similarity index 100%
rename from src/renderer/src/stories/table/convert.ts
rename to src/electron/renderer/src/stories/table/convert.ts
diff --git a/src/renderer/src/stories/table/utils.ts b/src/electron/renderer/src/stories/table/utils.ts
similarity index 100%
rename from src/renderer/src/stories/table/utils.ts
rename to src/electron/renderer/src/stories/table/utils.ts
diff --git a/src/renderer/src/stories/utils/progress.js b/src/electron/renderer/src/stories/utils/progress.js
similarity index 100%
rename from src/renderer/src/stories/utils/progress.js
rename to src/electron/renderer/src/stories/utils/progress.js
diff --git a/src/renderer/src/stories/utils/useGlobalStyles.js b/src/electron/renderer/src/stories/utils/useGlobalStyles.js
similarity index 100%
rename from src/renderer/src/stories/utils/useGlobalStyles.js
rename to src/electron/renderer/src/stories/utils/useGlobalStyles.js
diff --git a/src/renderer/src/validation/dandi.ts b/src/electron/renderer/src/validation/dandi.ts
similarity index 100%
rename from src/renderer/src/validation/dandi.ts
rename to src/electron/renderer/src/validation/dandi.ts
diff --git a/src/renderer/src/validation/index.js b/src/electron/renderer/src/validation/index.js
similarity index 100%
rename from src/renderer/src/validation/index.js
rename to src/electron/renderer/src/validation/index.js
diff --git a/src/renderer/src/validation/validation.json b/src/electron/renderer/src/validation/validation.json
similarity index 100%
rename from src/renderer/src/validation/validation.json
rename to src/electron/renderer/src/validation/validation.json
diff --git a/src/renderer/src/validation/validation.ts b/src/electron/renderer/src/validation/validation.ts
similarity index 100%
rename from src/renderer/src/validation/validation.ts
rename to src/electron/renderer/src/validation/validation.ts
diff --git a/src/renderer/utils/url.js b/src/electron/renderer/utils/url.js
similarity index 100%
rename from src/renderer/utils/url.js
rename to src/electron/renderer/utils/url.js
diff --git a/src/example_pipelines.yml b/src/example_pipelines.yml
new file mode 100644
index 000000000..2830d3757
--- /dev/null
+++ b/src/example_pipelines.yml
@@ -0,0 +1,165 @@
+# Follows pattern
+# pipeline_name:
+# test: Optional[bool]
+# metadata:
+# key:
+# name: value
+# array:
+# - First value
+# - Second value
+# interfaces:
+# DataInterfaceName:
+# file_or_folder_path: