Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run Query link
  • Loading branch information
N2D4 committed Feb 2, 2026
commit 034a6fa2951eda872c05a4abb3221f323092943d
5 changes: 3 additions & 2 deletions apps/dashboard/src/components/commands/run-query.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
import { useVirtualizer } from "@tanstack/react-virtual";
import { memo, useCallback, useMemo, useRef, useState } from "react";
import { CmdKPreviewProps } from "../cmdk-commands";
import { Link } from "../link";

type RowData = Record<string, unknown>;

Expand Down Expand Up @@ -460,13 +461,13 @@ const RunQueryPreviewInner = memo(function RunQueryPreviewInner({
{rows.length.toLocaleString()} row{rows.length !== 1 ? "s" : ""}
</span>
<SimpleTooltip tooltip="Open Queries page to save">
<a
<Link
href={`/projects/${encodeURIComponent(adminApp.projectId)}/analytics/queries`}
className="flex items-center gap-1.5 px-2 py-1 rounded text-[10px] font-medium text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors hover:transition-none"
>
<FloppyDiskIcon className="h-3 w-3" />
Save Query
</a>
</Link>
</SimpleTooltip>
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
</div>

Expand Down
Loading