component: Component crate cleanup (#29967)
This PR further organizes and documents the component crate. It: - Simplifies the component registry - Gives access to `ComponentMetadata` sooner - Enables lookup by id in preview extension implementations (`ComponentId` -> `ComponentMetadata`) - Should slightly improve the performance of ComponentPreview It also brings component statuses to the Component trait:    Release Notes: - N/A
This commit is contained in:
parent
377909a646
commit
c5d8407df4
7 changed files with 627 additions and 500 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -3237,6 +3237,7 @@ dependencies = [
|
|||
"gpui",
|
||||
"linkme",
|
||||
"parking_lot",
|
||||
"strum 0.27.1",
|
||||
"theme",
|
||||
"workspace-hack",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue