Show first line of the docs when hovering a component name#6609
Conversation
|
Part of Haven't looked at anything yet, but this should also drag in the opt-in archetype field documentation we have via attribute ( ( |
|
|
1f407e2 to
70e9685
Compare
|
dynamic lookup via archetype name would be preferable anyways I think! The more we can pass |
70e9685 to
fb97613
Compare
fb97613 to
01e49f2
Compare
Wumpf
left a comment
There was a problem hiding this comment.
Let's not stack the crate hierarchy deeper when we don't have to!
As for name: re_types_registry is quite at odds with component type registration in the store. I'd rather call it by what it does re_types_meta_info or something
|
(resolved merge conflicts) |
What
Now that we can override all kinds of components in the UI, we should also take care to explain them to the user.
Previously all the user had to go on was the name. With this PR they get the first line of the docstring for the component, plus a link to the full docs on our website.
This required adding a new (generated) reflection API.
Best reviewed commit-by-commit.
Related
CommonMarkVieweradds empty veritcal space around it lampsitter/egui_commonmark#54Later PR
ArchetypeFieldInfointo thereflectionmodule #6616Checklist
mainbuild: rerun.io/viewernightlybuild: rerun.io/viewerTo run all checks from
main, comment on the PR with@rerun-bot full-check.