chore: generate
This commit is contained in:
@@ -89,12 +89,24 @@ export function Titlebar() {
|
|||||||
<Show when={mac()}>
|
<Show when={mac()}>
|
||||||
<div class="w-[72px] h-full shrink-0" data-tauri-drag-region />
|
<div class="w-[72px] h-full shrink-0" data-tauri-drag-region />
|
||||||
<div class="xl:hidden w-10 shrink-0 flex items-center justify-center">
|
<div class="xl:hidden w-10 shrink-0 flex items-center justify-center">
|
||||||
<IconButton icon="menu" variant="ghost" class="size-8 rounded-md" onClick={layout.mobileSidebar.toggle} aria-label="Toggle menu" />
|
<IconButton
|
||||||
|
icon="menu"
|
||||||
|
variant="ghost"
|
||||||
|
class="size-8 rounded-md"
|
||||||
|
onClick={layout.mobileSidebar.toggle}
|
||||||
|
aria-label="Toggle menu"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
<Show when={!mac()}>
|
<Show when={!mac()}>
|
||||||
<div class="xl:hidden w-[48px] shrink-0 flex items-center justify-center">
|
<div class="xl:hidden w-[48px] shrink-0 flex items-center justify-center">
|
||||||
<IconButton icon="menu" variant="ghost" class="size-8 rounded-md" onClick={layout.mobileSidebar.toggle} aria-label="Toggle menu" />
|
<IconButton
|
||||||
|
icon="menu"
|
||||||
|
variant="ghost"
|
||||||
|
class="size-8 rounded-md"
|
||||||
|
onClick={layout.mobileSidebar.toggle}
|
||||||
|
aria-label="Toggle menu"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
<TooltipKeybind
|
<TooltipKeybind
|
||||||
|
|||||||
@@ -1573,7 +1573,12 @@ export default function Layout(props: ParentProps) {
|
|||||||
keybind={command.keybind("session.archive")}
|
keybind={command.keybind("session.archive")}
|
||||||
gutter={8}
|
gutter={8}
|
||||||
>
|
>
|
||||||
<IconButton icon="archive" variant="ghost" onClick={() => archiveSession(props.session)} aria-label="Archive session" />
|
<IconButton
|
||||||
|
icon="archive"
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => archiveSession(props.session)}
|
||||||
|
aria-label="Archive session"
|
||||||
|
/>
|
||||||
</TooltipKeybind>
|
</TooltipKeybind>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1749,7 +1754,13 @@ export default function Layout(props: ParentProps) {
|
|||||||
>
|
>
|
||||||
<DropdownMenu open={menuOpen()} onOpenChange={setMenuOpen}>
|
<DropdownMenu open={menuOpen()} onOpenChange={setMenuOpen}>
|
||||||
<Tooltip value={language.t("common.moreOptions")} placement="top">
|
<Tooltip value={language.t("common.moreOptions")} placement="top">
|
||||||
<DropdownMenu.Trigger as={IconButton} icon="dot-grid" variant="ghost" class="size-6 rounded-md" aria-label="More options" />
|
<DropdownMenu.Trigger
|
||||||
|
as={IconButton}
|
||||||
|
icon="dot-grid"
|
||||||
|
variant="ghost"
|
||||||
|
class="size-6 rounded-md"
|
||||||
|
aria-label="More options"
|
||||||
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<DropdownMenu.Portal>
|
<DropdownMenu.Portal>
|
||||||
<DropdownMenu.Content
|
<DropdownMenu.Content
|
||||||
@@ -2106,7 +2117,13 @@ export default function Layout(props: ParentProps) {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<IconButton icon="plus" variant="ghost" size="large" onClick={chooseProject} aria-label="Open project" />
|
<IconButton
|
||||||
|
icon="plus"
|
||||||
|
variant="ghost"
|
||||||
|
size="large"
|
||||||
|
onClick={chooseProject}
|
||||||
|
aria-label="Open project"
|
||||||
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
<DragOverlay>
|
<DragOverlay>
|
||||||
@@ -2120,7 +2137,13 @@ export default function Layout(props: ParentProps) {
|
|||||||
title={language.t("sidebar.settings")}
|
title={language.t("sidebar.settings")}
|
||||||
keybind={command.keybind("settings.open")}
|
keybind={command.keybind("settings.open")}
|
||||||
>
|
>
|
||||||
<IconButton icon="settings-gear" variant="ghost" size="large" onClick={openSettings} aria-label="Settings" />
|
<IconButton
|
||||||
|
icon="settings-gear"
|
||||||
|
variant="ghost"
|
||||||
|
size="large"
|
||||||
|
onClick={openSettings}
|
||||||
|
aria-label="Settings"
|
||||||
|
/>
|
||||||
</TooltipKeybind>
|
</TooltipKeybind>
|
||||||
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value={language.t("sidebar.help")}>
|
<Tooltip placement={sidebarProps.mobile ? "bottom" : "right"} value={language.t("sidebar.help")}>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|||||||
Reference in New Issue
Block a user