-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New GUI/IDE build script support #7832
Changes from 36 commits
92c08a0
d8e1607
660a5d2
a14bbd8
655405f
d7fa887
48991dd
949f348
688ea4d
8b64bf1
7d453dc
188ed05
0028361
67f9a85
27f35bf
26c34b5
48eb2d7
96fc3db
00ff8ea
be8809d
45a5f42
6b2fe82
8b062eb
5a8c594
a98fa8c
8c359e2
35a645b
3558667
625bb98
5c17c25
b971385
c698a32
e0f2cc8
85110c1
d4372d2
2990eb7
89f0298
f6fbc07
649ba83
74cc2f1
5f46851
ba7ffce
22e3653
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,5 +40,9 @@ ci-build/ | |
enso/ | ||
|
||
# Popular IDEs | ||
.idea | ||
.bsp | ||
.idea | ||
.vscode | ||
|
||
# Stray files generated during build | ||
svm_*.md | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
{ | ||
"rust-analyzer.linkedProjects": ["./app/gui2/rust-ffi/Cargo.toml"], | ||
"rust-analyzer.linkedProjects": [ | ||
"./app/gui2/rust-ffi/Cargo.toml" | ||
], | ||
"vue.complete.casing.status": false, | ||
"vue.complete.casing.props": "camel", | ||
"vue.complete.casing.tags": "pascal", | ||
"auto-snippets.snippets": [ | ||
{ "language": "vue", "snippet": "Vue single-file component" } | ||
{ | ||
"language": "vue", | ||
"snippet": "Vue single-file component" | ||
} | ||
], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"eslint.experimental.useFlatConfig": true, | ||
|
@@ -18,5 +23,6 @@ | |
], | ||
"files.watcherExclude": { | ||
"**/target": true | ||
} | ||
} | ||
}, | ||
"cmake.configureOnOpen": false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this something project-specific? I don't think we are using cmake anywhere. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. VS code just keeps pestering me about setting up CMake without this. Not sure why it is so keen on this. |
||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no nl |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ const INITIAL_URL_KEY = `Enso-initial-url` | |
import './assets/main.css' | ||
|
||
import { basicSetup } from 'codemirror' | ||
import * as dashboard from 'enso-authentication' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe that the side-effect of importing this statically will be that the dashboard code will no longer be split into its own chunk. That's fine, but it will likely cause vite to emit a "large chunk size" warning, which gui2 can't do much about. I guess we could try to improve the overall bundle size later. |
||
import { isMac } from 'lib0/environment' | ||
import { decodeQueryParams } from 'lib0/url' | ||
import { createPinia } from 'pinia' | ||
|
@@ -46,8 +47,6 @@ function stopApp() { | |
|
||
const appRunner = { runApp, stopApp } | ||
|
||
const dashboard = await import('enso-authentication') | ||
|
||
/** The entrypoint into the IDE. */ | ||
function main() { | ||
/** Note: Signing out always redirects to `/`. It is impossible to make this work, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no nl