enso/lib/rust
Ilya Bogdanov 8c504bd4b0
Grid View with variable column widths (#3651)
[ci no changelog needed]
[Task link](https://www.pivotaltracker.com/story/show/182955595)

This PR implements variable column widths in the new Grid View component. We need this feature to quickly implement various parts of the UI, including the breadcrumbs panel of the component browser.

There are two ways to change the width of the specific column:
1. "From the outside", using the `set_column_width` endpoint of the Grid View
2. "From the inside", using the `override_column_width` endpoint of the EntryFrp.

Both ways work similarly, but the latter is helpful for our breadcrumbs implementation, as it allows for entry to decide on the width of the column by its content.

See the screencast with three grid views. The top-left one has every even column shrunk by GridView API. Every grid view has a second column extended by EntryFrp API.


https://user-images.githubusercontent.com/6566674/185060985-7b7df076-c659-41fa-977a-22875493f8d4.mp4
2022-08-23 13:28:00 +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 Grid View with variable column widths (#3651) 2022-08-23 13:28:00 +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