refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

@@ -728,12 +728,8 @@ export function PaneWorkbench({
>
{renderPane(pane, {
active,
// A single conversation owns its header, alongside its preview tabs.
// Multiple conversation panes still share the workbench toolbar.
headerPortalTarget: chrome && displayedPanes.length > 1 ? headerPortalTarget : undefined,
composerPortalTarget: chrome ? composerPortalTarget : undefined,
// A single chat includes the shared composer in its visual frame.
// Split chats keep navigation centered within their own pane.
navigationFrame: displayedPanes.length === 1 ? navigationFrame : undefined,
headerActions,
})}