Skip to content

Commit

Permalink
Slight tweaks per WardBrian comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoules committed Jul 15, 2024
1 parent 7baf01b commit 0550ef3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"react-plotly.js": "^2.6.0",
"react-router-dom": "^6.17.0",
"react-visibility-sensor": "^5.1.1",
"tinystan": "^0.0.2",
"vite-tsconfig-paths": "^4.3.2"
"tinystan": "^0.0.2"
},
"devDependencies": {
"@testing-library/dom": "^10.1.0",
Expand All @@ -61,6 +60,7 @@
"prettier": "^3.3.2",
"typescript": "^5.0.2",
"vite": "^5.2.12",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion gui/src/app/Project/ProjectQueryLoading.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mapFileContentsToModel } from "@SpCore/FileMapping";
import loadFilesFromGist from "@SpCore/loadFilesFromGist";
import loadFilesFromGist from "@SpCore/gists/loadFilesFromGist";
import {
ProjectDataModel,
initialDataModel,
Expand Down
2 changes: 1 addition & 1 deletion gui/src/app/pages/HomePage/SaveProjectWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FunctionComponent, useCallback, useContext, useState } from "react";
import { serializeAsZip } from "@SpCore//ProjectSerialization";
import { FileRegistry, mapModelToFileManifest } from "@SpCore/FileMapping";
import { ProjectContext } from "@SpCore/ProjectContextProvider";
import saveAsGitHubGist from "@SpCore/saveAsGitHubGist";
import saveAsGitHubGist from "@SpCore/gists/saveAsGitHubGist";
import { triggerDownload } from "@SpUtil/triggerDownload";

type SaveProjectWindowProps = {
Expand Down
3 changes: 2 additions & 1 deletion gui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"app/SamplingOptsPanel/*",
"app/TabWidget/*"
],
"@SpCore/*": ["app/Project/*", "app/gists/*"],
"@SpCore/*": ["app/Project/*"],
"@SpCore/gists/*": ["app/gists/*"],
/* We are playing a bit fast and loose with the distinction */
"@SpPages/*": ["app/pages/HomePage/*"],
"@SpStanc/*": [
Expand Down

0 comments on commit 0550ef3

Please sign in to comment.