mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 12:10:45 +03:00
fix(app): keep sidebar search muted on hover and show its shortcut (#60046)
Co-authored-by: iamdavidhill <1879069+iamdavidhill@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
cf69a0c53e
commit
825167351e
@@ -498,7 +498,7 @@ export function Titlebar(props: { verticalTabs?: { mount?: HTMLElement } }) {
|
||||
type="button"
|
||||
data-titlebar-tab-action
|
||||
data-action="vertical-tabs-search"
|
||||
class="group flex h-7 w-full shrink-0 items-center gap-1.5 rounded-[6px] ps-1.5 pe-2 text-[13px] leading-4 text-v2-text-text-faint hover:text-v2-text-text-base"
|
||||
class="group flex h-7 w-full shrink-0 items-center gap-1.5 rounded-[6px] ps-1.5 pe-2 text-[13px] leading-4 text-v2-text-text-faint"
|
||||
onClick={() => command.trigger("sessions.search")}
|
||||
>
|
||||
<Icon name="magnifying-glass" class="shrink-0" />
|
||||
@@ -529,6 +529,7 @@ export function Titlebar(props: { verticalTabs?: { mount?: HTMLElement } }) {
|
||||
id: "sessions.search",
|
||||
title: language.t("command.session.search"),
|
||||
category: language.t("command.category.session"),
|
||||
keybind: "mod+shift+f",
|
||||
onSelect: async () => {
|
||||
const { DialogSessionSearch } = await import("@/shell/commands/session-search")
|
||||
void dialog.show(() => <DialogSessionSearch />)
|
||||
|
||||
Reference in New Issue
Block a user