|
|
@@ -519,7 +519,15 @@ export default function Layout(props: ParentProps) {
|
|
|
</A>
|
|
|
</Tooltip>
|
|
|
<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">
|
|
|
- <Tooltip placement={props.mobile ? "bottom" : "right"} value="Archive session">
|
|
|
+ <Tooltip
|
|
|
+ placement={props.mobile ? "bottom" : "right"}
|
|
|
+ value={
|
|
|
+ <div class="flex items-center gap-2">
|
|
|
+ <span>Archive session</span>
|
|
|
+ <span class="text-icon-base text-12-medium">{command.keybind("session.archive")}</span>
|
|
|
+ </div>
|
|
|
+ }
|
|
|
+ >
|
|
|
<IconButton icon="archive" variant="ghost" onClick={() => archiveSession(props.session)} />
|
|
|
</Tooltip>
|
|
|
</div>
|
|
|
@@ -584,7 +592,15 @@ export default function Layout(props: ParentProps) {
|
|
|
</DropdownMenu.Content>
|
|
|
</DropdownMenu.Portal>
|
|
|
</DropdownMenu>
|
|
|
- <Tooltip placement="top" value="New session">
|
|
|
+ <Tooltip
|
|
|
+ placement="top"
|
|
|
+ value={
|
|
|
+ <div class="flex items-center gap-2">
|
|
|
+ <span>New session</span>
|
|
|
+ <span class="text-icon-base text-12-medium">{command.keybind("session.new")}</span>
|
|
|
+ </div>
|
|
|
+ }
|
|
|
+ >
|
|
|
<IconButton as={A} href={`${slug()}/session`} icon="plus-small" variant="ghost" />
|
|
|
</Tooltip>
|
|
|
</div>
|