mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 15:51:54 +03:00
6f7a51470d
- Implement https://github.com/enso-org/cloud-v2/issues/961 - Allow directory management on Local backend - Setting a custom root directory is currently *out of scope* of this PR. - Listing directories - Deleting directories and files - Adjust project-related APIs to accept parent directory path (as required by PM when not interacting with root directory) - QoL improvements related to testing this PR - New watch script (`npm run watch2`, `npm run watch:linux`) in `app/ide-desktop/lib/client/`) for testing IDE2 on Electron without having to build the entire app - Adjustments to `gui2`'s `vite.config.ts` to allow React HMR when doing dev in Electron # Important Notes - Support for deleting files and folders uses the API introduced by #9359 - so it will not work until that PR is merged in. - Support for uploading files uses the API specified by #9360 - so it will not work until that issue is closed. |
||
---|---|---|
.. | ||
.vscode | ||
lib | ||
.example.env | ||
.gitignore | ||
eslint.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
Desktop app
This folder contains projects related to the desktop app.
Folder structure
Refer to the README.md
in each individual module (if it exists) for the
internal folder structure of the module.
assets/
: Icons and images used by other modules. Currently these are only used bydashboard/
.client/
: The code for the Electron desktop app.common/
: Utility functions required by multiple other modules.content/
: The entry point for the GUI1 web app. This is the main page for the desktop app.content-config/
: The statically-typed configuration object forcontent/
.dashboard/
: The dashboard, used to manage projects. It launches the GUI (located incontent/
for GUI1, or/app/gui2/
for GUI2) when a project is opened.esbuild-plugin-copy-directories/
: An ESBuild plugin for continuously copying directories from the a given location to a given subdirectory of the build output directory.icons/
: Generates the logo for the app.ts-plugin-namespace-auto-import/
: (WIP) A TypeScript plugin to change auto-import to useimport * as moduleName
rather thanimport {}
.types/
: Miscellaneous types used by multiple modules.