enso/lib/rust/prelude/src
Mateusz Czapliński c6835d2de7
Show custom icons in Component Browser (#3606)
Show custom icons in Component Browser for entries that have a non-empty `Icon` section in their docs with the section's body containing a name of a predefined icon.

https://www.pivotaltracker.com/story/show/182584336

#### Visuals

A screenshot of a couple custom icons in the Component Browser:

<img width="346" alt="Screenshot 2022-07-27 at 15 55 33" src="https://user-images.githubusercontent.com/273837/181265249-d57f861f-8095-4933-9ef6-e62644e11da3.png">

# Important Notes
- The PR assigns icon names to four items in the standard library, but only three of them are shown in the Component Browser because of [a parsing bug in the Engine](https://www.pivotaltracker.com/story/show/182781673).
- Icon names are assigned only to four items in the standard library because only two currently predefined icons match entries in the currently defined Virtual Component Groups. Adjusting the definitions of icons and Virtual Component Groups is covered by [a different task](https://www.pivotaltracker.com/story/show/182584311).
- A bug in the documentation of the Enso protocol message `DocSection` is fixed. A `text` field in the `Tag` interface is renamed to `body` (this is the field name used in Engine).
2022-08-01 13:41:04 +00:00
..
data Code blocks (#3585) 2022-07-20 16:53:20 +02:00
debug Multi-frame shader compilation (#3378) 2022-04-12 17:56:38 +02:00
test Linting codebase 2022-03-10 05:32:33 +01:00
async.rs Linting codebase 2022-03-10 05:32:33 +01:00
channel.rs Linting codebase 2022-03-10 05:32:33 +01:00
clone.rs Allowing EnsoGL mouse to interact with more than 4096 sprites (#3369) 2022-03-30 04:50:55 +02:00
collections.rs Linting codebase 2022-03-10 05:32:33 +01:00
data.rs Linting codebase 2022-03-10 05:32:33 +01:00
debug.rs Multi-frame shader compilation (#3378) 2022-04-12 17:56:38 +02:00
env.rs Parametrize font in List View via styles (#3427) 2022-05-04 10:44:57 +00:00
fail.rs Linting codebase 2022-03-10 05:32:33 +01:00
future.rs Linting codebase 2022-03-10 05:32:33 +01:00
leak.rs While testing, developers should not have to wait for each crate to be re-built. (#3168) 2021-11-30 12:27:50 +01:00
lib.rs Parser: Transpile Rust AST types to Java types (#3555) 2022-07-07 04:46:42 +02:00
macros.rs Show default per-kind icons for all entries in Component Browser. (#3587) 2022-07-21 23:57:41 +00:00
option.rs Linting codebase 2022-03-10 05:32:33 +01:00
phantom.rs Placement of newly opened Component Browser when nodes are selected (#3361) 2022-03-31 20:17:04 +00:00
rc.rs Linting codebase 2022-03-10 05:32:33 +01:00
reference.rs Initial parser implementation in Rust (#3341) 2022-05-17 05:13:20 +02:00
result.rs Linting codebase 2022-03-10 05:32:33 +01:00
serde.rs Show custom icons in Component Browser (#3606) 2022-08-01 13:41:04 +00:00
smallvec.rs Linting codebase 2022-03-10 05:32:33 +01:00
std_reexports.rs Parametrize font in List View via styles (#3427) 2022-05-04 10:44:57 +00:00
string.rs Hierarchical Action List vel Component List. (#3501) 2022-06-03 15:06:31 +00:00
switch.rs Refactoring: merge utils into prelude; merge workspaces. (#3151) 2021-11-10 14:36:08 +01:00
test.rs Linting codebase 2022-03-10 05:32:33 +01:00
tp.rs Linting codebase 2022-03-10 05:32:33 +01:00
vec.rs Code blocks (#3585) 2022-07-20 16:53:20 +02:00
wrapper.rs Linting codebase 2022-03-10 05:32:33 +01:00