GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(desktop): missing keybinds in tooltips · ideabrian/opencode@5420702

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/app/src/pages
    • layout.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/app/src/pages/layout.tsx‎

Copy file name to clipboardExpand all lines: packages/app/src/pages/layout.tsx
+18-2Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,15 @@ export default function Layout(props: ParentProps) {
519519
</A>
520520
</Tooltip>
521521
<div class="hidden group-hover/session:flex group-active/session:flex group-focus-within/session:flex text-text-base gap-1 items-center absolute top-1 right-1">
522-
<Tooltip placement={props.mobile ? "bottom" : "right"} value="Archive session">
522+
<Tooltip
523+
placement={props.mobile ? "bottom" : "right"}
524+
value={
525+
<div class="flex items-center gap-2">
526+
<span>Archive session</span>
527+
<span class="text-icon-base text-12-medium">{command.keybind("session.archive")}</span>
528+
</div>
529+
}
530+
>
523531
<IconButton icon="archive" variant="ghost" onClick={() => archiveSession(props.session)} />
524532
</Tooltip>
525533
</div>
@@ -584,7 +592,15 @@ export default function Layout(props: ParentProps) {
584592
</DropdownMenu.Content>
585593
</DropdownMenu.Portal>
586594
</DropdownMenu>
587-
<Tooltip placement="top" value="New session">
595+
<Tooltip
596+
placement="top"
597+
value={
598+
<div class="flex items-center gap-2">
599+
<span>New session</span>
600+
<span class="text-icon-base text-12-medium">{command.keybind("session.new")}</span>
601+
</div>
602+
}
603+
>
588604
<IconButton as={A} href={`${slug()}/session`} icon="plus-small" variant="ghost" />
589605
</Tooltip>
590606
</div>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.