mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 03:43:41 +03:00
770e18768a
- Closes https://github.com/enso-org/cloud-v2/issues/861 - Adds a `getText` function and React Context to abstract away all text that is shown to users The main immediate benefit is making all text much more discoverable - both being able to know of every piece of text used across the entire application, and making it a lot easier to refactor certain strings when needed rather than having to hunt for strings to replace (and potentially miss one). The longer term benefit is that this will make it easy to add localization, by simply adding another JSON file with the same keys as the existing one, and adding a little bit of logic. # Important Notes None |
||
---|---|---|
.. | ||
.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.