mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 16:41:45 +03:00
c6835d2de7
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). |
||
---|---|---|
.. | ||
data | ||
debug | ||
test | ||
async.rs | ||
channel.rs | ||
clone.rs | ||
collections.rs | ||
data.rs | ||
debug.rs | ||
env.rs | ||
fail.rs | ||
future.rs | ||
leak.rs | ||
lib.rs | ||
macros.rs | ||
option.rs | ||
phantom.rs | ||
rc.rs | ||
reference.rs | ||
result.rs | ||
serde.rs | ||
smallvec.rs | ||
std_reexports.rs | ||
string.rs | ||
switch.rs | ||
test.rs | ||
tp.rs | ||
vec.rs | ||
wrapper.rs |