enso/lib/rust
Ilya Bogdanov 698a6a0674
Left align component browser to the edited node (#3636)
[ci no changelog needed]

[Task link](https://www.pivotaltracker.com/story/show/181870555)

This PR changes the relative position of the edited node in such a way that it is left-aligned to the component browser window. This change reflects the most recent version of the [design doc](https://github.com/enso-org/design/blob/main/epics/component-browser/design.md#overview)

<img width="1157" alt="Screenshot 2022-08-08 at 19 15 47" src="https://user-images.githubusercontent.com/6566674/183454192-81960e0a-ab69-43a4-b7df-d13320a9d16d.png">

As an additional change, the FRP implementation of the `Camera2d` was extended with a new output (screen dimensions) and fixed. With the old implementation, there was a possibility of panic at runtime because of non-exclusive borrows of `RefCell`. The FRP event for camera position was emited inside the scope with a mutable `RefCell` borrow. Any attempt to borrow the camera one more time (e.g., by calling one of the getters, such as `zoom()`) caused panic at runtime.
2022-08-09 23:03:54 +00:00
..
automata New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
build-utils Linting codebase 2022-03-10 05:32:33 +01:00
callback Linting codebase 2022-03-10 05:32:33 +01:00
code-builder Linting codebase 2022-03-10 05:32:33 +01:00
config-reader New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
data-structures Parser improvements (#3549) 2022-07-01 05:42:29 +02:00
debug-api fix profiling in chrome (#3540) 2022-07-21 17:24:18 +00:00
ensogl Left align component browser to the edited node (#3636) 2022-08-09 23:03:54 +00:00
frp Component Browser Section Navigator (left bar) (#3553) 2022-07-20 06:35:26 +00:00
fuzzly Linting codebase 2022-03-10 05:32:33 +01:00
generics New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
json-rpc Virtual Component Groups in the Hierarchical Action List (1/2) (#3488) 2022-06-03 17:18:20 +00:00
launcher-shims New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
logger New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
macro-utils New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
metamodel Parser: hide internal APIs in generated Java (#3605) 2022-08-09 23:32:49 +02:00
optics New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
parser Parser: hide internal APIs in generated Java (#3605) 2022-08-09 23:32:49 +02:00
prelude Parser: Unary minus (#3626) 2022-08-09 20:31:23 +00:00
profiler Symbol unregistration (#3507) 2022-06-15 03:54:59 +00:00
reflect Simple assignments and function definitions (#3572) 2022-07-07 22:31:00 +00:00
shapely Show default per-kind icons for all entries in Component Browser. (#3587) 2022-07-21 23:57:41 +00:00
shortcuts New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
text New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
types Grid view selection and hover (#3622) 2022-08-01 10:54:42 +00:00
web Profiling batch mode (#3428) 2022-05-10 19:34:40 +00:00