Skip to content

Commit

Permalink
wip: Added modalities data annotation page with samples (more to come)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobiClark committed Feb 3, 2025
2 parents 97b025d + 0290409 commit 852ade8
Show file tree
Hide file tree
Showing 11 changed files with 13,056 additions and 1,797 deletions.
70 changes: 48 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"intro.js": "^7.2.0",
"jimp": "^0.22.10",
"jquery": "3.6.0",
"jscodeshift": "^17.1.2",
"jspreadsheet": "^10.3.3",
"jstree": "^3.3.16",
"lottie-web": "^5.12.2",
Expand All @@ -94,14 +95,16 @@
"devDependencies": {
"@electron-toolkit/eslint-config": "^1.0.1",
"@electron-toolkit/eslint-config-prettier": "^1.0.1",
"@eslint/js": "^9.19.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@vitejs/plugin-react": "^4.0.4",
"electron": "19.0.0",
"electron-builder": "^24.6.3",
"electron-vite": "^1.0.27",
"esbuild": "^0.21.3",
"eslint": "^8.47.0",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.33.2",
"globals": "^15.14.0",
"postcss": "^8.4.38",
"postcss-preset-mantine": "^1.14.0",
"postcss-simple-vars": "^7.0.1",
Expand Down
14 changes: 0 additions & 14 deletions src/main/main-process/native-ui/dialogs/open-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,20 +482,6 @@ ipcMain.on("open-folder-dialog-save-subjects", async (event, filename) => {
}
});

// Generate samples file
ipcMain.on("open-folder-dialog-save-samples", async (event, filename) => {
let mainWindow = BrowserWindow.getFocusedWindow();

let files = await dialog.showOpenDialog(mainWindow, {
properties: ["openDirectory"],
title: "Select a directory",
});

if (files) {
mainWindow.webContents.send("selected-generate-metadata-samples", files.filePaths, filename);
}
});

// Generate changes file
ipcMain.on("open-folder-dialog-save-changes", async (event, filename) => {
let mainWindow = BrowserWindow.getFocusedWindow();
Expand Down
Loading

0 comments on commit 852ade8

Please sign in to comment.