Skip to content

Commit e3f1eda

Browse files
committed
chore: update
1 parent a81d1d4 commit e3f1eda

15 files changed

Lines changed: 32 additions & 31 deletions

File tree

‎packages/json-render-ui/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build": "tsdown && vite build --config src/spa/vite.config.ts",
3434
"watch": "tsdown --watch",
3535
"typecheck": "tsc --noEmit",
36-
"storybook": "storybook dev -p 6014 --host 0.0.0.0",
36+
"storybook": "storybook dev -p 6014",
3737
"build-storybook": "storybook build",
3838
"test": "vitest run",
3939
"prepack": "pnpm run build"

‎plugins/a11y/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"build:inject": "vite build --config src/inject/vite.config.ts",
4444
"watch": "tsdown --watch",
4545
"dev": "node bin.mjs",
46-
"storybook": "storybook dev -p 6015 --host 0.0.0.0",
46+
"storybook": "storybook dev -p 6015",
4747
"build-storybook": "storybook build",
4848
"cli:build": "node bin.mjs build --out-dir dist/static",
4949
"demo": "node demo/server.mjs",

‎plugins/code-server/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"build": "tsdown && vite build --config src/spa/vite.config.ts",
4444
"watch": "tsdown --watch",
4545
"typecheck": "tsc --noEmit",
46-
"dev": "vite --config src/spa/vite.config.ts --host 0.0.0.0",
47-
"storybook": "storybook dev -p 6013 --host 0.0.0.0",
46+
"dev": "vite --config src/spa/vite.config.ts",
47+
"storybook": "storybook dev -p 6013",
4848
"build-storybook": "storybook build",
4949
"test": "vitest run",
5050
"prepack": "pnpm run build"

