mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-03 16:02:12 +00:00
* feat: go to referenced row from foreign-keyed cells in the database manager Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157Kw1ukbQo7eZnmyM63G4t * fix: pin foreign keys to their table and escape backslashes on snowflake Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157Kw1ukbQo7eZnmyM63G4t * fix: address review on foreign key navigation (stale fetch, qualifiers, chip) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157Kw1ukbQo7eZnmyM63G4t * fix: unicode literals on sql server and hide unreachable foreign key targets Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157Kw1ukbQo7eZnmyM63G4t --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
24 lines
658 B
Svelte
24 lines
658 B
Svelte
<script lang="ts">
|
|
import { ArrowRight } from 'lucide-svelte'
|
|
import Button from './common/button/Button.svelte'
|
|
|
|
type Props = {
|
|
targetTable: string
|
|
targetColumn: string
|
|
onGoToRow: () => void
|
|
}
|
|
let { targetTable, targetColumn, onGoToRow }: Props = $props()
|
|
</script>
|
|
|
|
<div
|
|
class="flex flex-col gap-1.5 rounded-md border bg-surface-tertiary p-2 text-xs shadow-md"
|
|
data-testid="db-fk-tooltip"
|
|
>
|
|
<div class="text-secondary">
|
|
References <span class="font-mono text-primary">{targetTable}.{targetColumn}</span>
|
|
</div>
|
|
<Button unifiedSize="xs" variant="default" startIcon={{ icon: ArrowRight }} onClick={onGoToRow}>
|
|
Go to row
|
|
</Button>
|
|
</div>
|