mirror of
https://github.com/stablyai/orca.git
synced 2026-10-12 08:02:37 +00:00
docs(titlebar): explain ungated Search button and sidebar-toggle class reuse
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -864,6 +864,13 @@ function App(): React.JSX.Element {
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
) : null}
|
||||
{/* Why: always rendered (not gated on showSidebar) because the
|
||||
worktree palette is global — it mirrors the ⌘J/Ctrl+Shift+J
|
||||
shortcut which is live from every view including Settings and
|
||||
Landing. The `sidebar-toggle` class is the shared titlebar
|
||||
icon-button style used by back/forward/sidebar-toggle/right-
|
||||
sidebar neighbors; the name is historical and applies to any
|
||||
titlebar icon button, not only sidebar toggles. */}
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user