‎plugins/data-inspector/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
],
4242
"scripts": {
4343
"build": "tsdown && vite build --config src/spa/vite.config.ts",
44-
"dev": "vite --config src/spa/vite.config.ts --host 0.0.0.0",
44+
"dev": "vite --config src/spa/vite.config.ts",
4545
"watch": "tsdown --watch",
46-
"storybook": "storybook dev -p 6016 --host 0.0.0.0",
46+
"storybook": "storybook dev -p 6016",
4747
"build-storybook": "storybook build",
4848
"prepack": "pnpm build",
4949
"test": "vitest run",

‎plugins/data-inspector/src/spa/components/DataSourcePanel.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const showDetails = ref(false)
1414
<template>
1515
<div class="px3 py2 border-b border-base flex flex-col gap-2 shrink-0">
1616
<div class="flex items-center gap-2">
17-
<div class="font-semibold text-xs op-fade uppercase tracking-wide select-none">
17+
<div class="font-semibold text-xs op-fade uppercase tracking-wide select-none ws-nowrap">
1818
Data Source
1919
</div>
2020
<DataSourceSelect v-model="wb.sourceId.value" :sources="wb.sources.value" placeholder="Data source" />

‎plugins/data-inspector/src/spa/components/DataSourceSelect.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function iconOf(source: DataSourceMeta | undefined): string {
3333
<span class="truncate font-semibold text-primary">{{ active?.title ?? placeholder ?? 'Data source' }}</span>
3434
</span>
3535
<SelectIcon class="op-fade shrink-0">
36-
<span class="i-ph:caret-down" aria-hidden="true" />
36+
<div class="i-ph:caret-down" aria-hidden="true" />
3737
</SelectIcon>
3838
</SelectTrigger>
3939
<SelectPortal>
@@ -50,7 +50,7 @@ function iconOf(source: DataSourceMeta | undefined): string {
5050
class="text-sm color-base py-1.5 pl-2 pr-2 outline-none rounded-md flex gap-2 cursor-pointer select-none transition items-start relative data-[highlighted]:bg-active"
5151
>
5252
<DisplayIconifyRemoteIcon :icon="iconOf(source)" class="shrink-0 mt-0.5 w-3.5 h-3.5 color-active [&_svg]:h-full [&_svg]:w-full" aria-hidden="true" />
53-
<span class="flex flex-col min-w-0 flex-1">
53+
<span class="flex flex-col min-w-0 flex-1 of-hidden">
5454
<span class="flex items-center gap-1.5">
5555
<span class="truncate font-medium">{{ source.title }}</span>
5656
<span v-if="source.static" class="shrink-0 text-10px op-fade border border-base rounded px-1">static</span>

‎plugins/data-inspector/src/spa/components/EditPanel.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function applyDelete(): void {
232232
</script>
233233

234234
<template>
235-
<div class="flex flex-col h-full min-h-0 bg-base border-l border-base w-85">
235+
<div class="flex flex-col h-full min-h-0 bg-base border-l border-base w-100">
236236
<div class="flex items-center gap-2 px3 py2 border-b border-base select-none">
237237
<span class="i-ph:pencil-simple-duotone color-active" />
238238
<div class="font-semibold text-xs op-fade uppercase tracking-wide">
@@ -398,7 +398,7 @@ function applyDelete(): void {
398398
@click="applyDelete"
399399
@blur="confirmingDelete = false"
400400
>
401-
<span>{{ confirmingDelete ? 'Really delete?' : 'Delete' }}</span>
401+
<span>{{ confirmingDelete ? 'Confirm Delete?' : 'Delete Key' }}</span>
402402
</Button>
403403
</section>
404404
</div>

‎plugins/data-inspector/src/spa/components/QueryPanel.vue‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function copyQuery(): void {
3636
<span class="i-ph:question-duotone" />
3737
</a>
3838
<div class="flex-auto" />
39+
<!-- TODO: move auto rerun check here. -->
3940
<ActionIconButton
4041
v-if="wb.query.value"
4142
class="text-sm"

‎plugins/data-inspector/src/spa/components/ResultViewer.vue‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,29 @@ function copyResult(): void {
8787

8888
<template>
8989
<div class="flex flex-col h-full min-h-0">
90-
<div class="flex items-center gap-3 px-3 py-1.5 border-b border-base min-h-9 text-xs color-muted font-mono tabular-nums" :class="{ 'op-fade': statsStale }">
90+
<div class="flex items-center gap-3 px-3 py-1.5 border-b border-base min-h-9 text-xs ws-nowrap color-muted font-mono tabular-nums flex-wrap" :class="{ 'op-fade': statsStale }">
9191
<template v-if="stats">
9292
<span class="flex items-center gap-1"><span class="op50">jora</span> <DisplayDuration :ms="stats.queryMs" colorize /></span>
93-
<div class="h-full border-r border-base" />
94-
<span class="flex items-center gap-1"><span class="op50">normalize</span> <DisplayDuration :ms="stats.normalize.ms" colorize /></span>
95-
<div class="h-full border-r border-base" />
93+
<div class="h-5 border-r border-base" />
94+
<span class="flex items-center gap-1"><span class="op50">norm</span> <DisplayDuration :ms="stats.normalize.ms" colorize /></span>
95+
<div class="h-5 border-r border-base" />
9696
<span class="flex items-center gap-1"><span class="op50">rpc</span> <DisplayDuration :ms="stats.rpcMs" colorize /></span>
97-
<div class="h-full border-r border-base" />
98-
<span class="flex items-center gap-1"><span class="op50">payload</span> <DisplayBytes :bytes="stats.payloadBytes" colorize /></span>
99-
<div class="h-full border-r border-base" />
97+
<div class="h-5 border-r border-base" />
98+
<span class="flex items-center gap-1"><DisplayBytes :bytes="stats.payloadBytes" colorize /></span>
99+
<div class="h-5 border-r border-base" />
100100
<span>{{ stats.normalize.nodes }} <span class="op50">nodes</span></span>
101101
<template v-if="stats.normalize.refs">
102-
<div class="h-full border-r border-base" />
102+
<div class="h-5 border-r border-base" />
103103
<span>{{ stats.normalize.refs }} <span class="op50">refs</span></span>
104104
</template>
105105
<DisplayBadge v-if="stats.normalize.truncatedEntries || stats.normalize.truncatedDepth" :color="12" text="truncated" />
106106
<template v-if="lastRunAt">
107-
<div class="h-full border-r border-base" />
108-
<span class="flex items-center gap-1"><span class="op50">ran</span> <DisplayDate :date="lastRunAt" live /></span>
107+
<div class="h-5 border-r border-base" />
108+
<span class="flex items-center gap-1"><DisplayDate :date="lastRunAt" live /></span>
109109
</template>
110110
</template>
111111
<span v-else class="op-fade select-none">no query run yet</span>
112-
<div class="flex-1" />
112+
<div class="flex-auto" />
113113
<span v-if="running" class="flex items-center gap-1.5 color-faint">
114114
<span class="i-ph:circle-notch animate-spin" />
115115
running

‎plugins/data-inspector/src/spa/components/SavedQueriesPanel.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ function filterBadges(entry: Query): FilterBadge[] {
110110
</ActionButton>
111111
</div>
112112

113-
<div v-if="entries.length" class="flex-1 overflow-auto min-h-0 max-h-200 grid grid-cols-[repeat(auto-fit,minmax(20rem,1fr))] gap-2">
113+
<div v-if="entries.length" class="flex-1 overflow-auto min-h-0 max-h-80 grid grid-cols-[repeat(auto-fit,minmax(15rem,1fr))] gap-1">
114114
<div
115115
v-for="entry in entries"
116116
:key="entry.key"
117-
class="group flex items-center gap-2 px-2 py-1.5 border border-base rounded-lg hover:bg-active cursor-pointer"
117+
class="group flex items-center gap-2 px1.5 py-1 border border-base rounded hover:bg-active cursor-pointer"
118118
:title="entry.recipe.description ?? entry.recipe.query"
119119
@click="emit('load', entry.recipe)"
120120
>

0 commit comments

Comments
 (0)