enso/app/gui
Adam Obuchowicz d79b7df886
Make Component Browser code generation valid and other fixes. (#3890)
This PR fixes the `code_to_insert` method of entry to insert valid code according to the newest language version. Also created a separate method for getting imports required by given entry.

Now, method entries do not add imports (except when they are extensions), and are insterted with place for this type `_.method`. Static methods and constructors are inserted with the type name, and proper import for type is added.

There are some additional work done:
* The ReferentName and NormalizedName were removed, as we are now case-sensitive.
* All QualifiedName structures were replaced with new one in `name` module, as there is no longer functional difference between type qualified name and module qualified name.
* The QualifiedName structure removes "Main" module segment where it is not necessary, thus simplifying our code base and avoiding potential issues.
* Added macro `mock_suggestion_database` which should make creating consistent mocks of SuggestionDatabase much simpler.
* Fixed bug where the visualization preview show no value for some time.

https://user-images.githubusercontent.com/3919101/202750275-0d378d5f-1482-4637-bdcd-c428a9eac0d4.mp4

# Important Notes
The tests in controller/searcher.rs file are not of the best quality, but those will be overhauled anyway when implementing my next task.
2022-11-24 20:34:13 +00:00
..
analytics Build script merge (#3743) 2022-10-10 23:38:48 +02:00
config Build script merge (#3743) 2022-10-10 23:38:48 +02:00
controller Make Component Browser code generation valid and other fixes. (#3890) 2022-11-24 20:34:13 +00:00
docs Document no changelog label (#3833) 2022-10-27 15:28:34 +03:00
enso-profiler-enso-data Build script merge (#3743) 2022-10-10 23:38:48 +02:00
language Rust compile time optimizations (#3873) 2022-11-15 14:09:39 +01:00
src Make Component Browser code generation valid and other fixes. (#3890) 2022-11-24 20:34:13 +00:00
tests Make Component Browser code generation valid and other fixes. (#3890) 2022-11-24 20:34:13 +00:00
view Make Component Browser code generation valid and other fixes. (#3890) 2022-11-24 20:34:13 +00:00
Cargo.toml Component Browser with Grid View (#3766) 2022-10-14 12:42:59 +02:00
config.yaml Integration Test for getComponentGroups method (#3483) 2022-05-27 11:47:44 +00:00
LICENSE Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
README.md Bumped the build script (#3489) 2022-06-01 13:44:40 +02:00

This is the subtree for Enso's graphical interface component. If you're looking for the repository root, you may find it at at 👉 github.com/enso-org/enso 👈


Enso IDE

Overview

Chat License License

Enso is an award-winning interactive programming language with dual visual and textual representations. It is a tool that spans the entire stack, going from high-level visualisation and communication to the nitty-gritty of backend services, all in a single language. Watch the following introduction video to learn what Enso is, and how it helps companies build data workflows in minutes instead of weeks.

This repository contains the source code of Enso interface only. If you are interested in how the interface is build or you want to develop it with us, you are in the right place. See the development and contributing guidelines to learn more about the code structure and the development process.


Getting Started

Enso is distributed both in form of pre-build packages for MacOS, Windows, or Linux, as well as the source code. See the demo scenes, and read the documentation to learn more.


Building

The project builds on macOS, Linux, and Windows. Build functionality is provided by our build script, that are accessible through run (Linux and macOS) or run.cmd (Windows) wrappers.

To build the project, simply run ./run ide build (on Linux or macOS) or .\run.cmd ide build (Windows) to build IDE. To learn more about other available commands use --help argument. Read the detailed development guide to learn more.


License

The Enso Language Compiler is released under the terms of the Apache v2 License. The Enso Graphical Interface and it's rendering engine are released under the terms of the AGPL v3 License. This license set was choosen to both provide you with a complete freedom to use Enso, create libraries, and release them under any license of your choice, while also allowing us to release commercial products on top of the platform, including Enso Cloud and Enso Enterprise on-premise server managers.


Contributing

Enso is a community-driven open source project which is and will always be open and free to use. We are committed to a fully transparent development process and highly appreciate every contribution. If you love the vision behind Enso and you want to redefine the data processing world, join us and help us track down bugs, implement new features, improve the documentation or spread the word! Join our community on a Discord chat and read the development and contributing guidelines.